drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2021-04-12 Thread kernel test robot
ostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in >> argument

Re: [PATCH] drivers: scsi: Remove duplicate include of blkdev.h

2021-03-22 Thread Can Guo
On 2021-03-22 20:28, Wan Jiabing wrote: linux/blkdev.h has been included at line 18, so remove the duplicate include at line 27. Signed-off-by: Wan Jiabing --- drivers/scsi/ufs/ufshcd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c

[PATCH] drivers: scsi: Remove duplicate include of blkdev.h

2021-03-22 Thread Wan Jiabing
linux/blkdev.h has been included at line 18, so remove the duplicate include at line 27. Signed-off-by: Wan Jiabing --- drivers/scsi/ufs/ufshcd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index c86760788c72..e8aa7de17d0a 100644

Re: [PATCH] drivers: scsi: qla4xxx: Fix a spello in the file qla4xxx/ql4_os.c

2021-03-15 Thread Martin K. Petersen
On Mon, 1 Mar 2021 18:47:36 +0530, Bhaskar Chowdhury wrote: > s/circuting/circuiting/ Applied to 5.13/scsi-queue, thanks! [1/1] drivers: scsi: qla4xxx: Fix a spello in the file qla4xxx/ql4_os.c https://git.kernel.org/mkp/scsi/c/014ace23a5ec -- Martin K. Petersen Oracle Li

drivers/scsi/ufs/ufs-exynos.c:1268:34: warning: unused variable 'exynos_ufs_of_match'

2021-03-15 Thread kernel test robot
COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/scsi/ufs/ufs-exynos.c:1268:34: warning: unused variable >> 'exynos_ufs_of_match&#x

drivers/scsi/qedi/qedi_fw.c:1064:45: sparse: sparse: incorrect type in assignment (different base types)

2021-03-15 Thread kernel test robot
ernel test robot "sparse warnings: (new ones prefixed by >>)" drivers/scsi/qedi/qedi_fw.c:284:35: sparse: sparse: cast from restricted __le32 drivers/scsi/qedi/qedi_fw.c:287:37: sparse: sparse: restricted __le32 degrades to integer drivers/scsi/qedi/qedi_fw.c:324:13:

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2021-03-06 Thread kernel test robot
ostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" >> drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in >>

Re: [PATCH] drivers: scsi: qla4xxx: Fix a spello in the file qla4xxx/ql4_os.c

2021-03-01 Thread Bhaskar Chowdhury
a4xxx driver patches, e.g.: Thanks, Randytook note...about this ...will practice... $ git log --oneline drivers/scsi/qla4xxx/ 5b0ec4cf0494 scsi: qla4xxx: Use iscsi_is_session_online() 35f1cad1f928 scsi: qla4xxx: Use standard SAM status definitions 3a5b9fa2cc5f scsi: qla4xxx: Remove redu

Re: [PATCH] drivers: scsi: qla4xxx: Fix a spello in the file qla4xxx/ql4_os.c

2021-03-01 Thread Randy Dunlap
git log --oneline drivers/scsi/qla4xxx/ 5b0ec4cf0494 scsi: qla4xxx: Use iscsi_is_session_online() 35f1cad1f928 scsi: qla4xxx: Use standard SAM status definitions 3a5b9fa2cc5f scsi: qla4xxx: Remove redundant assignment to variable rval 014aced18aff scsi: qla4xxx: Remove in_interrupt() from q

[PATCH] drivers: scsi: qla4xxx: Fix a spello in the file qla4xxx/ql4_os.c

2021-03-01 Thread Bhaskar Chowdhury
s/circuting/circuiting/ Signed-off-by: Bhaskar Chowdhury --- drivers/scsi/qla4xxx/ql4_os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index a4b014e1cd8c..716a5827588c 100644 --- a/drivers/scsi/qla4xxx

Re: [PATCH 05/11] pragma once: convert drivers/scsi/qla2xxx/qla_target.h

2021-02-28 Thread Bart Van Assche
On 2/28/21 9:01 AM, Alexey Dobriyan wrote: > This file has broken include guard which is not obvious just by looking > at the code. Convert it manually. I think I got #endif right. Why do you think that the include guard is broken? Please mention this in the patch description. > - > -#ifndef __QL

[PATCH 05/11] pragma once: convert drivers/scsi/qla2xxx/qla_target.h

2021-02-28 Thread Alexey Dobriyan
>From 1f58b4923ca9bfb8b1e73554d3793ee98ab58a77 Mon Sep 17 00:00:00 2001 From: Alexey Dobriyan Date: Tue, 9 Feb 2021 17:14:25 +0300 Subject: [PATCH 05/11] pragma once: convert drivers/scsi/qla2xxx/qla_target.h This file has broken include guard which is not obvious just by looking at the c

