From: kbuild test robot <lkp@intel.com>
To: Ayman Bagabas <ayman.bagabas@gmail.com>
Cc: kbuild-all@01.org, Darren Hart <dvhart@infradead.org>,
Andy Shevchenko <andy@infradead.org>,
Ayman Bagabas <ayman.bagabas@gmail.com>,
Takashi Iwai <tiwai@suse.de>, Mattias Jacobsson <2pi@mok.nu>,
platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 3/6] platform/x86: huawei-wmi: Implement huawei wmi management
Date: Thu, 19 Sep 2019 11:22:40 +0800 [thread overview]
Message-ID: <201909191127.cLc5eTZR%lkp@intel.com> (raw)
In-Reply-To: <20190919005505.23822-4-ayman.bagabas@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2500 bytes --]
Hi Ayman,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[cannot apply to v5.3 next-20190918]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Ayman-Bagabas/platform-x86-Huawei-WMI-laptop-extras-driver/20190919-090022
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
# 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@intel.com>
All warnings (new ones prefixed by >>):
In file included from include/uapi/linux/posix_types.h:5:0,
from include/uapi/linux/types.h:14,
from include/linux/compiler.h:180,
from include/linux/ioport.h:13,
from include/linux/acpi.h:12,
from drivers/platform/x86/huawei-wmi.c:8:
drivers/platform/x86/huawei-wmi.c: In function 'huawei_wmi_micmute_led_set':
>> include/linux/stddef.h:8:14: warning: passing argument 3 of 'huawei_wmi_cmd' makes integer from pointer without a cast [-Wint-conversion]
#define NULL ((void *)0)
^
>> drivers/platform/x86/huawei-wmi.c:290:40: note: in expansion of macro 'NULL'
return huawei_wmi_cmd(arg.cmd, NULL, NULL);
^~~~
drivers/platform/x86/huawei-wmi.c:161:12: note: expected 'size_t {aka long unsigned int}' but argument is of type 'void *'
static int huawei_wmi_cmd(u64 arg, u8 *buf, size_t buflen)
^~~~~~~~~~~~~~
vim +/huawei_wmi_cmd +8 include/linux/stddef.h
^1da177e4c3f41 Linus Torvalds 2005-04-16 6
^1da177e4c3f41 Linus Torvalds 2005-04-16 7 #undef NULL
^1da177e4c3f41 Linus Torvalds 2005-04-16 @8 #define NULL ((void *)0)
6e218287432472 Richard Knutsson 2006-09-30 9
:::::: The code at line 8 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
---
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: 69878 bytes --]
next prev parent reply other threads:[~2019-09-19 3:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-19 0:54 [PATCH v2 0/6] platform/x86: Huawei WMI laptop extras driver Ayman Bagabas
2019-09-19 0:54 ` [PATCH v2 1/6] platform/x86: huawei-wmi: Move to platform driver Ayman Bagabas
2019-09-19 0:54 ` [PATCH v2 2/6] platform/x86: huawei-wmi: Add quirks and module parameters Ayman Bagabas
2019-09-19 0:54 ` [PATCH v2 3/6] platform/x86: huawei-wmi: Implement huawei wmi management Ayman Bagabas
2019-09-19 3:22 ` kbuild test robot [this message]
2019-09-19 0:54 ` [PATCH v2 4/6] platform/x86: huawei-wmi: Add battery charging thresholds Ayman Bagabas
2019-09-19 3:08 ` kbuild test robot
2019-09-19 0:54 ` [PATCH v2 5/6] platform/x86: huawei-wmi: Add fn-lock support Ayman Bagabas
2019-09-19 0:54 ` [PATCH v2 6/6] platform/x86: huawei-wmi: Add debugfs support Ayman Bagabas
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=201909191127.cLc5eTZR%lkp@intel.com \
--to=lkp@intel.com \
--cc=2pi@mok.nu \
--cc=andy@infradead.org \
--cc=ayman.bagabas@gmail.com \
--cc=dvhart@infradead.org \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=tiwai@suse.de \
/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®