netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Stephan Gerhold <stephan@gerhold.net>,
	"David S. Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	netdev@vger.kernel.org, Loic Poulain <loic.poulain@linaro.org>,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Aleksander Morgado <aleksander@aleksander.es>,
	Sergey Ryazanov <ryazanov.s.a@gmail.com>,
	Johannes Berg <johannes.berg@intel.com>,
	Leon Romanovsky <leon@kernel.org>,
	M Chetan Kumar <m.chetan.kumar@intel.com>
Subject: Re: [PATCH net-next v2 3/3] net: wwan: Allow WWAN drivers to provide blocking tx and poll function
Date: Fri, 18 Jun 2021 20:45:28 +0800	[thread overview]
Message-ID: <202106182045.ttzE6el8-lkp@intel.com> (raw)
In-Reply-To: <20210618075243.42046-4-stephan@gerhold.net>

[-- Attachment #1: Type: text/plain, Size: 2434 bytes --]

Hi Stephan,

I love your patch! Yet something to improve:

[auto build test ERROR on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Stephan-Gerhold/net-wwan-Add-RPMSG-WWAN-CTRL-driver/20210618-155527
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 8fe088bd4fd12f4c8899b51d5bc3daad98767d49
config: arm-randconfig-r024-20210618 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 64720f57bea6a6bf033feef4a5751ab9c0c3b401)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://github.com/0day-ci/linux/commit/3e8b96e21bab08cfd3136fb7348c4cb77815e969
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Stephan-Gerhold/net-wwan-Add-RPMSG-WWAN-CTRL-driver/20210618-155527
        git checkout 3e8b96e21bab08cfd3136fb7348c4cb77815e969
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/usb/class/cdc-wdm.c:917:8: error: incompatible function pointer types initializing 'int (*)(struct wwan_port *, struct sk_buff *, bool)' (aka 'int (*)(struct wwan_port *, struct sk_buff *, _Bool)') with an expression of type 'int (struct wwan_port *, struct sk_buff *)' [-Werror,-Wincompatible-function-pointer-types]
           .tx = wdm_wwan_port_tx,
                 ^~~~~~~~~~~~~~~~
   1 error generated.


vim +917 drivers/usb/class/cdc-wdm.c

cac6fb015f7191 Loic Poulain 2021-05-11  913  
cac6fb015f7191 Loic Poulain 2021-05-11  914  static struct wwan_port_ops wdm_wwan_port_ops = {
cac6fb015f7191 Loic Poulain 2021-05-11  915  	.start = wdm_wwan_port_start,
cac6fb015f7191 Loic Poulain 2021-05-11  916  	.stop = wdm_wwan_port_stop,
cac6fb015f7191 Loic Poulain 2021-05-11 @917  	.tx = wdm_wwan_port_tx,
cac6fb015f7191 Loic Poulain 2021-05-11  918  };
cac6fb015f7191 Loic Poulain 2021-05-11  919  

---
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: 33309 bytes --]

      reply	other threads:[~2021-06-18 12:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-18  7:52 [PATCH net-next v2 0/3] net: wwan: Add RPMSG WWAN CTRL driver Stephan Gerhold
2021-06-18  7:52 ` [PATCH net-next v2 1/3] rpmsg: core: Add driver_data for rpmsg_device_id Stephan Gerhold
2021-06-18  7:52 ` [PATCH net-next v2 2/3] net: wwan: Add RPMSG WWAN CTRL driver Stephan Gerhold
2021-06-18  8:21   ` Aleksander Morgado
2021-06-18 10:13     ` Stephan Gerhold
2021-06-18 12:24       ` Aleksander Morgado
2021-06-18  7:52 ` [PATCH net-next v2 3/3] net: wwan: Allow WWAN drivers to provide blocking tx and poll function Stephan Gerhold
2021-06-18 12:45   ` kernel test robot [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=202106182045.ttzE6el8-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=aleksander@aleksander.es \
    --cc=bjorn.andersson@linaro.org \
    --cc=clang-built-linux@googlegroups.com \
    --cc=davem@davemloft.net \
    --cc=johannes.berg@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kuba@kernel.org \
    --cc=leon@kernel.org \
    --cc=loic.poulain@linaro.org \
    --cc=m.chetan.kumar@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=ryazanov.s.a@gmail.com \
    --cc=stephan@gerhold.net \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).