Re: [PATCH] drivers: scsi: aic7xxx: Fix the spelling verson to version in the file aic79xx.h

2021-02-25 Thread Martin K. Petersen
On Tue, 9 Feb 2021 20:01:46 +0530, Bhaskar Chowdhury wrote: > s/verson/version/ Applied to 5.12/scsi-queue, thanks! [1/1] drivers: scsi: aic7xxx: Fix the spelling verson to version in the file aic79xx.h https://git.kernel.org/mkp/scsi/c/1f9f22acbb5d -- Martin K. Petersen Ora

[kbuild] drivers/scsi/ufs/ufs-mediatek.c:530:17: sparse: sparse: dubious: x & !y

2021-02-25 Thread Dan Carpenter
by: kernel test robot "sparse warnings: (new ones prefixed by >>)" drivers/scsi/ufs/ufs-mediatek.c:182:5: sparse: sparse: symbol 'ufs_mtk_wait_link_state' was not declared. Should it be static? >> drivers/scsi/ufs/ufs-mediatek.c:530:17: sparse: sparse: dubi

Re: [PATCH] drivers: scsi: aic7xxx: Fix the spelling verson to version in the file aic79xx.h

2021-02-22 Thread Martin K. Petersen
Bhaskar, > s/verson/version/ Applied to 5.12/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2021-02-12 Thread kernel test robot
ostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" >> drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in >>

Re: [PATCH] drivers: scsi: aic7xxx: Fix the spelling verson to version in the file aic79xx.h

2021-02-10 Thread Randy Dunlap
On 2/9/21 6:31 AM, Bhaskar Chowdhury wrote: > > s/verson/version/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/scsi/aic7xxx/aic79xx.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/aic7x

[PATCH] drivers: scsi: aic7xxx: Fix the spelling verson to version in the file aic79xx.h

2021-02-09 Thread Bhaskar Chowdhury
s/verson/version/ Signed-off-by: Bhaskar Chowdhury --- drivers/scsi/aic7xxx/aic79xx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/aic7xxx/aic79xx.h b/drivers/scsi/aic7xxx/aic79xx.h index dd5dfd4f30a5..c31e48fcebc7 100644 --- a/drivers/scsi/aic7xxx

drivers/scsi/bnx2i/bnx2i_hwi.c:220:9: sparse: sparse: cast from restricted __le32

2021-02-08 Thread kernel test robot
H=riscv If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" >> drivers/scsi/bnx2i/bnx2i_hwi.c:220:9: sparse: sparse: cast from restricted >> __le32 drivers/scsi/bnx2i/bnx2i

drivers/scsi/ufs/ufs-mediatek.c:530:17: sparse: sparse: dubious: x & !y

2021-02-08 Thread kernel test robot
ernel test robot "sparse warnings: (new ones prefixed by >>)" drivers/scsi/ufs/ufs-mediatek.c:182:5: sparse: sparse: symbol 'ufs_mtk_wait_link_state' was not declared. Should it be static? >> drivers/scsi/ufs/ufs-mediatek.c:530:17: sparse: sparse: dubious: x &

Re: [PATCH] drivers: scsi: Describe and replace a word with better one in the file qlogicpti.h

2021-02-05 Thread Julian Calaby
Hi Bhaskar, On Sat, Feb 6, 2021 at 9:55 AM Bhaskar Chowdhury wrote: > > > > s/fucking/awful/ > > Signed-off-by: Bhaskar Chowdhury > --- > drivers/scsi/qlogicpti.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/qlogi

[PATCH] drivers: scsi: Describe and replace a word with better one in the file qlogicpti.h

2021-02-05 Thread Bhaskar Chowdhury
s/fucking/awful/ Signed-off-by: Bhaskar Chowdhury --- drivers/scsi/qlogicpti.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qlogicpti.h b/drivers/scsi/qlogicpti.h index 2b6374e08a7d..4a47631b22ea 100644 --- a/drivers/scsi/qlogicpti.h +++ b/drivers/scsi

Re: [PATCH] drivers: scsi: File ipr.c gets few spelling fixes

2021-02-05 Thread Randy Dunlap
On 2/5/21 1:12 AM, Bhaskar Chowdhury wrote: > > > s/Enablement/Entablement/ http://dict.org/bin/Dict?Form=Dict2&Database=*&Query=enablement > s/specfied/specified/ > s/confgurations/configurations/ These other 2 are good changes. > Signed-off-by: Bhaskar Chowdh

