Re: [PATCH 01/10] drm/imagination: avoid unused-const-variable warning

From: Jani Nikula
Date: Thu Apr 10 2025 - 08:01:10 EST


On Thu, 10 Apr 2025, Matt Coster <Matt.Coster@xxxxxxxxxx> wrote:
> Having said that, surely it makes sense to keep at least
> *_debugfs_init() gated behind CONFIG_DEBUG_FS?

If they're basically just calls to debugfs_create_{dir,file}, the
compiler pretty much turns them into nops, and you'll get better build
coverage.

BR,
Jani.


--
Jani Nikula, Intel