Mauro Carvalho Chehab
346282db9c
scripts: kernel-doc: proper handle @foo->bar()
...
The pattern @foo->bar() is valid, as it can be used by a
function pointer inside a struct passed as a parameter.
Right now, it causes a warning:
./drivers/firewire/core-transaction.c:606: WARNING: Inline strong start-string without end-string.
In this specific case, the kernel-doc markup is:
/**
* fw_core_remove_address_handler() - unregister an address handler
* @handler: callback
*
* To be called in process context.
*
* When fw_core_remove_address_handler() returns, @handler->callback() is
* guaranteed to not run on any CPU anymore.
*/
With seems valid on my eyes. So, instead of trying to hack
the kernel-doc markup, let's teach it about how to handle
such things. This should likely remove lots of other similar
warnings as well.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/48b46426d7bf6ff7529f20e5718fbf4e9758e62c.1586881715.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2020-04-20 15:35:58 -06:00
..
2019-06-25 10:17:07 +02:00
2020-04-03 13:12:26 -07:00
2020-02-04 03:05:24 +00:00
2020-04-03 13:12:26 -07:00
2020-04-09 00:13:45 +09:00
2020-04-09 00:13:45 +09:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2020-04-09 00:13:45 +09:00
2017-03-28 16:16:52 +02:00
2020-04-03 13:22:40 -07:00
2020-03-30 09:23:00 +09:00
2020-04-03 13:12:26 -07:00
2019-05-30 11:26:39 -07:00
2020-03-25 11:50:48 +01:00
2020-03-03 20:49:21 +09:00
2019-05-24 17:27:11 +02:00
2018-07-18 01:18:05 +09:00
2018-12-28 12:11:44 -08:00
2019-06-05 17:37:11 +02:00
2020-03-13 20:53:40 +01:00
2018-06-28 13:36:39 +09:00
2017-11-02 11:10:55 +01:00
2020-02-25 03:35:16 -07:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:39 -07:00
2020-04-07 10:43:44 -07:00
2019-06-05 02:33:10 +09:00
2019-02-19 21:27:53 +01:00
2017-11-02 11:10:55 +01:00
2019-03-04 22:34:54 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-14 08:58:56 +09:00
2017-11-02 11:10:55 +01:00
2016-10-11 15:06:30 -07:00
2019-07-12 11:05:41 -07:00
2018-12-28 12:11:44 -08:00
2018-09-09 09:14:07 +09:00
2017-11-02 11:10:55 +01:00
2020-04-15 15:13:13 -06:00
2020-03-17 08:59:03 +09:00
2019-06-05 17:37:07 +02:00
2015-09-25 16:31:45 +01:00
2015-04-15 14:01:12 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-06-05 17:37:10 +02:00
2018-11-18 10:15:09 -08:00
2018-03-26 02:01:24 +09:00
2020-01-27 14:25:06 -07:00
2019-01-06 09:46:51 +09:00
2017-11-02 11:10:55 +01:00
2020-04-09 00:13:45 +09:00
2019-03-04 22:35:04 +09:00
2018-06-08 18:56:00 +09:00
2018-06-25 23:21:13 +09:00
2020-03-03 20:49:21 +09:00
2019-07-27 12:18:19 +09:00
2018-12-01 23:13:14 +09:00
2019-06-21 16:58:37 +02:00
2019-05-24 17:36:45 +02:00
2020-02-21 11:22:15 -08:00
2019-05-30 11:26:39 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-08-21 21:05:21 +09:00
2016-02-26 15:30:20 +00:00
2019-11-22 10:35:18 -07:00
2020-03-19 23:40:20 +09:00
2020-01-16 00:26:22 +09:00
2020-04-09 00:13:45 +09:00
2020-04-20 15:35:58 -06:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:39 -07:00
2017-11-02 11:10:55 +01:00
2020-03-19 12:32:38 +01:00
2020-04-09 00:13:45 +09:00
2019-03-17 12:56:32 +09:00
2020-04-09 00:13:45 +09:00
2020-04-09 00:13:45 +09:00
2020-03-25 10:19:43 +09:00
2020-04-09 00:13:45 +09:00
2019-03-04 09:29:41 -08:00
2019-11-15 00:23:10 +09:00
2020-04-09 00:13:45 +09:00
2019-08-15 13:24:04 +01:00
2019-05-21 10:50:46 +02:00
2020-03-03 20:49:21 +09:00
2019-08-22 01:14:11 +09:00
2019-07-17 22:39:27 +09:00
2020-03-13 10:04:36 +09:00
2019-07-17 22:39:27 +09:00
2019-11-11 20:10:01 +09:00
2020-04-07 10:43:44 -07:00
2017-11-02 11:10:55 +01:00
2019-06-05 17:37:10 +02:00
2020-04-09 00:13:45 +09:00
2019-08-29 23:54:29 +09:00
2015-06-23 13:35:47 +09:00
2017-11-02 11:10:55 +01:00
2017-03-13 09:40:28 -07:00
2019-07-17 22:39:27 +09:00
2019-10-05 15:29:49 +09:00
2019-11-11 20:10:01 +09:00
2019-05-30 11:29:23 -07:00
2020-03-26 15:08:27 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-01-19 16:08:25 +00:00
2019-10-12 20:49:33 -04:00
2019-05-30 11:26:39 -07:00
2019-11-11 20:10:01 +09:00
2019-06-05 17:37:17 +02:00
2017-02-10 12:43:47 +11:00
2019-12-13 10:47:58 +01:00
2019-12-13 10:47:58 +01:00
2018-12-28 12:11:44 -08:00
2019-06-01 15:51:31 -07:00
2020-04-02 09:35:25 -07:00
2020-04-20 15:19:13 -06:00
2018-05-04 06:21:06 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-09-05 08:12:09 -06:00
2019-07-11 00:05:09 +09:00
2019-11-13 10:52:05 +00:00
2018-11-30 14:45:01 -08:00
2020-02-10 13:35:15 -08:00
2017-11-02 11:10:55 +01:00
2014-08-20 16:03:45 +02:00