[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250921-iplink_can-checkpatch-fixes-v1-0-1ddab98560cd@kernel.org>
Date: Sun, 21 Sep 2025 16:32:29 +0900
From: Vincent Mailhol <mailhol@...nel.org>
To: netdev@...r.kernel.org, Stephen Hemminger <stephen@...workplumber.org>,
David Ahern <dsahern@...il.com>
Cc: Marc Kleine-Budde <mkl@...gutronix.de>,
Oliver Hartkopp <socketcan@...tkopp.net>, linux-kernel@...r.kernel.org,
linux-can@...r.kernel.org, Vincent Mailhol <mailhol@...nel.org>
Subject: [PATCH iproute2-next 0/3] iplink_can: fix checkpatch.pl warnings
This is a clean up series which goes through all the checkpatch
warnings on ip/iplink_can.c and fixes them one by one. By the end on
this series, there is only one warning left:
WARNING: Prefer __printf(2, 0) over __attribute__((format(printf, 2, 0)))
#320: FILE: ip/iplink_can.c:320:
+static void __attribute__((format(printf, 2, 0)))
Because iproute2 does not declare the __printf() macro, that last one
can not be fixed.
Signed-off-by: Vincent Mailhol <mailhol@...nel.org>
---
Vincent Mailhol (3):
iplink_can: fix coding style for pointer format
iplink_can: fix SPDX-License-Identifier tag format
iplink_can: factorise the calls to usage()
ip/iplink_can.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
---
base-commit: afceddf61037440628a5612f15a6eaefd28d9fd3
change-id: 20250921-iplink_can-checkpatch-fixes-1ca804bd4fa4
Best regards,
--
Vincent Mailhol <mailhol@...nel.org>
Powered by blists - more mailing lists