Re: [PATCH] drivers: scsi: lpfc: Mundane spelling and sentence construction fixes throughout the file

2021-02-05 Thread Randy Dunlap
On 2/4/21 9:30 PM, Bhaskar Chowdhury wrote: > > > Few spellings and sentence construction done throughout the file. > > > Signed-off-by: Bhaskar Chowdhury > --- > drivers/scsi/lpfc/lpfc_init.c | 24 > 1 file changed, 12 insertions(+), 12 d

[PATCH] drivers: scsi: File ipr.c gets few spelling fixes

2021-02-05 Thread Bhaskar Chowdhury
s/Enablement/Entablement/ s/specfied/specified/ s/confgurations/configurations/ Signed-off-by: Bhaskar Chowdhury --- drivers/scsi/ipr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index e451102b9a29..c12c0a309c54 100644

[PATCH] drivers: scsi: lpfc: Mundane spelling and sentence construction fixes throughout the file

2021-02-04 Thread Bhaskar Chowdhury
Few spellings and sentence construction done throughout the file. Signed-off-by: Bhaskar Chowdhury --- drivers/scsi/lpfc/lpfc_init.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c

drivers/scsi/gdth_proc.c:249:42: warning: conversion from 'long unsigned int' to 'u16' {aka 'short unsigned int'} changes value from '196608' to '0'

