mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: maomao xu <albert008.xu@gmail.com>
Cc: kbuild-all@01.org, gregkh@linuxfoundation.org,
	bhumirks@gmail.com, singhalsimran0@gmail.com, nikolas@gnu.org,
	bhaktipriya96@gmail.com, elise.lennion@gmail.com,
	albert008.xu@gmail.com, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: rtl8192u: Fix warnings about endianness
Date: Wed, 15 Feb 2017 17:44:51 +0800	[thread overview]
Message-ID: <201702151752.Q4Fn0kEO%fengguang.wu@intel.com> (raw)
In-Reply-To: <1487149587-10365-1-git-send-email-albert008.xu@gmail.com>

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

Hi maomao,

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.10-rc8 next-20170215]
[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/maomao-xu/staging-rtl8192u-Fix-warnings-about-endianness/20170215-171426
config: x86_64-randconfig-x019-201707 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c: In function 'ieee80211_indicate_packets':
>> drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c:563:38: error: implicit declaration of function 'kb_push' [-Werror=implicit-function-declaration]
        put_unaligned_be16(sub_skb->len, kb_push(sub_skb, 2));
                                         ^~~~~~~
>> drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c:563:38: warning: passing argument 2 of 'put_unaligned_be16' makes pointer from integer without a cast [-Wint-conversion]
   In file included from arch/x86/include/asm/unaligned.h:8:0,
                    from include/linux/etherdevice.h:28,
                    from drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c:40:
   include/linux/unaligned/access_ok.h:52:29: note: expected 'void *' but argument is of type 'int'
    static __always_inline void put_unaligned_be16(u16 val, void *p)
                                ^~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/kb_push +563 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c

   557				 * replace EtherType */
   558					skb_pull(sub_skb, SNAP_SIZE);
   559					memcpy(skb_push(sub_skb, ETH_ALEN), prxb->src, ETH_ALEN);
   560					memcpy(skb_push(sub_skb, ETH_ALEN), prxb->dst, ETH_ALEN);
   561				} else {
   562				/* Leave Ethernet header part of hdr and full payload */
 > 563					put_unaligned_be16(sub_skb->len, kb_push(sub_skb, 2));
   564					memcpy(skb_push(sub_skb, ETH_ALEN), prxb->src, ETH_ALEN);
   565					memcpy(skb_push(sub_skb, ETH_ALEN), prxb->dst, ETH_ALEN);
   566				}

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

  reply	other threads:[~2017-02-15  9:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-15  9:06 maomao xu
2017-02-15  9:44 ` kbuild test robot [this message]
2017-02-16 18:43 ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2017-02-15 10:21 maomao xu
2017-02-15  7:54 maomao xu
2017-02-15  8:33 ` Arnd Bergmann
2017-02-15 20:31   ` Dan Carpenter
2017-02-18  3:55     ` maomao

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=201702151752.Q4Fn0kEO%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=albert008.xu@gmail.com \
    --cc=bhaktipriya96@gmail.com \
    --cc=bhumirks@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=elise.lennion@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nikolas@gnu.org \
    --cc=singhalsimran0@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

all inboxes | Powered by JetHome®