Jacob Keller
c75a33c84b
net: remove newlines in NL_SET_ERR_MSG_MOD
...
The NL_SET_ERR_MSG_MOD macro is used to report a string describing an
error message to userspace via the netlink extended ACK structure. It
should not have a trailing newline.
Add a cocci script which catches cases where the newline marker is
present. Using this script, fix the handful of cases which accidentally
included a trailing new line.
I couldn't figure out a way to get a patch mode working, so this script
only implements context, report, and org.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com >
Cc: Jakub Kicinski <kuba@kernel.org >
Cc: Andy Whitcroft <apw@canonical.com >
Cc: Joe Perches <joe@perches.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2020-05-07 17:56:14 -07:00
..
2019-07-06 12:50:01 +02:00
2020-03-27 09:29:56 +00:00
2020-02-24 13:02:53 -08:00
2020-05-04 12:05:56 -07:00
2019-09-24 16:37:18 +02:00
2020-05-06 22:10:13 -07:00
2020-04-28 14:38:38 -07:00
2020-05-06 22:10:13 -07:00
2020-05-04 12:05:56 -07:00
2020-03-28 18:13:18 +01:00
2020-04-03 13:12:26 -07:00
2020-05-07 17:56:14 -07:00
2020-04-30 12:13:07 -07:00
2019-12-08 11:52:02 +01:00
2020-04-28 14:39:46 -07:00
2020-05-06 22:10:13 -07:00
2019-05-30 11:29:52 -07:00
2020-04-25 20:42:57 -07:00
2020-05-01 17:02:27 -07:00
2020-04-28 14:39:46 -07:00
2020-05-07 17:56:14 -07:00
2020-01-27 11:09:31 +01:00
2020-05-06 17:45:45 -07:00
2020-05-07 17:40:02 -07:00
2020-05-04 12:05:56 -07:00
2019-09-26 08:56:17 +02:00
2020-05-06 22:10:13 -07:00
2020-05-06 22:10:13 -07:00
2019-12-09 10:36:44 -08:00
2020-03-16 17:14:02 -07:00
2019-07-08 19:48:57 -07:00
2020-05-04 12:05:56 -07:00
2019-06-23 13:24:17 -07:00
2020-04-30 12:56:35 -07:00
2020-02-26 20:38:13 -08:00
2020-04-30 12:56:36 -07:00
2019-05-30 11:26:41 -07:00
2020-04-27 02:07:40 -04:00
2020-05-06 22:10:13 -07:00
2020-01-09 18:36:22 -08:00
2020-05-06 22:10:13 -07:00
2020-04-22 19:55:01 -07:00
2020-04-30 17:51:42 -07:00
2020-05-04 12:05:56 -07:00
2020-03-12 22:34:48 -07:00
2019-06-19 17:09:55 +02:00
2020-04-25 20:48:21 -07:00
2020-03-15 00:25:25 -07:00
2020-04-27 02:07:40 -04:00
2019-11-26 14:40:13 -08:00
2020-05-07 13:21:12 -07:00
2020-04-28 21:23:38 +02:00
2019-12-16 10:15:49 +01:00
2020-05-04 12:05:56 -07:00
2020-04-30 12:56:38 -07:00
2020-05-06 22:10:13 -07:00
2020-04-28 21:23:38 +02:00
2020-05-05 12:56:52 -07:00
2019-06-22 08:59:24 -04:00
2020-05-06 22:10:13 -07:00
2020-02-26 20:58:33 -08:00
2020-05-04 10:31:13 -07:00
2020-04-27 11:22:38 -07:00
2020-02-28 12:12:53 -08:00
2020-04-27 10:18:01 -07:00
2019-08-10 15:25:47 -07:00
2020-04-30 17:51:42 -07:00
2020-05-06 22:10:13 -07:00
2020-04-26 09:41:31 -07:00
2020-03-30 10:59:20 -07:00
2020-03-10 09:12:49 -06:00
2020-04-30 12:56:37 -07:00
2020-01-24 13:44:07 +01:00
2020-03-30 12:18:49 -07:00
2019-05-21 10:50:45 +02:00