Re: [PATCH] can: isotp: make const array static, makes object smaller
On 10/20/20 5:42 PM, Colin King wrote: > From: Colin Ian King > > Don't populate the const array plen on the stack but instead it > static. Makes the object code smaller by 926 bytes. > > Before: >text data bss dec hex filename > 26531 1943 64 28538
[PATCH] can: isotp: make const array static, makes object smaller
From: Colin Ian King Don't populate the const array plen on the stack but instead it static. Makes the object code smaller by 926 bytes. Before: textdata bss dec hex filename 265311943 64 285386f7a net/can/isotp.o After: textdata bss dec he