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 <mailhol@kernel.org>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
}
static void print_flag(enum output_type t, __u32 *flags, __u32 flag,
- const char* name)
+ const char *name)
{
if (*flags & flag) {
*flags &= ~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;