Re: [PATCH 1/2] ACPI/tables: Correct the wrong count increasing

kbuild test robot
2016-08-08T23:28:37Z

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

Hi Baoquan,

[auto build test ERROR on pm/linux-next]
[also build test ERROR on v4.8-rc1 next-20160808]
[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/Baoquan-He/ACPI-tables-Correct-the-wrong-count-increasing/20160809-070345
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: x86_64-randconfig-x002-201632 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/acpi/tables.c: In function 'acpi_parse_entries_array':
>> drivers/acpi/tables.c:284:11: error: invalid type argument of '->' (have 'struct acpi_subtable_proc')
proc[i]->count++;
^~

vim +284 drivers/acpi/tables.c

278 if (entry->type != proc[i].id)
279 continue;
280 if (!proc[i].handler ||
281 proc[i].handler(entry, table_end))
282 return -EINVAL;
283
> 284 proc[i]->count++;
285 break;
286 }
287 if (i != proc_num)

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 25801 bytes --]