netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Rosen Penev <rosenp@gmail.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org, igor.russkikh@aquantia.com
Subject: Re: [PATCH] net: aquantia: Switch alloc_etherdev to devm variant
Date: Sat, 9 Mar 2019 22:14:46 +0800	[thread overview]
Message-ID: <201903092256.fpZLvG9a%lkp@intel.com> (raw)
In-Reply-To: <20190309052126.23761-1-rosenp@gmail.com>

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

Hi Rosen,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on net/master]
[also build test ERROR on v5.0 next-20190306]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Rosen-Penev/net-aquantia-Switch-alloc_etherdev-to-devm-variant/20190309-181154
reproduce:
        # apt-get install sparse
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

All errors (new ones prefixed by >>):

>> drivers/net/ethernet/aquantia/atlantic/aq_main.c:33:16: sparse: error: undefined identifier 'devm_alloc_etherdev_mq'

vim +/devm_alloc_etherdev_mq +33 drivers/net/ethernet/aquantia/atlantic/aq_main.c

    27	
    28	struct net_device *aq_ndev_alloc(void)
    29	{
    30		struct net_device *ndev = NULL;
    31		struct aq_nic_s *aq_nic = NULL;
    32	
  > 33		ndev = devm_alloc_etherdev_mq(aq_nic->ndev, sizeof(struct aq_nic_s),
    34					      AQ_CFG_VECS_MAX);
    35		if (!ndev)
    36			return NULL;
    37	
    38		aq_nic = netdev_priv(ndev);
    39		aq_nic->ndev = ndev;
    40		ndev->netdev_ops = &aq_ndev_ops;
    41		ndev->ethtool_ops = &aq_ethtool_ops;
    42	
    43		return ndev;
    44	}
    45	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 67264 bytes --]

      reply	other threads:[~2019-03-09 14:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-09  5:21 [PATCH] net: aquantia: Switch alloc_etherdev to devm variant Rosen Penev
2019-03-09 14:14 ` kbuild 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=201903092256.fpZLvG9a%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=igor.russkikh@aquantia.com \
    --cc=kbuild-all@01.org \
    --cc=netdev@vger.kernel.org \
    --cc=rosenp@gmail.com \
    /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).