Hi Tomi,
I love your patch! Perhaps something to improve:
[auto build test WARNING on drm-intel/for-linux-next] [also build test WARNING on linus/master v5.10-rc7] [cannot apply to drm-tip/drm-tip anholt/for-next next-20201208] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Tomi-Valkeinen/drm-fix-and-cleanup-... base: git://anongit.freedesktop.org/drm-intel for-linux-next config: x86_64-randconfig-s021-20201208 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-179-ga00755aa-dirty # https://github.com/0day-ci/linux/commit/82a704a10c400f58d4b9b44e6def07cc7d6b... git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Tomi-Valkeinen/drm-fix-and-cleanup-legacy-gamma-support/20201208-215917 git checkout 82a704a10c400f58d4b9b44e6def07cc7d6bab20 # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot lkp@intel.com
All warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/drm_ioc32.c:38:
drivers/gpu/drm/drm_crtc_internal.h:121:17: warning: 'struct drm_modeset_acquire_ctx' declared inside parameter list will not be visible outside of this definition or declaration
121 | struct drm_modeset_acquire_ctx *ctx); | ^~~~~~~~~~~~~~~~~~~~~~~
vim +121 drivers/gpu/drm/drm_crtc_internal.h
116 117 bool drm_crtc_supports_legacy_gamma(struct drm_crtc *crtc); 118 int drm_crtc_legacy_gamma_set(struct drm_crtc *crtc, 119 u16 *red, u16 *green, u16 *blue, 120 uint32_t size,
121 struct drm_modeset_acquire_ctx *ctx);
122
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org