Re: Status of kernel-janitors?

"Linus Probert" <[email protected]>
Newsgroups org.kernel.vger.kernel-janitors
Message-ID <[email protected]>
On Mon Mar 30, 2026 at 10:48 PM CEST, Dan Carpenter wrote:
> On Mon, Mar 30, 2026 at 09:27:25AM -0400, Robert P. J. Day wrote:
>> On Mon, 30 Mar 2026, Linus Probert wrote:

[...]

> There is a coccinelle check for this already.  I don't know why it
> hasn't been done to NUM_ELEMENTS().
>
> scripts/coccinelle/misc/array_size.cocci

So. I have patches for the amd gpu which I can submit. Just not sure if
these have been left out for a reason or if the coccinelle check just
missed these.

I'm also not 100% sure where I send them. I made the changes on my local
staging-testing clone/branch. But these drivers are not in staging. Do
they still go through the same channels?

This is the gist of it:

- drm/amd/display: Remove unused NUM_ELEMENTS macros
- drm/amd/display: Replace inline NUM_ELEMENTS macro with ARRAY_SIZE

Some guidance on this would be most welcome.

Br,
Linus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.