2021-02-04 Thread kernel test robot
prefixed by >>): In file included from drivers/scsi/gdth.c:266: drivers/scsi/gdth_proc.c: In function 'gdth_show_info': >> drivers/scsi/gdth_proc.c:249:42: warning: conversion from 'long unsigned >> int' to 'u16' {aka 'short unsigned int

drivers/scsi/FlashPoint.c:1744:12: warning: stack frame size of 1552 bytes in function 'FlashPoint_HandleInterrupt'

2021-02-02 Thread kernel test robot
/0day COMPILER=clang make.cross ARCH=powerpc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from drivers/scsi/BusLogic.c:51: >> drivers/scsi/FlashPoint.c:1744:12: warning: stack f

[PATCH] drivers/scsi: convert to use module_platform_driver in sgiwd93.c

2021-02-02 Thread dingsenjie
From: dingsenjie Simplify the code by using module_platform_driver macro for sgiwd93. Signed-off-by: dingsenjie --- drivers/scsi/sgiwd93.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/scsi/sgiwd93.c b/drivers/scsi/sgiwd93.c index cf1030c..7e99a53

drivers/scsi/lpfc/lpfc_scsi.c:823:39: sparse: sparse: incorrect type in assignment (different base types)

2021-02-01 Thread kernel test robot
refix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" drivers/scsi/lpfc/lpfc_scsi.c:129:30: sparse: sparse: cast to restricted __le32 drivers/sc

Re: [PATCH] drivers/scsi/qla4xxx: use scnprintf() instead of snprintf()

2021-01-20 Thread James Bottomley
On Wed, 2021-01-20 at 15:22 +0800, Jiapeng Zhong wrote: > Fix the following coccicheck warning: > > ./drivers/scsi/qla4xxx/ql4_attr.c: WARNING: use scnprintf or > sprintf > > The snprintf() function returns the number of characters which would > have been printed if there w

[PATCH] drivers/scsi/qla4xxx: use scnprintf() instead of snprintf()

2021-01-19 Thread Jiapeng Zhong
Fix the following coccicheck warning: ./drivers/scsi/qla4xxx/ql4_attr.c: WARNING: use scnprintf or sprintf The snprintf() function returns the number of characters which would have been printed if there were enough space, but the scnprintf() returns the number of characters which were actually

drivers/scsi/qedi/qedi_main.c:924 qedi_get_boot_tgt_info() error: snprintf() chops off the last chars of 256 vs 255

2021-01-19 Thread Dan Carpenter
.config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot Reported-by: Dan Carpenter New smatch warnings: drivers/scsi/qedi/qedi_main.c:924 qedi_get_boot_tgt_info() error: snprintf() chops off the last chars of

Re: drivers/scsi/myrs.c:2449:13: sparse: sparse: incorrect type in assignment (different base types)

2021-01-15 Thread Kefeng Wang
ndly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" drivers/scsi/myrs.c:1532:5: sparse: sparse: symbol 'myrs_host_reset' was not declared. Should it be static? drivers/scsi/myrs.c:1922:27: spars

drivers/scsi/myrs.c:2449:13: sparse: sparse: incorrect type in assignment (different base types)

2021-01-15 Thread kernel test robot
H=riscv If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" drivers/scsi/myrs.c:1532:5: sparse: sparse: symbol 'myrs_host_reset' was not declared. Should it be static? drive

drivers/scsi/ibmvscsi/ibmvfc.c:1696:25: warning: incompatible pointer to integer conversion passing 'struct ibmvfc_event to parameter of type '__u64' (aka 'unsigned long long')

2021-01-07 Thread kernel test robot
COMPILER=clang make.cross ARCH=powerpc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/scsi/ibmvscsi/ibmvfc.c:1696:25: warning: incompatible pointer to >> integer conversi

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2021-01-06 Thread kernel test robot
ostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" >> drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in >>

drivers/scsi/qedi/qedi_main.c:924 qedi_get_boot_tgt_info() error: snprintf() chops off the last chars of 256 vs 255

2021-01-05 Thread Dan Carpenter
.config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot Reported-by: Dan Carpenter New smatch warnings: drivers/scsi/qedi/qedi_main.c:924 qedi_get_boot_tgt_info() error: snprintf() chops off the last chars of

drivers/scsi/mvumi.c:407:40: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-12-29 Thread kernel test robot
ppropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" drivers/scsi/mvumi.c:81:52: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem * @@ got void * @@ drivers/scsi/mvumi.c:81:52:

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-12-26 Thread kernel test robot
ostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" >> drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in >>

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-12-25 Thread kernel test robot
ostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" >> drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in >>

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-12-24 Thread kernel test robot
ostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" >> drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in >>

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-12-24 Thread kernel test robot
ostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" >> drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in >>

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-12-23 Thread kernel test robot
ostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" >> drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in >>

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-12-23 Thread kernel test robot
ostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" >> drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in >>

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-12-23 Thread kernel test robot
ostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" >> drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in >>

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-12-21 Thread kernel test robot
ostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" >> drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in >>

[PATCH 14/17] drivers/scsi: Use memcpy_to_page()

2020-11-23 Thread ira . weiny
From: Ira Weiny Remove kmap/mem*()/kunmap pattern and use memcpy_to_page() Cc: Brian King Signed-off-by: Ira Weiny --- drivers/scsi/ipr.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index b0aa58d117cc..3cdd8db24270

drivers/scsi/lpfc/lpfc_nvme.c:879:19: warning: variable 'phba' set but not used

2020-11-03 Thread kernel test robot
warnings (new ones prefixed by >>): drivers/scsi/lpfc/lpfc_nvme.c: In function 'lpfc_nvme_ls_abort': >> drivers/scsi/lpfc/lpfc_nvme.c:879:19: warning: variable 'phba' set but not >> used [-Wunused-but-set-variable] 879 | struct lpfc_hba *phba;

drivers/scsi/mvumi.c:407:40: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-10-30 Thread kernel test robot
ppropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" drivers/scsi/mvumi.c:81:52: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem * @@ got void * @@ drivers/scsi/mvumi.c:81:52:

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-10-22 Thread kernel test robot
refix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" >> drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in >> argument 1 (dif

[PATCH RFC PKS/PMEM 42/58] drivers/scsi: Utilize new kmap_thread()

2020-10-09 Thread ira . weiny
From: Ira Weiny These kmap() calls are localized to a single thread. To avoid the over head of global PKRS updates use the new kmap_thread() call. Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Signed-off-by: Ira Weiny --- drivers/scsi/ipr.c | 8 ++++ dr

drivers/scsi/bfa/bfad_bsg.c:2551:9: sparse: sparse: incorrect type in initializer (different base types)

2020-09-30 Thread kernel test robot
test robot echo echo "sparse warnings: (new ones prefixed by >>)" echo drivers/scsi/bfa/bfad_bsg.c:2391:25: sparse: sparse: cast to restricted __be32 drivers/scsi/bfa/bfad_bsg.c:2391:25: sparse: sparse: cast to restricted __be32 drivers/scsi/bfa/bfad_bsg

drivers/scsi/ufs/ufs-exynos.c:1268:34: warning: unused variable 'exynos_ufs_of_match'

2020-09-09 Thread kernel test robot
=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/scsi/ufs/ufs-exynos.c:1268:34: warning: unused variable >> 'exynos_ufs_of_match' [-Wunused-con

drivers/scsi/pcmcia/nsp_io.h:231:24: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-09-06 Thread kernel test robot
ppropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) drivers/scsi/pcmcia/nsp_cs.c: note: in included file: >> drivers/scsi/pcmcia/nsp_io.h:231:24: sparse: sparse: incorrect type in >> argument 1 (different address spaces) @@ expected void

drivers/scsi/bfa/bfad_bsg.c:2748:1: warning: stack frame size of 2688 bytes in function 'bfad_iocmd_handler'

2020-08-23 Thread kernel test robot
=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/scsi/bfa/bfad_bsg.c:2748:1: warning: stack frame size of 2688 bytes >> in function 'bfad_iocmd_handle

drivers/scsi/qedi/qedi_fw.c:1064:45: sparse: sparse: incorrect type in assignment (different base types)

2020-08-20 Thread kernel test robot
ing tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) drivers/scsi/qedi/qedi_fw.c:284:35: sparse: sparse: cast from restricted __le32 drivers/scsi/qedi/qedi_fw.c:287:37: sparse: sparse: restricted __le32 degrades to integer drivers/scsi/qedi/

