* drivers/scsi/be2iscsi/be_main.c:3168: possible bad expression ?
@ 2015-05-20 16:19 David Binderman
0 siblings, 0 replies; only message in thread
From: David Binderman @ 2015-05-20 16:19 UTC (permalink / raw)
To: jayamohan.kallickal, linux-scsi
Hello there,
drivers/scsi/be2iscsi/be_main.c:3168:18: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
WARN_ON(!length> 0);
^
Maybe better code
WARN_ON(length == 0);
Regards
David Binderman
^
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-05-20 16:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-20 16:19 drivers/scsi/be2iscsi/be_main.c:3168: possible bad expression ? David Binderman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.