Skip to content

Commit

Permalink
Staging: ced1401: Patch fixes missing parentheses in macro definitions.
Browse files Browse the repository at this point in the history
Patch fixes missing parentheses in macro definitions.

Signed-off-by: Elena Ufimtseva <ufimtseva@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Elena Ufimtseva authored and Greg Kroah-Hartman committed May 16, 2013
1 parent 6dea0da commit c33033d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/ced1401/use1401.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifdef _IS_WINDOWS_
#ifndef U14_NOT_DLL
#ifdef DLL_USE1401
#define U14API(retType) retType DllExport __stdcall
#define U14API(retType) (retType DllExport __stdcall)
#else
#define U14API(retType) retType DllImport __stdcall
#define U14API(retType) (retType DllImport __stdcall)
#endif
#endif

Expand All @@ -36,7 +36,7 @@
#ifdef _QT
#ifndef U14_NOT_DLL
#undef U14API
#define U14API(retType) retType __declspec(dllimport) __stdcall
#define U14API(retType) (retType __declspec(dllimport) __stdcall)
#endif
#undef U14LONG
#define U14LONG int
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/ced1401/use14_ioc.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#define U14_SENDSTRING CTL_CODE(FILE_DEVICE_CED1401, \
FNNUMBASE+2, \
METHOD_BUFFERED, \
FILE_ANY_ACCESS
FILE_ANY_ACCESS)

#define U14_RESET1401 CTL_CODE(FILE_DEVICE_CED1401, \
FNNUMBASE+3, \
Expand Down

0 comments on commit c33033d

Please sign in to comment.