Re: [PATCH] staging: gdm724x: make DEVICE_STRING array const

From: Greg KH

Date: Thu Oct 15 2026 - 05:48:42 EST


On Thu, Oct 15, 2026 at 03:01:25PM +0530, pdsj2807@xxxxxxxxx wrote:
> From: Palak Raval <pdsj2807@xxxxxxxxx>
>
> The DEVICE_STRING array contains pointers to string literals and is
> never modified.
>
> Declare it as 'const char * const' to improve const correctness and
> prevent accidental modification. Also fix minor formatting issues
> reported by checkpatch.

Please only do one logical thing per patch.

thanks,

greg k-h