[net-next:master 276/294] net/switchdev/switchdev.c:190:5: sparse: symbol '__switchdev_port_obj_add' was not declared. Should it be static?

From: kbuild test robot
Date: Tue May 12 2015 - 19:44:47 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head: a62b70ddd13993e3706acf3021bf2680461195f4
commit: 491d0f1533ac750260406dbf84cdad44fd3d8a29 [276/294] switchdev: introduce switchdev add/del obj ops
reproduce:
# apt-get install sparse
git checkout 491d0f1533ac750260406dbf84cdad44fd3d8a29
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> net/switchdev/switchdev.c:190:5: sparse: symbol '__switchdev_port_obj_add' 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/