tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: 675b5726e8452a03e2cf91f66e813716edf4c2aa
commit: 09e9a6674e2cfbf02d7198567d72cb74e917ef0a [80/110] BACKPORT: FROMLIST: HID:
i2c-hid: Reorganize so ACPI and OF are subclasses
config: x86_64-randconfig-r034-20201109 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
git remote add chrome-os
https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.4
git checkout 09e9a6674e2cfbf02d7198567d72cb74e917ef0a
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/hid/i2c-hid/i2c-hid-acpi.c:97:5: warning: no previous
prototype for 'i2c_hid_acpi_probe' [-Wmissing-prototypes]
97 | int
i2c_hid_acpi_probe(struct i2c_client *client,
| ^~~~~~~~~~~~~~~~~~
vim +/i2c_hid_acpi_probe +97 drivers/hid/i2c-hid/i2c-hid-acpi.c
96
97 int i2c_hid_acpi_probe(struct i2c_client *client,
98
const struct i2c_device_id *dev_id)
99 {
100 struct device *dev = &client->dev;
101 struct i2c_hid_acpi *ihid_acpi;
102 u16 hid_descriptor_address;
103 int ret;
104
105 ihid_acpi = devm_kzalloc(&client->dev, sizeof(*ihid_acpi), GFP_KERNEL);
106 if (!ihid_acpi)
107 return -ENOMEM;
108
109 ihid_acpi->subclass.power_up_device = i2c_hid_acpi_power_up_device;
110
111 ret = i2c_hid_acpi_get_descriptor(client);
112 if (ret < 0)
113 return ret;
114 hid_descriptor_address = ret;
115
116 if (acpi_gbl_FADT.flags & ACPI_FADT_LOW_POWER_S0) {
117 device_set_wakeup_capable(dev, true);
118 device_set_wakeup_enable(dev, false);
119 }
120
121 return i2c_hid_core_probe(client, &ihid_acpi->subclass,
122 hid_descriptor_address);
123 }
124
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org