From: Vincent Mailhol Date: Sun, 21 Sep 2025 07:32:30 +0000 (+0900) Subject: iplink_can: fix coding style for pointer format X-Git-Tag: v6.17.0~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=37151d8dba573ebb77fd92c8e13b0e128c2d86d8;p=thirdparty%2Fiproute2.git iplink_can: fix coding style for pointer format checkpatch.pl complains about the pointer symbol * being attached to the type instead of being attached to the variable: ERROR: "foo* bar" should be "foo *bar" #85: FILE: ip/iplink_can.c:85: + const char* name) ERROR: "foo* bar" should be "foo *bar" #93: FILE: ip/iplink_can.c:93: +static void print_ctrlmode(enum output_type t, __u32 flags, const char* key) Fix those two warnings. Signed-off-by: Vincent Mailhol Signed-off-by: Stephen Hemminger --- diff --git a/ip/iplink_can.c b/ip/iplink_can.c index 9f6084e6..1afdf088 100644 --- a/ip/iplink_can.c +++ b/ip/iplink_can.c @@ -82,7 +82,7 @@ static void set_ctrlmode(char *name, char *arg, } static void print_flag(enum output_type t, __u32 *flags, __u32 flag, - const char* name) + const char *name) { if (*flags & flag) { *flags &= ~flag; @@ -90,7 +90,7 @@ static void print_flag(enum output_type t, __u32 *flags, __u32 flag, } } -static void print_ctrlmode(enum output_type t, __u32 flags, const char* key) +static void print_ctrlmode(enum output_type t, __u32 flags, const char *key) { if (!flags) return;