drivers/gpu/drm/nouveau/nouveau_connector.c:60:5: sparse: symbol 'nouveau_hdmimhz' was not declared. Should it be static?

From: kbuild test robot
Date: Sat Mar 19 2016 - 10:18:05 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6b5f04b6cf8ebab9a65d9c0026c650bb2538fd0f
commit: 1a0c96c075bb4517d4ce4fb6750ee0a3cf38714c drm/nouveau/kms: allow 225/297MHz pixel clocks for HDMI on Fermi/Kepler
date: 10 weeks ago
reproduce:
# apt-get install sparse
git checkout 1a0c96c075bb4517d4ce4fb6750ee0a3cf38714c
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> drivers/gpu/drm/nouveau/nouveau_connector.c:60:5: sparse: symbol 'nouveau_hdmimhz' was not declared. Should it be static?
drivers/gpu/drm/nouveau/nouveau_connector.c:1081:29: sparse: cast to restricted __le16
drivers/gpu/drm/nouveau/nouveau_connector.c:1083:39: sparse: cast to restricted __le16

Please review and possibly fold the followup patch.

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