Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, netdev@vger.kernel.org
Subject: Re: [net-next:master 469/495] drivers/nfc/fdp/fdp.c:116:67: sparse: sparse: incorrect type in argument 4 (different modifiers)
Date: Fri, 30 Jul 2021 11:13:32 +0200	[thread overview]
Message-ID: <CAJKOXPf1NpW1AW7yFJo6pTnaSC9KiiQ4cjnGkhygLcxFXhHy_g@mail.gmail.com> (raw)
In-Reply-To: <202107300426.FDSTqdJt-lkp@intel.com>

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

      reply	other threads:[~2021-07-30  9:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-29 20:06 kernel test robot
2021-07-30  9:13 ` Krzysztof Kozlowski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJKOXPf1NpW1AW7yFJo6pTnaSC9KiiQ4cjnGkhygLcxFXhHy_g@mail.gmail.com \
    --to=krzk@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=lkp@intel.com \
    --cc=netdev@vger.kernel.org \
    --subject='Re: [net-next:master 469/495] drivers/nfc/fdp/fdp.c:116:67: sparse: sparse: incorrect type in argument 4 (different modifiers)' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
on how to clone and mirror all data and code used for this inbox