drivers/scsi/sg.c:1145 sg_ioctl_common() warn: inconsistent returns 'sfp->rq_list_lock'.

2020-08-17 Thread kernel test robot
(attached as .config) compiler: ia64-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot New smatch warnings: drivers/scsi/sg.c:1145 sg_ioctl_common() warn: inconsistent returns 'sfp->rq_list_lock'. Old smatch warnings:

drivers/scsi/smartpqi/smartpqi_init.c:2070 pqi_update_scsi_devices() error: we previously assumed 'physdev_list' could be null (see line 2006)

2020-08-13 Thread kernel test robot
(attached as .config) compiler: ia64-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot New smatch warnings: drivers/scsi/smartpqi/smartpqi_init.c:2070 pqi_update_scsi_devices() error: we previously assumed 'physdev_list' cou

drivers/scsi/mpt3sas/mpt3sas_ctl.c:2172 mpt3sas_send_diag_release() warn: inconsistent indenting

2020-08-11 Thread kernel test robot
-20200811 (attached as .config) compiler: hppa-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot New smatch warnings: drivers/scsi/mpt3sas/mpt3sas_ctl.c:2172 mpt3sas_send_diag_release() warn: inconsistent indenting Old smatch warnings

drivers/scsi/mpt3sas/mpt3sas_ctl.c:1900 _ctl_diag_register() warn: potential spectre issue 'ioc->diag_buffer_status'

2020-08-11 Thread kernel test robot
-20200811 (attached as .config) compiler: hppa-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot New smatch warnings: drivers/scsi/mpt3sas/mpt3sas_ctl.c:1900 _ctl_diag_register() warn: potential spectre issue 'ioc->diag_buffer_st

drivers/scsi/3w-sas.c:1245:27: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-08-10 Thread kernel test robot
ing tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) drivers/scsi/3w-sas.c:238:15: sparse: sparse: cast to restricted __le16 drivers/scsi/3w-sas.c:325:50: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned

drivers/scsi/ufs/ufshcd.c:6495 ufshcd_host_reset_and_restore() error: double unlocked (orig line 6489)

2020-08-08 Thread kernel test robot
-m031-20200808 (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot New smatch warnings: drivers/scsi/ufs/ufshcd.c:6495 ufshcd_host_reset_and_restore() error: double unlocked '*hba-

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-08-05 Thread kernel test robot
='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in >> a

drivers/scsi/pcmcia/nsp_cs.c:1669:34: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-08-02 Thread kernel test robot
ing tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/scsi/pcmcia/nsp_cs.c:1669:34: sparse: sparse: incorrect type in >> argument 1 (different address spaces) @@ expected void const volatile >> [noderef] __iomem *addr @@

RE: mmotm 2020-07-27-18-18 uploaded (drivers/scsi/ufs/: SCSI_UFS_EXYNOS)

2020-07-28 Thread Alim Akhtar
er.kernel.org; > s...@canb.auug.org.au; linux-scsi ; Alim Akhtar > ; Seungwon Jeon > Subject: Re: mmotm 2020-07-27-18-18 uploaded (drivers/scsi/ufs/: > SCSI_UFS_EXYNOS) > > On 7/27/20 6:19 PM, Andrew Morton wrote: > > The mm-of-the-moment snapshot 2020-07-27-18-18 has been up

drivers/scsi/mpt3sas/mpt3sas_base.c:3255:28: sparse: sparse: incorrect type in argument 1 (different modifiers)

2020-07-07 Thread kernel test robot
ppropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) drivers/scsi/mpt3sas/mpt3sas_base.c:1632:33: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got unsigned int [usertype]

drivers/scsi/mpt3sas/mpt3sas_base.c:5025:16-34: WARNING: dma_alloc_coherent use in ioc -> request already zeroes out memory, so memset is not needed (fwd)

