From: Andrew Morton Date: Fri, 10 Feb 2006 10:00:43 +0000 (-0800) Subject: [PATCH] smctr warning fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ca5b0ec8ae9f11c85d1f27b19f182a054303f324;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [PATCH] smctr warning fix drivers/net/tokenring/smctr.c: In function `smctr_load_firmware': drivers/net/tokenring/smctr.c:2981: warning: assignment discards qualifiers from pointer target type Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/tokenring/smctr.h b/drivers/net/tokenring/smctr.h index b306c7e4c793..88dfa2e01d6e 100644 --- a/drivers/net/tokenring/smctr.h +++ b/drivers/net/tokenring/smctr.h @@ -1042,7 +1042,7 @@ typedef struct net_local { __u16 functional_address[2]; __u16 bitwise_group_address[2]; - __u8 *ptr_ucode; + const __u8 *ptr_ucode; __u8 cleanup;