android_kernel_lge_bullhead/drivers/scsi/be2iscsi
Tim Gardner de3cae1cb2 be2iscsi: Fix bogus WARN_ON length check
commit dd29dae00d39186890a5eaa2fe4ad8768bfd41a9 upstream.

drivers/scsi/be2iscsi/be_main.c: In function 'be_sgl_create_contiguous':
drivers/scsi/be2iscsi/be_main.c:3187:18: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
  WARN_ON(!length > 0);

gcc version 5.2.1

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Cc: Jayamohan Kallickal <jayamohan.kallickal@avagotech.com>
Cc: Minh Tran <minh.tran@avagotech.com>
Cc: John Soni Jose <sony.john-n@avagotech.com>
Cc: "James E.J. Bottomley" <JBottomley@odin.com>
Reported-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Manoj Kumar <manoj@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2016-08-27 11:40:39 +02:00
..
Kconfig [SCSI] be2iscsi: select ISCSI_BOOT_SYSFS 2010-08-06 09:41:59 -05:00
Makefile
be.h [SCSI] be2scsi: Update copyright dates to 2013 2013-05-02 08:16:45 -07:00
be_cmds.c [SCSI] be2scsi: Update copyright dates to 2013 2013-05-02 08:16:45 -07:00
be_cmds.h [SCSI] be2scsi: Update copyright dates to 2013 2013-05-02 08:16:45 -07:00
be_iscsi.c [SCSI] be2scsi: Update copyright dates to 2013 2013-05-02 08:16:45 -07:00
be_iscsi.h [SCSI] be2scsi: Update copyright dates to 2013 2013-05-02 08:16:45 -07:00
be_main.c be2iscsi: Fix bogus WARN_ON length check 2016-08-27 11:40:39 +02:00
be_main.h [SCSI] be2iscsi: Bump the driver version to 10.0.467.0 2013-05-02 08:22:19 -07:00
be_mgmt.c be2iscsi: check ip buffer before copying 2014-10-30 09:35:10 -07:00
be_mgmt.h [SCSI] be2scsi: Update copyright dates to 2013 2013-05-02 08:16:45 -07:00