2020-07-07 Thread Julia Lawall
Hello, Please lines 5025 and 5038. julia -- Forwarded message -- Date: Tue, 7 Jul 2020 04:54:19 +0800 From: kernel test robot To: kbu...@lists.01.org Cc: l...@intel.com, Julia Lawall Subject: drivers/scsi/mpt3sas/mpt3sas_base.c:5025:16-34: WARNING: dma_alloc_coherent use

drivers/scsi/hptiop.c:643:34: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-07-06 Thread kernel test robot
ing tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) drivers/scsi/hptiop.c:150:17: sparse: sparse: restricted __le32 degrades to integer drivers/scsi/hptiop.c:171:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@

drivers/scsi/pcmcia/nsp_cs.c:1669:34: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-07-05 Thread kernel test robot
following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) include/linux/byteorder/big_endian.h:8:2: sparse: sparse: inconsistent configuration, needs CONFIG_CPU_BIG_ENDIAN >> drivers/scsi/pcmcia/nsp_cs.c:1669:34: sparse: sparse: incorrec

drivers/scsi/qedf/qedf_debugfs.c:113:23: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-07-02 Thread kernel test robot
='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/scsi/qedf/qedf_debugfs.c:113:23: sparse: sparse: incorrect type in >> a

drivers/scsi/megaraid/megaraid_sas_base.c:8458:21: sparse: sparse: incorrect type in argument 2 (different address spaces)

2020-06-29 Thread kernel test robot
ppropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) drivers/scsi/megaraid/megaraid_sas_base.c:4534:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [usertype] flags @@ got int @@ drive

drivers/scsi/vmw_pvscsi.c:212:39: sparse: sparse: incorrect type in argument 2 (different address spaces)

2020-06-27 Thread kernel test robot
='-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/scsi/vmw_pvscsi.c:212:39: sparse: sparse: incorrect type in argument >>

drivers/scsi/qedi/qedi_debugfs.c:109:45: sparse: sparse: incorrect type in argument 2 (different address spaces)

2020-06-27 Thread kernel test robot
='-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/scsi/qedi/qedi_debugfs.c:109:45: sparse: sparse: incorrect type in >> argument

drivers/scsi/megaraid/megaraid_sas_base.c:8458:21: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-06-24 Thread kernel test robot
='-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) drivers/scsi/megaraid/megaraid_sas_base.c:4534:21: sparse: sparse: incorrect type in assignment (diff

drivers/scsi/myrs.c:2275:34: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-06-21 Thread kernel test robot
CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) drivers/scsi/myrs.c:1532:5: sparse: sparse: symbol 'myrs_host_reset' was not dec

drivers/scsi/bnx2fc/bnx2fc_hwi.c:638:16: warning: variable 'index' set but not used

2020-06-15 Thread kernel test robot
.h:21, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from include/linux/skbuff.h:19, from drivers/scsi/bnx2fc/bnx2fc.h:21, from drivers/scsi/bnx2fc/bnx2fc_hwi.c:16: arch/ia64/include/asm/mmu_context.h: In function 'reload_context': arch/ia64

drivers/scsi/bnx2fc/bnx2fc_hwi.c:1011:17: warning: variable 'dummy' set but not used

2020-06-15 Thread kernel test robot
(new ones prefixed by >>, old ones prefixed by <<): In file included from arch/ia64/include/asm/pgtable.h:154, from include/linux/mm.h:94, from include/linux/bvec.h:13, from include/linux/skbuff.h:17, from drivers/scsi/bnx2fc/bnx2fc.h:21, from drivers/scsi/bnx2fc/bnx2fc_hwi.c:16: arch/ia64

drivers/scsi/mpt3sas/mpt3sas_base.c:3584:1: warning: no previous declaration for '_base_sdev_nr_inflight_request'

2020-06-14 Thread kernel test robot
ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>, old ones prefixed by <<): >> drivers/scsi/mpt3sas/mpt3sas_base.c:3584:1: warning: no previous declaration >> for '_

[PATCH 06/17] drivers: scsi: Fix trivial spelling

2020-06-09 Thread Kieran Bingham
The word 'descriptor' is misspelled throughout the tree. Fix it up accordingly: decriptors -> descriptors Signed-off-by: Kieran Bingham --- drivers/scsi/ibmvscsi/ibmvfc.c| 2 +- drivers/scsi/ibmvscsi/ibmvscsi.c | 2 +- drivers/scsi/qla2xxx/qla_inline.h | 2 +- drivers

drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-06-03 Thread kernel test robot
='-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) ./arch/sh/include/generated/uapi/asm/unistd_32.h:409:37: sparse: sparse: no newline at end of file

Re: UBSAN: array-index-out-of-bounds in drivers/scsi/hpsa.c:4421:7

