From: John Keeping Date: Fri, 18 Nov 2022 16:13:18 +0000 (+0000) Subject: rockchip: mkimage: make RC4 key const X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=2c8992910196114656a6668dd00ee15081c786a0;p=u-boot.git rockchip: mkimage: make RC4 key const This is read-only data, so mark it as such. Signed-off-by: John Keeping Reviewed-by: Philipp Tomsich Reviewed-by: Kever Yang --- diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 0db45c2d41..fab61949e1 100644 --- a/tools/rkcommon.c +++ b/tools/rkcommon.c @@ -154,7 +154,7 @@ struct spl_params { static struct spl_params spl_params = { 0 }; -static unsigned char rc4_key[16] = { +static const unsigned char rc4_key[16] = { 124, 78, 3, 4, 85, 5, 9, 7, 45, 44, 123, 56, 23, 13, 23, 17 };