lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 13 Oct 2019 02:23:07 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Shannon Nelson <snelson@...sando.io>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: drivers/net/ethernet/pensando/ionic/ionic_lif.c:333:2: error:
 implicit declaration of function 'dynamic_hex_dump'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1c0cc5f1ae5ee5a6913704c0d75a6e99604ee30a
commit: 77ceb68e29ccd25d923b6af59e74ecaf736cc4b7 ionic: Add notifyq support
date:   5 weeks ago
config: x86_64-randconfig-a002-201941 (attached as .config)
compiler: gcc-6 (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
reproduce:
        git checkout 77ceb68e29ccd25d923b6af59e74ecaf736cc4b7
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   drivers/net/ethernet/pensando/ionic/ionic_lif.c: In function 'ionic_notifyq_service':
>> drivers/net/ethernet/pensando/ionic/ionic_lif.c:333:2: error: implicit declaration of function 'dynamic_hex_dump' [-Werror=implicit-function-declaration]
     dynamic_hex_dump("event ", DUMP_PREFIX_OFFSET, 16, 1,
     ^~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/dynamic_hex_dump +333 drivers/net/ethernet/pensando/ionic/ionic_lif.c

   311	
   312	static bool ionic_notifyq_service(struct ionic_cq *cq,
   313					  struct ionic_cq_info *cq_info)
   314	{
   315		union ionic_notifyq_comp *comp = cq_info->cq_desc;
   316		struct net_device *netdev;
   317		struct ionic_queue *q;
   318		struct ionic_lif *lif;
   319		u64 eid;
   320	
   321		q = cq->bound_q;
   322		lif = q->info[0].cb_arg;
   323		netdev = lif->netdev;
   324		eid = le64_to_cpu(comp->event.eid);
   325	
   326		/* Have we run out of new completions to process? */
   327		if (eid <= lif->last_eid)
   328			return false;
   329	
   330		lif->last_eid = eid;
   331	
   332		dev_dbg(lif->ionic->dev, "notifyq event:\n");
 > 333		dynamic_hex_dump("event ", DUMP_PREFIX_OFFSET, 16, 1,
   334				 comp, sizeof(*comp), true);
   335	
   336		switch (le16_to_cpu(comp->event.ecode)) {
   337		case IONIC_EVENT_LINK_CHANGE:
   338			netdev_info(netdev, "Notifyq IONIC_EVENT_LINK_CHANGE eid=%lld\n",
   339				    eid);
   340			netdev_info(netdev,
   341				    "  link_status=%d link_speed=%d\n",
   342				    le16_to_cpu(comp->link_change.link_status),
   343				    le32_to_cpu(comp->link_change.link_speed));
   344			break;
   345		case IONIC_EVENT_RESET:
   346			netdev_info(netdev, "Notifyq IONIC_EVENT_RESET eid=%lld\n",
   347				    eid);
   348			netdev_info(netdev, "  reset_code=%d state=%d\n",
   349				    comp->reset.reset_code,
   350				    comp->reset.state);
   351			break;
   352		default:
   353			netdev_warn(netdev, "Notifyq unknown event ecode=%d eid=%lld\n",
   354				    comp->event.ecode, eid);
   355			break;
   356		}
   357	
   358		return true;
   359	}
   360	

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

Download attachment ".config.gz" of type "application/gzip" (30797 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