2020-05-28 Thread Qian Cai
Scott Teel > ; Kevin Barnett ; > esc.storage...@microsemi.com; linux-s...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: UBSAN: array-index-out-of-bounds in drivers/scsi/hpsa.c:4421:7 > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > conten

RE: UBSAN: array-index-out-of-bounds in drivers/scsi/hpsa.c:4421:7

2020-05-28 Thread Don.Brace
; Scott Teel ; Kevin Barnett ; esc.storage...@microsemi.com; linux-s...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: UBSAN: array-index-out-of-bounds in drivers/scsi/hpsa.c:4421:7 EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe Sorry, adding

UBSAN: array-index-out-of-bounds in drivers/scsi/hpsa.c:4421:7

2020-05-26 Thread Qian Cai
se? > > [ 118.395557][ T13] hpsa can't handle SMP requests > [ 118.444870][ T13] > ======== > [ 118.486725][ T13] UBSAN: array-index-out-of-bounds in > drivers/scsi/hpsa.c:4421:7 > [ 118

drivers/scsi/bnx2fc/bnx2fc_hwi.c:1011:17: warning: variable 'dummy' set but not used

2020-05-19 Thread kbuild test robot
: kbuild test robot All warnings (new ones prefixed by >>, old ones prefixed by <<): drivers/scsi/bnx2fc/bnx2fc_hwi.c: In function 'bnx2fc_process_unsol_compl': drivers/scsi/bnx2fc/bnx2fc_hwi.c:638:16: warning: variable 'index' set but not used [-Wunused-but-s

Re: [kbuild-all] Re: drivers/scsi/ncr53c8xx.c:5306:9: sparse: sparse: cast truncates bits from constant value (58f becomes 8f)

2020-05-17 Thread Philip Li
you fix the issue, kindly add following tag as appropriate > > Reported-by: kbuild test robot > > > > > > sparse warnings: (new ones prefixed by >>) > > > > >> drivers/scsi/ncr53c8xx.c:5306:9: sparse: sparse: cast truncates bits > > &g

Re: drivers/scsi/ncr53c8xx.c:5306:9: sparse: sparse: cast truncates bits from constant value (58f becomes 8f)

2020-05-15 Thread Matthew Wilcox
__CHECK_ENDIAN__' > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kbuild test robot > > > sparse warnings: (new ones prefixed by >>) > > >> drivers/scsi/ncr53c8xx.c:5306:9: sparse: sparse: cast truncates bits fr

drivers/scsi/ncr53c8xx.c:5306:9: sparse: sparse: cast truncates bits from constant value (58f becomes 8f)

2020-05-15 Thread kbuild test robot
build test robot sparse warnings: (new ones prefixed by >>) >> drivers/scsi/ncr53c8xx.c:5306:9: sparse: sparse: cast truncates bits from >> constant value (58f becomes 8f) vim +5306 drivers/scsi/ncr53c8xx.c ^1da177e4c3f41 Linus Torvalds 2005-04-16 5243 ^1da177e4c3f41 Lin

[PATCH tip/core/rcu 04/10] drivers/scsi: Replace rcu_swap_protected() with rcu_replace()

2019-10-22 Thread paulmck
eported-by: Linus Torvalds [ paulmck: From rcu_replace() to rcu_replace_pointer() per Ingo Molnar. ] Signed-off-by: Paul E. McKenney Acked-by: "Martin K. Petersen" Cc: "James E.J. Bottomley" Cc: Cc: --- drivers/scsi/scsi.c | 4 ++-- drivers/scsi/scsi_sysfs.c |

Re: [RFC][PATCHES] drivers/scsi/sg.c uaccess cleanups/fixes

2019-10-17 Thread Douglas Gilbert
On 2019-10-17 9:36 p.m., Al Viro wrote: On Wed, Oct 16, 2019 at 09:25:40PM +0100, Al Viro wrote: FWIW, callers of __copy_from_user() remaining in the generic code: 6) drivers/scsi/sg.c nest: sg_read() ones are memdup_user() in disguise (i.e. fold with immediately preceding kmalloc()s

[RFC][PATCHES] drivers/scsi/sg.c uaccess cleanups/fixes

2019-10-17 Thread Al Viro
On Wed, Oct 16, 2019 at 09:25:40PM +0100, Al Viro wrote: > FWIW, callers of __copy_from_user() remaining in the generic code: > 6) drivers/scsi/sg.c nest: sg_read() ones are memdup_user() in disguise > (i.e. fold with immediately preceding kmalloc()s). sg_new_write() - > fold wi

