linux_old1/drivers/scsi/lpfc
Stephen Boyd b11d48e898 [SCSI] lpfc: Silence DEBUG_STRICT_USER_COPY_CHECKS=y warning
Enabling DEBUG_STRICT_USER_COPY_CHECKS causes the following
warning:

In file included from arch/x86/include/asm/uaccess.h:573,
                 from include/linux/uaccess.h:5,
                 from include/linux/highmem.h:7,
                 from include/linux/pagemap.h:10,
                 from include/linux/blkdev.h:12,
                 from drivers/scsi/lpfc/lpfc_debugfs.c:21:
In function 'copy_from_user':
arch/x86/include/asm/uaccess_64.h:65:
warning: call to 'copy_from_user_overflow' declared with
attribute warning: copy_from_user() buffer size is not provably
correct

presumably due to buf_size being signed causing GCC to fail to
see that buf_size can't become negative.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2011-06-29 10:40:35 -05:00
..
Makefile [SCSI] lpfc 8.3.22: Update Copyright Dates 2011-03-23 11:36:14 -05:00
lpfc.h [SCSI] lpfc 8.3.24: Extend BSG infrastructure and add link diagnostics 2011-05-26 22:49:39 -05:00
lpfc_attr.c [SCSI] lpfc 8.3.24: Add request-firmware support 2011-05-26 22:49:37 -05:00
lpfc_bsg.c [SCSI] lpfc 8.3.24: Extend BSG infrastructure and add link diagnostics 2011-05-26 22:49:39 -05:00
lpfc_bsg.h [SCSI] lpfc 8.3.24: Extend BSG infrastructure and add link diagnostics 2011-05-26 22:49:39 -05:00
lpfc_compat.h [SCSI] lpfc 8.3.16: SLI Additions, updates, and code cleanup 2010-08-06 12:09:24 -05:00
lpfc_crtn.h [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_ct.c [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_debugfs.c [SCSI] lpfc: Silence DEBUG_STRICT_USER_COPY_CHECKS=y warning 2011-06-29 10:40:35 -05:00
lpfc_debugfs.h [SCSI] lpfc 8.3.23: Debugfs enhancements 2011-05-01 11:01:52 -05:00
lpfc_disc.h [SCSI] lpfc 8.3.20: Updates to FC discovery commands 2010-12-21 12:37:24 -06:00
lpfc_els.c [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_hbadisc.c [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_hw.h [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_hw4.h [SCSI] lpfc 8.3.24: Extend BSG infrastructure and add link diagnostics 2011-05-26 22:49:39 -05:00
lpfc_init.c [SCSI] lpfc 8.3.24: Extend BSG infrastructure and add link diagnostics 2011-05-26 22:49:39 -05:00
lpfc_logmsg.h [SCSI] lpfc 8.3.19: Fix critical errors and crashes 2010-12-21 12:23:58 -06:00
lpfc_mbox.c [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_mem.c [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_nl.h Fix common misspellings 2011-03-31 11:26:23 -03:00
lpfc_nportdisc.c [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_scsi.c [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_scsi.h Fix common misspellings 2011-03-31 11:26:23 -03:00
lpfc_sli.c [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_sli.h [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_sli4.h [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_version.h [SCSI] lpfc 8.3.23: Update driver version to 8.3.23 2011-05-01 11:11:09 -05:00
lpfc_vport.c [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_vport.h [SCSI] lpfc 8.2.8 v2 : Add statistical reporting control and additional fc vendor events 2008-10-13 09:28:57 -04:00