Re: [PATCH v1] io.h: drop unused headers

From: Andy Shevchenko
Date: Fri Feb 21 2025 - 11:16:02 EST


On Fri, Feb 21, 2025 at 10:52:12AM +0800, kernel test robot wrote:
> Hi Raag,
>
> kernel test robot noticed the following build errors:
>
> [auto build test ERROR on b16e9f8547a328b19af59afc213ce323124d11e9]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Raag-Jadav/io-h-drop-unused-headers/20250221-013530
> base: b16e9f8547a328b19af59afc213ce323124d11e9
> patch link: https://lore.kernel.org/r/20250220173305.2752125-1-raag.jadav%40intel.com
> patch subject: [PATCH v1] io.h: drop unused headers
> config: sparc-randconfig-001-20250221 (https://download.01.org/0day-ci/archive/20250221/202502211009.s6xoWtae-lkp@xxxxxxxxx/config)
> compiler: sparc64-linux-gcc (GCC) 14.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250221/202502211009.s6xoWtae-lkp@xxxxxxxxx/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202502211009.s6xoWtae-lkp@xxxxxxxxx/
>
> All errors (new ones prefixed by >>):
>
> drivers/gpu/drm/drm_draw.c: In function 'drm_draw_color_from_xrgb8888':
> >> drivers/gpu/drm/drm_draw.c:130:17: error: implicit declaration of function 'WARN_ONCE' [-Wimplicit-function-declaration]
> 130 | WARN_ONCE(1, "Can't convert to %p4cc\n", &format);
> | ^~~~~~~~~

dwm_draw.c misses linux/bug.h.

Raag, please add it to your patch. But let's wait at least a week that CIs can
collect more issues, if any, along with people, who want to test this change.

--
With Best Regards,
Andy Shevchenko