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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 7 Apr 2017 15:28:42 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Al Viro <viro@...IV.linux.org.uk>
Cc:     kbuild-all@...org,
        Lauro Ramos Venancio <lauro.venancio@...nbossa.org>,
        linux-kernel@...r.kernel.org, linux-wireless@...r.kernel.org
Subject: Re: [PATCH] nfc: fix get_unaligned_...() misuses

Hi Al,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.11-rc5 next-20170406]
[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/Al-Viro/nfc-fix-get_unaligned_-misuses/20170407-123722
config: x86_64-randconfig-a0-04071419 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

>> drivers/nfc//nfcmrvl/fw_dnld.c:20:29: error: linux/unaligned.h: No such file or directory
   drivers/nfc//nfcmrvl/fw_dnld.c: In function 'process_state_fw_dnld':
>> drivers/nfc//nfcmrvl/fw_dnld.c:284: error: implicit declaration of function 'get_unaligned_le16'

vim +/get_unaligned_le16 +284 drivers/nfc//nfcmrvl/fw_dnld.c

   278			skb_pull(skb, 3);
   279			if (skb->data[0] != HELPER_CMD_PACKET_FORMAT || skb->len != 5) {
   280				nfc_err(priv->dev, "bad command");
   281				return -EINVAL;
   282			}
   283			skb_pull(skb, 1);
 > 284			len = get_unaligned_le16(skb->data);
   285			skb_pull(skb, 2);
   286			comp_len = get_unaligned_le16(skb->data);
   287			memcpy(&comp_len, skb->data, 2);

---
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" (29945 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