From: kbuild test robot <lkp@intel.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: kbuild-all@01.org, linux-acpi@vger.kernel.org,
devel@linuxdriverproject.org, sparmaintainer@unisys.com,
devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org,
linux-watchdog@vger.kernel.org, linux-efi@vger.kernel.org,
Christoph Hellwig <hch@lst.de>,
linux-kernel@vger.kernel.org, Lukas Wunner <lukas@wunner.de>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
"K. Y. Srinivasan" <kys@microsoft.com>,
Haiyang Zhang <haiyangz@microsoft.com>,
Stephen Hemminger <sthemmin@microsoft.com>
Subject: Re: [PATCH v1 4/6] vmbus: Switch to use new generic UUID API
Date: Sun, 23 Jul 2017 02:46:04 +0800 [thread overview]
Message-ID: <201707230246.gWX5xeQF%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170719182857.73693-5-andriy.shevchenko@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 3972 bytes --]
Hi Andy,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.13-rc1]
[cannot apply to next-20170721]
[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/Andy-Shevchenko/uuid-Convert-rest-users-to-new-API/20170723-022330
config: i386-tinyconfig (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=i386
Note: the linux-review/Andy-Shevchenko/uuid-Convert-rest-users-to-new-API/20170723-022330 HEAD f8d40b52dfac11e78d56509455812bcfe9962ce0 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
In file included from scripts//mod/file2alias.c:44:0:
scripts//mod/../../include/linux/mod_devicetable.h:408:2: error: unknown type name 'guid_t'
guid_t guid;
^~~~~~
scripts//mod/../../include/linux/mod_devicetable.h:638:2: error: unknown type name 'guid_t'
guid_t uuid;
^~~~~~
In file included from scripts//mod/file2alias.c:13:0:
scripts//mod/file2alias.c: In function 'do_vmbus_entry':
>> scripts//mod/file2alias.c:938:49: error: request for member 'b' in something not a structure or union
sprintf(&guid_name[i], "%02x", TO_NATIVE((guid->b)[i/2]));
^
scripts//mod/modpost.h:92:23: note: in definition of macro 'TO_NATIVE'
#define TO_NATIVE(x) (x)
^
scripts//mod/file2alias.c: In function 'do_mei_entry':
scripts//mod/file2alias.c:1233:18: error: incompatible type for argument 2 of 'add_uuid'
add_uuid(alias, *uuid);
^
scripts//mod/file2alias.c:137:20: note: expected 'uuid_le {aka struct <anonymous>}' but argument is of type 'int'
static inline void add_uuid(char *str, uuid_le uuid)
^~~~~~~~
vim +/b +938 scripts//mod/file2alias.c
b01d9f28 Rusty Russell 2007-10-22 923
d2ee52aa K. Y. Srinivasan 2011-08-25 924 /*
d2ee52aa K. Y. Srinivasan 2011-08-25 925 * Looks like: vmbus:guid
d2ee52aa K. Y. Srinivasan 2011-08-25 926 * Each byte of the guid will be represented by two hex characters
d2ee52aa K. Y. Srinivasan 2011-08-25 927 * in the name.
d2ee52aa K. Y. Srinivasan 2011-08-25 928 */
d2ee52aa K. Y. Srinivasan 2011-08-25 929
6543becf Andreas Schwab 2013-01-20 930 static int do_vmbus_entry(const char *filename, void *symval,
d2ee52aa K. Y. Srinivasan 2011-08-25 931 char *alias)
d2ee52aa K. Y. Srinivasan 2011-08-25 932 {
d2ee52aa K. Y. Srinivasan 2011-08-25 933 int i;
6543becf Andreas Schwab 2013-01-20 934 DEF_FIELD_ADDR(symval, hv_vmbus_device_id, guid);
6543becf Andreas Schwab 2013-01-20 935 char guid_name[(sizeof(*guid) + 1) * 2];
d2ee52aa K. Y. Srinivasan 2011-08-25 936
6543becf Andreas Schwab 2013-01-20 937 for (i = 0; i < (sizeof(*guid) * 2); i += 2)
af3ff643 K. Y. Srinivasan 2015-12-14 @938 sprintf(&guid_name[i], "%02x", TO_NATIVE((guid->b)[i/2]));
d2ee52aa K. Y. Srinivasan 2011-08-25 939
d2ee52aa K. Y. Srinivasan 2011-08-25 940 strcpy(alias, "vmbus:");
d2ee52aa K. Y. Srinivasan 2011-08-25 941 strcat(alias, guid_name);
d2ee52aa K. Y. Srinivasan 2011-08-25 942
d2ee52aa K. Y. Srinivasan 2011-08-25 943 return 1;
d2ee52aa K. Y. Srinivasan 2011-08-25 944 }
6543becf Andreas Schwab 2013-01-20 945 ADD_TO_DEVTABLE("vmbus", hv_vmbus_device_id, do_vmbus_entry);
d2ee52aa K. Y. Srinivasan 2011-08-25 946
:::::: The code at line 938 was first introduced by commit
:::::: af3ff643ea91ba64dd8d0b1cbed54d44512f96cd Drivers: hv: vmbus: Use uuid_le type consistently
:::::: TO: K. Y. Srinivasan <kys@microsoft.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.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: 6684 bytes --]
next prev parent reply other threads:[~2017-07-22 18:47 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-19 18:28 [PATCH v1 0/6] uuid: Convert rest users to new API Andy Shevchenko
2017-07-19 18:28 ` [PATCH v1 1/6] efi: Switch to use new generic UUID API Andy Shevchenko
2017-07-20 12:18 ` Ard Biesheuvel
2017-07-25 10:40 ` Andy Shevchenko
2017-07-26 7:52 ` Christoph Hellwig
2017-07-26 8:36 ` Ard Biesheuvel
2017-08-30 12:41 ` Christoph Hellwig
2017-07-19 18:28 ` [PATCH v1 2/6] mei: " Andy Shevchenko
2017-07-22 18:45 ` kbuild test robot
2017-07-19 18:28 ` [PATCH v1 3/6] staging: unisys: " Andy Shevchenko
2017-07-26 10:01 ` Andy Shevchenko
2017-07-30 15:32 ` Greg Kroah-Hartman
2017-07-30 17:26 ` Andy Shevchenko
2017-07-30 17:37 ` Greg Kroah-Hartman
2017-07-31 17:20 ` Andy Shevchenko
2017-08-30 12:38 ` Christoph Hellwig
2017-08-30 13:09 ` Andy Shevchenko
2017-08-30 13:11 ` Greg Kroah-Hartman
2017-07-19 18:28 ` [PATCH v1 4/6] vmbus: " Andy Shevchenko
2017-07-19 20:18 ` Haiyang Zhang
2017-07-19 21:54 ` Andy Shevchenko
2017-07-22 18:46 ` kbuild test robot [this message]
2017-07-24 15:54 ` Christoph Hellwig
2017-07-19 18:28 ` [PATCH v1 5/6] uuid: Kill uapi/uuid.h Andy Shevchenko
2017-07-22 18:48 ` kbuild test robot
2017-07-24 15:54 ` Christoph Hellwig
2017-07-19 18:28 ` [PATCH v1 6/6] device property: Switch to use new generic UUID API Andy Shevchenko
2017-07-19 19:27 ` Rafael J. Wysocki
2017-07-25 14:12 ` Mika Westerberg
2017-07-26 0:21 ` Rafael J. Wysocki
2017-07-26 0:35 ` Andy Shevchenko
2017-07-26 0:27 ` Rafael J. Wysocki
2017-07-26 10:03 ` Andy Shevchenko
2017-07-26 18:58 ` Rafael J. Wysocki
2017-08-30 12:41 ` Christoph Hellwig
2017-08-30 13:46 ` Rafael J. Wysocki
2017-08-30 13:57 ` Christoph Hellwig
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=201707230246.gWX5xeQF%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=devel@driverdev.osuosl.org \
--cc=devel@linuxdriverproject.org \
--cc=haiyangz@microsoft.com \
--cc=hch@lst.de \
--cc=kbuild-all@01.org \
--cc=kys@microsoft.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=lukas@wunner.de \
--cc=sparmaintainer@unisys.com \
--cc=sthemmin@microsoft.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®