drivers/gpu/drm/nouveau/nouveau_drm.c:628:6: sparse: symbol 'nouveau_drm_ioc
Subsystems (4)
PATCH 84/84 drivers/gpu/drm/nouveau/nouveau_drm.c:628:6: sparse: symbol 'nouveau_drm_ioc
Hi Dave,
FYI, there are new sparse warnings show up in
tree: git://people.freedesktop.org/~airlied/linux.git drm-opt-pwr head: 75c2c97fd7c783f4f06423a41671f61840e65fa5 commit: 75c2c97fd7c783f4f06423a41671f61840e65fa5 [84/84] nouveau: add runtime PM support (v0.5)
All sparse warnings:
drivers/gpu/drm/nouveau/nouveau_drm.c:406:1: sparse: symbol 'nouveau_do_suspend' was not declared. Should it be static? drivers/gpu/drm/nouveau/nouveau_drm.c:468:1: sparse: symbol 'nouveau_do_resume' was not declared. Should it be static?
+ drivers/gpu/drm/nouveau/nouveau_drm.c:628:6: sparse: symbol 'nouveau_drm_ioctl' was not declared. Should it be static?
vim +628 drivers/gpu/drm/nouveau/nouveau_drm.c
Quoted 1 line
628 long nouveau_drm_ioctl(struct file *filp,
629 unsigned int cmd, unsigned long arg)
630 {
631 struct drm_file *file_priv = filp->private_data;
632 struct drm_device *dev;
633 long ret;
634 dev = file_priv->minor->dev;
635 ret = pm_runtime_get(dev->dev);
636 if (ret < 0)
637 return ret;
638
Please consider folding the attached diff :-)
---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu <[email protected]> Intel Corporation
drivers/gpu/drm/nouveau/nouveau_drm.c +3 -3
@@ -402,7 +402,7 @@ nouveau_drm_remove(struct pci_dev *pdev)nouveau_object_debug (); } -int +static int nouveau_do_suspend (struct drm_device *dev) {struct nouveau_drm *drm =nouveau_drm (dev);
@@ -464,7 +464,7 @@ int nouveau_pmops_suspend(struct device *dev)return 0 ; } -int +static int nouveau_do_resume (struct drm_device *dev) {struct nouveau_drm *drm =nouveau_drm (dev);
@@ -625,7 +625,7 @@ nouveau_ioctls[] = { DRM_IOCTL_DEF_DRV(NOUVEAU_GEM_INFO, nouveau_gem_ioctl_info, DRM_UNLOCKED|DRM_AUTH), }; -long nouveau_drm_ioctl (struct file *filp, +static long nouveau_drm_ioctl (struct file *filp,unsigned int cmd,unsigned long arg) {struct drm_file *file_priv = filp->private_data;