Re: [PATCH][next] scsi: scsi_debug: make read-only arrays static const

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 29 Jul 2025 07:49:30 +0100, Colin Ian King wrote:

> Don't populate the read-only arrays on the stack at run time, instead
> make them static const. Also reduces overall size.
> 
> before:
>    text	   data	    bss	    dec	    hex	filename
>  367439	  89582	   5952	 462973	  7107d	drivers/scsi/scsi_debug.o
> 
> [...]

Applied to 6.17/scsi-queue, thanks!

[1/1] scsi: scsi_debug: make read-only arrays static const
      https://git.kernel.org/mkp/scsi/c/383cd6d879a1

-- 
Martin K. Petersen	Oracle Linux Engineering




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux