* [net-next:master 469/495] drivers/nfc/fdp/fdp.c:116:67: sparse: sparse: incorrect type in argument 4 (different modifiers)
@ 2021-07-29 20:06 ` kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-07-29 20:06 UTC (permalink / raw)
To: Krzysztof Kozlowski; +Cc: kbuild-all, netdev
[-- Attachment #1: Type: text/plain, Size: 2855 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head: 88ea96f8c14e39f7ee397b815de622ea5e1481ab
commit: 3d463dd5023b5a58b3c37207d65eeb5acbac2be3 [469/495] nfc: fdp: constify several pointers
config: ia64-randconfig-s032-20210728 (attached as .config)
compiler: ia64-linux-gcc (GCC) 10.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=3d463dd5023b5a58b3c37207d65eeb5acbac2be3
git remote add net-next https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
git fetch --no-tags net-next master
git checkout 3d463dd5023b5a58b3c37207d65eeb5acbac2be3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/nfc/fdp/fdp.c:116:67: sparse: sparse: incorrect type in argument 4 (different modifiers) @@ expected unsigned char [usertype] *payload @@ got char const *data @@
drivers/nfc/fdp/fdp.c:116:67: sparse: expected unsigned char [usertype] *payload
drivers/nfc/fdp/fdp.c:116:67: sparse: got char const *data
>> drivers/nfc/fdp/fdp.c:116:67: sparse: sparse: incorrect type in argument 4 (different modifiers) @@ expected unsigned char [usertype] *payload @@ got char const *data @@
drivers/nfc/fdp/fdp.c:116:67: sparse: expected unsigned char [usertype] *payload
drivers/nfc/fdp/fdp.c:116:67: sparse: got char const *data
vim +116 drivers/nfc/fdp/fdp.c
a06347c04c13e38 Robert Dolca 2015-10-22 112
a06347c04c13e38 Robert Dolca 2015-10-22 113 static inline int fdp_nci_set_production_data(struct nci_dev *ndev, u8 len,
3d463dd5023b5a5 Krzysztof Kozlowski 2021-07-29 114 const char *data)
a06347c04c13e38 Robert Dolca 2015-10-22 115 {
a06347c04c13e38 Robert Dolca 2015-10-22 @116 return nci_prop_cmd(ndev, NCI_OP_PROP_SET_PDATA_OID, len, data);
a06347c04c13e38 Robert Dolca 2015-10-22 117 }
a06347c04c13e38 Robert Dolca 2015-10-22 118
:::::: The code at line 116 was first introduced by commit
:::::: a06347c04c13e380afce0c9816df51f00b83faf1 NFC: Add Intel Fields Peak NFC solution driver
:::::: TO: Robert Dolca <robert.dolca@intel.com>
:::::: CC: Samuel Ortiz <sameo@linux.intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32024 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [net-next:master 469/495] drivers/nfc/fdp/fdp.c:116:67: sparse: sparse: incorrect type in argument 4 (different modifiers)
@ 2021-07-29 20:06 ` kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-07-29 20:06 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2905 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head: 88ea96f8c14e39f7ee397b815de622ea5e1481ab
commit: 3d463dd5023b5a58b3c37207d65eeb5acbac2be3 [469/495] nfc: fdp: constify several pointers
config: ia64-randconfig-s032-20210728 (attached as .config)
compiler: ia64-linux-gcc (GCC) 10.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=3d463dd5023b5a58b3c37207d65eeb5acbac2be3
git remote add net-next https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
git fetch --no-tags net-next master
git checkout 3d463dd5023b5a58b3c37207d65eeb5acbac2be3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/nfc/fdp/fdp.c:116:67: sparse: sparse: incorrect type in argument 4 (different modifiers) @@ expected unsigned char [usertype] *payload @@ got char const *data @@
drivers/nfc/fdp/fdp.c:116:67: sparse: expected unsigned char [usertype] *payload
drivers/nfc/fdp/fdp.c:116:67: sparse: got char const *data
>> drivers/nfc/fdp/fdp.c:116:67: sparse: sparse: incorrect type in argument 4 (different modifiers) @@ expected unsigned char [usertype] *payload @@ got char const *data @@
drivers/nfc/fdp/fdp.c:116:67: sparse: expected unsigned char [usertype] *payload
drivers/nfc/fdp/fdp.c:116:67: sparse: got char const *data
vim +116 drivers/nfc/fdp/fdp.c
a06347c04c13e38 Robert Dolca 2015-10-22 112
a06347c04c13e38 Robert Dolca 2015-10-22 113 static inline int fdp_nci_set_production_data(struct nci_dev *ndev, u8 len,
3d463dd5023b5a5 Krzysztof Kozlowski 2021-07-29 114 const char *data)
a06347c04c13e38 Robert Dolca 2015-10-22 115 {
a06347c04c13e38 Robert Dolca 2015-10-22 @116 return nci_prop_cmd(ndev, NCI_OP_PROP_SET_PDATA_OID, len, data);
a06347c04c13e38 Robert Dolca 2015-10-22 117 }
a06347c04c13e38 Robert Dolca 2015-10-22 118
:::::: The code at line 116 was first introduced by commit
:::::: a06347c04c13e380afce0c9816df51f00b83faf1 NFC: Add Intel Fields Peak NFC solution driver
:::::: TO: Robert Dolca <robert.dolca@intel.com>
:::::: CC: Samuel Ortiz <sameo@linux.intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32024 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [net-next:master 469/495] drivers/nfc/fdp/fdp.c:116:67: sparse: sparse: incorrect type in argument 4 (different modifiers)
2021-07-29 20:06 ` kernel test robot
@ 2021-07-30 9:13 ` Krzysztof Kozlowski
-1 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2021-07-30 9:13 UTC (permalink / raw)
To: kernel test robot; +Cc: kbuild-all, netdev
On Thu, 29 Jul 2021 at 22:07, kernel test robot <lkp@intel.com> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
> head: 88ea96f8c14e39f7ee397b815de622ea5e1481ab
> commit: 3d463dd5023b5a58b3c37207d65eeb5acbac2be3 [469/495] nfc: fdp: constify several pointers
> config: ia64-randconfig-s032-20210728 (attached as .config)
> compiler: ia64-linux-gcc (GCC) 10.3.0
> reproduce:
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # apt-get install sparse
> # sparse version: v0.6.3-341-g8af24329-dirty
> # https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=3d463dd5023b5a58b3c37207d65eeb5acbac2be3
> git remote add net-next https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
> git fetch --no-tags net-next master
> git checkout 3d463dd5023b5a58b3c37207d65eeb5acbac2be3
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=ia64
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
>
> sparse warnings: (new ones prefixed by >>)
> >> drivers/nfc/fdp/fdp.c:116:67: sparse: sparse: incorrect type in argument 4 (different modifiers) @@ expected unsigned char [usertype] *payload @@ got char const *data @@
> drivers/nfc/fdp/fdp.c:116:67: sparse: expected unsigned char [usertype] *payload
> drivers/nfc/fdp/fdp.c:116:67: sparse: got char const *data
> >> drivers/nfc/fdp/fdp.c:116:67: sparse: sparse: incorrect type in argument 4 (different modifiers) @@ expected unsigned char [usertype] *payload @@ got char const *data @@
> drivers/nfc/fdp/fdp.c:116:67: sparse: expected unsigned char [usertype] *payload
> drivers/nfc/fdp/fdp.c:116:67: sparse: got char const *data
>
This is known and already fixed in:
https://lore.kernel.org/lkml/20210726145224.146006-1-krzysztof.kozlowski@canonical.com/
https://lore.kernel.org/linux-nfc/20210730065625.34010-1-krzysztof.kozlowski@canonical.com/T/#t
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [net-next:master 469/495] drivers/nfc/fdp/fdp.c:116:67: sparse: sparse: incorrect type in argument 4 (different modifiers)
@ 2021-07-30 9:13 ` Krzysztof Kozlowski
0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2021-07-30 9:13 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2322 bytes --]
On Thu, 29 Jul 2021 at 22:07, kernel test robot <lkp@intel.com> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
> head: 88ea96f8c14e39f7ee397b815de622ea5e1481ab
> commit: 3d463dd5023b5a58b3c37207d65eeb5acbac2be3 [469/495] nfc: fdp: constify several pointers
> config: ia64-randconfig-s032-20210728 (attached as .config)
> compiler: ia64-linux-gcc (GCC) 10.3.0
> reproduce:
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # apt-get install sparse
> # sparse version: v0.6.3-341-g8af24329-dirty
> # https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=3d463dd5023b5a58b3c37207d65eeb5acbac2be3
> git remote add net-next https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
> git fetch --no-tags net-next master
> git checkout 3d463dd5023b5a58b3c37207d65eeb5acbac2be3
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=ia64
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
>
> sparse warnings: (new ones prefixed by >>)
> >> drivers/nfc/fdp/fdp.c:116:67: sparse: sparse: incorrect type in argument 4 (different modifiers) @@ expected unsigned char [usertype] *payload @@ got char const *data @@
> drivers/nfc/fdp/fdp.c:116:67: sparse: expected unsigned char [usertype] *payload
> drivers/nfc/fdp/fdp.c:116:67: sparse: got char const *data
> >> drivers/nfc/fdp/fdp.c:116:67: sparse: sparse: incorrect type in argument 4 (different modifiers) @@ expected unsigned char [usertype] *payload @@ got char const *data @@
> drivers/nfc/fdp/fdp.c:116:67: sparse: expected unsigned char [usertype] *payload
> drivers/nfc/fdp/fdp.c:116:67: sparse: got char const *data
>
This is known and already fixed in:
https://lore.kernel.org/lkml/20210726145224.146006-1-krzysztof.kozlowski(a)canonical.com/
https://lore.kernel.org/linux-nfc/20210730065625.34010-1-krzysztof.kozlowski(a)canonical.com/T/#t
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-07-30 9:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-29 20:06 [net-next:master 469/495] drivers/nfc/fdp/fdp.c:116:67: sparse: sparse: incorrect type in argument 4 (different modifiers) kernel test robot
2021-07-29 20:06 ` kernel test robot
2021-07-30 9:13 ` Krzysztof Kozlowski
2021-07-30 9:13 ` Krzysztof Kozlowski
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.