[PATCH] drm: bridge: make a const array static, makes object smaller

2021-05-05 Thread Colin King
From: Colin Ian King Don't populate the const array frs_limits on the stack but instead it static. Makes the object code smaller by 128 bytes: Before: textdata bss dec hex filename 248357440 64 323397e53 drivers/gpu/drm/bridge/tc358768.o After: textdat

Re: [PATCH] drm/bridge: make a const array static, makes object smaller

2021-02-04 Thread Laurent Pinchart
Hi Colin, Thank you for the patch. On Thu, Feb 04, 2021 at 06:33:44PM +, Colin King wrote: > From: Colin Ian King > > Don't populate the const array frs_limits on the stack but instead make > it static. Makes the object code smaller by 128 bytes: > > Before: >textdata bss d

[PATCH] drm/bridge: make a const array static, makes object smaller

2021-02-04 Thread Colin King
From: Colin Ian King Don't populate the const array frs_limits on the stack but instead make it static. Makes the object code smaller by 128 bytes: Before: textdata bss dec hex filename 248457440 64 323497e5d ./drivers/gpu/drm/bridge/tc358768.o After: text