Skip to content

Commit

Permalink
staging/keucr: don't use SUCCESS as macro name
Browse files Browse the repository at this point in the history
Don't use "SUCCESS" as a macro name.  This collides with SCSI's macro
of the same name, but with a different value:

drivers/staging/keucr/smcommon.h:9:9: warning: preprocessor token SUCCESS redefined
include/scsi/scsi.h:463:9: this was the original definition

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Randy Dunlap authored and Greg Kroah-Hartman committed May 10, 2011
1 parent 7fb71ad commit fb03d4f
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 84 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/keucr/smcommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/***************************************************************************
Define Difinetion
***************************************************************************/
#define SUCCESS 0x0000 /* SUCCESS */
#define SMSUCCESS 0x0000 /* SUCCESS */
#define ERROR 0xFFFF /* ERROR */
#define CORRECT 0x0001 /* CORRECTABLE */

Expand Down
Loading

0 comments on commit fb03d4f

Please sign in to comment.