[SCSI] fcoe: libfcoe: extra semicolon in CHECK_LOGGING macros causes compile error
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 25 Aug 2009 20:58:42 +0000 (13:58 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 5 Sep 2009 14:47:34 +0000 (09:47 -0500)
commita69b06bc5e7b153043db8984564b731f99e014fc
treedc80fe815f5045fb01414fc352c237dbcee4fa4f
parentcd305ce41be1615dfc72892e0642c6b880f58d95
[SCSI] fcoe: libfcoe: extra semicolon in CHECK_LOGGING macros causes compile error

If using code like this:
if (foo)
FCOE_DBG("foo\n);
else
FCOE_DBG("bar\n");

one gets compile errors because FCOE_DBG expands with its own semicolon,
making one too many for the if-statement.

Remove the offending semicolon in fcoe.h and also a similar case
in libfcoe.c.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/fcoe.h
drivers/scsi/fcoe/libfcoe.c