]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iplink_can: fix coding style for pointer format
authorVincent Mailhol <mailhol@kernel.org>
Sun, 21 Sep 2025 07:32:30 +0000 (16:32 +0900)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 26 Sep 2025 17:51:24 +0000 (10:51 -0700)
commit37151d8dba573ebb77fd92c8e13b0e128c2d86d8
tree93b94ebc1c03cd87a3df9300e48c1eb61e345e5c
parent230d1e52a07401f8ad192e29e1c2130c3fdf5265
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 <mailhol@kernel.org>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/iplink_can.c