Re: [PATCH] Bluetooth: make hw_err static, reduces object code size

2019-01-24 Thread Marcel Holtmann
Hi Colin, > Don't populate the const array hw_err on the stack but instead make > it static. Makes the object code smaller by 45 bytes: > > Before: > text data bss dec hex filename > 100880 210901088 123058 1e0b2 linux/net/bluetooth/hci_core.o > > After:

[PATCH] Bluetooth: make hw_err static, reduces object code size

2019-01-24 Thread Colin King
From: Colin Ian King Don't populate the const array hw_err on the stack but instead make it static. Makes the object code smaller by 45 bytes: Before: textdata bss dec hex filename 100880 210901088 123058 1e0b2 linux/net/bluetooth/hci_core.o After: textdata