[driver-core:driver-core-testing 4/10] drivers/base/dd.c:508:5: sparse: symbol '__device_attach' was not declared. Should it be static?

From: kbuild test robot
Date: Mon May 18 2015 - 21:58:26 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing
head: 19e18c498dfe7d4812226efd91353a523cf28138
commit: 04bedc236d6b144e72310edff05fa7d502cec68a [4/10] driver-core: add asynchronous probing support for drivers
reproduce:
# apt-get install sparse
git checkout 04bedc236d6b144e72310edff05fa7d502cec68a
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> drivers/base/dd.c:508:5: sparse: symbol '__device_attach' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/