Re: [PATCH tip/core/rcu 4/9] drivers/scsi: Replace rcu_swap_protected() with rcu_replace()

2019-10-09 Thread Martin K. Petersen
Paul, > I do not intend to actually remove rcu_swap_protected() until 5.6 for > exactly this sort of thing. My plan is to take another pass through > the tree after 5.5 comes out, and these will be caught at that time. > > Does that work for you? Yep, that's great. Thanks! -- Martin K. Peter

Re: [PATCH tip/core/rcu 4/9] drivers/scsi: Replace rcu_swap_protected() with rcu_replace()

2019-10-05 Thread Paul E. McKenney
On Thu, Oct 03, 2019 at 10:09:31PM -0400, Martin K. Petersen wrote: > > Paul, > > No objections from me. Thank you, Martin! I have applied your Acked-by, but please let me know if that over-interprets your "No objections" above. > > + vpd_pg80 = rcu_replace(sdev->vpd_pg80, vpd_pg80, > > +

Re: [PATCH tip/core/rcu 4/9] drivers/scsi: Replace rcu_swap_protected() with rcu_replace()

2019-10-03 Thread Martin K. Petersen
Paul, No objections from me. > + vpd_pg80 = rcu_replace(sdev->vpd_pg80, vpd_pg80, > +lockdep_is_held(&sdev->inquiry_mutex)); > + vpd_pg83 = rcu_replace(sdev->vpd_pg83, vpd_pg83, > +lockdep_is_held(&sdev->inquiry_mutex)); Just a he

[PATCH tip/core/rcu 4/9] drivers/scsi: Replace rcu_swap_protected() with rcu_replace()

2019-10-02 Thread paulmck
eported-by: Linus Torvalds Signed-off-by: Paul E. McKenney Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Cc: --- drivers/scsi/scsi.c | 4 ++-- drivers/scsi/scsi_sysfs.c | 8 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/scs

Re: [5.3.0-rc4-next][bisected 882632][qla2xxx] WARNING: CPU: 10 PID: 425 at drivers/scsi/qla2xxx/qla_isr.c:2784 qla2x00_status_entry.isra

2019-08-19 Thread Abdul Haleem
Today's linux-next kernel (5.3.0-rc4-next-20190813) booted with warning > >>> on my powerpc power 8 lpar > >>> > >>> The WARN_ON_ONCE() was introduced by commit 88263208 (scsi: qla2xxx: > >>> Complain if sp->done() is not...) >

Re: [5.3.0-rc4-next][bisected 882632][qla2xxx] WARNING: CPU: 10 PID: 425 at drivers/scsi/qla2xxx/qla_isr.c:2784 qla2x00_status_entry.isra

2019-08-14 Thread Bart Van Assche
roduced by commit 88263208 (scsi: qla2xxx: Complain if sp->done() is not...) boot logs: WARNING: CPU: 10 PID: 425 at drivers/scsi/qla2xxx/qla_isr.c:2784 Hi Abdul, Thank you for having reported this. Is that the only warning reported on your setup by the qla2xxx driver? If that warning is commen

Re: [5.3.0-rc4-next][bisected 882632][qla2xxx] WARNING: CPU: 10 PID: 425 at drivers/scsi/qla2xxx/qla_isr.c:2784 qla2x00_status_entry.isra

2019-08-14 Thread Bart Van Assche
t;done() is not...) > > boot logs: > > WARNING: CPU: 10 PID: 425 at drivers/scsi/qla2xxx/qla_isr.c:2784 Hi Abdul, Thank you for having reported this. Is that the only warning reported on your setup by the qla2xxx driver? If that warning is commented out, does the qla2xxx driver work as expected? Thanks, Bart.

Re: [5.3.0-rc4-next][bisected 882632][qla2xxx] WARNING: CPU: 10 PID: 425 at drivers/scsi/qla2xxx/qla_isr.c:2784 qla2x00_status_entry.isra

2019-08-14 Thread Abdul Haleem
ON_ONCE() was introduced by commit 88263208 (scsi: qla2xxx: > > Complain if sp->done() is not...) > > > > boot logs: > > > > WARNING: CPU: 10 PID: 425 at drivers/scsi/qla2xxx/qla_isr.c:2784 > > Hi Abdul, > > Thank you for having reported this.

[PATCH] drivers: scsi: Kconfig: minor indention fixes

2019-07-29 Thread Enrico Weigelt, metux IT consult
Align the indentions to the common practise in Kconfig files, make it look at little bit prettier. Just whitespace changes. Signed-off-by: Enrico Weigelt --- drivers/scsi/Kconfig | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/scsi/Kconfig

  1   2   3   4   5   6   7   8   9   10   >