Re: [PATCH] [PATCH] staging-next: most: dim2: convert pr_info/err/warn to dev_info/err/warn

From: Ethan Tidmore

Date: Fri Feb 06 2026 - 20:40:14 EST


On Fri Feb 6, 2026 at 5:35 PM CST, Zeeshan Ahmad wrote:
> Note: This is a re-submission of a previous patch sent with an incorrect CC.
> Please consider this the correct submission.

This line is over 75 characters which breaks linux kernel coding style.
Use "$ ./scripts/checkpatch.pl --strict <patch>" from now on before
sending your patch off to catch things like this. Also, this note
belongs in your v2 changes below the "---".

>
> The dim2 driver currently uses generic pr_* logging macros. Hardware
> drivers should use the device-specific dev_* logging macros to provide
> better context in the system logs, especially in systems with multiple
> controller instances.
>
> This patch converts all applicable logging calls in dim2.c to use the
> proper device-specific APIs.
>
> Note: This patch is rebased on the current staging-next branch.
> It was previously submitted against master.

This should also be below the "---" in v2 changes.

>
> Signed-off-by: Zeeshan Ahmad <zeeshanahmad022019@xxxxxxxxx>
> ---

Your header begins with "[PATCH] [PATCH]" [PATCH] should only happen
once and since it appears this is your v2 it should have been [PATCH
v2]. Also, you used "staging-next:" I guess you were using the branch
name but, the correct way to do it is just "staging:".

Please visit Dan Carpenter's guide on submitting a v2: (but this next
one will be your v3)
https://staticthinking.wordpress.com/2022/07/27/how-to-send-a-v2-patch/

Thanks,

ET