Messages in this thread | | | Date | Mon, 10 Jan 2022 09:28:37 +0100 | Subject | Re: [PATCH] nfc: pn544: make array rset_cmd static const | From | Krzysztof Kozlowski <> |
| |
On 09/01/2022 21:24, Colin Ian King wrote: > Don't populate the read-only array rset_cmd on the stack but > instead it static const. Also makes the object code a little smaller. > > Signed-off-by: Colin Ian King <colin.i.king@gmail.com> > --- > drivers/nfc/pn544/i2c.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Best regards, Krzysztof
| |