diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2018-01-17 01:56:54 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2018-01-17 18:52:22 +0100 |
commit | 698c03b4745006e14eccb8270f714d52fac1c97e (patch) | |
tree | 5432e1f38da57af40039f4a99cff24b74c84c722 /certs/blacklist_nohashes.c | |
parent | Input: remove remaining unneeded MODULE_VERSION() usage (diff) | |
download | linux-698c03b4745006e14eccb8270f714d52fac1c97e.tar.xz linux-698c03b4745006e14eccb8270f714d52fac1c97e.zip |
Input: inline macros for MODULE_LICENSE, etc
Inline macro for MODULE_LICENSE to make the license information easy to
find, eg with grep. Inline the other module-related macros at the same
time.
A simplified version of the semantic patch for the MODULE_LICENSE
case is as follows: (http://coccinelle.lip6.fr/)
// <smpl>
@s@
identifier i; expression e;
@@
@@
declarer name MODULE_LICENSE;
identifier s.i;
expression s.e;
@@
MODULE_LICENSE(
- i
+ e
);
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
[dtor: added a couple of drivers missed by the script, removed a few unused
DRIVER_VERSION macros]
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'certs/blacklist_nohashes.c')
0 files changed, 0 insertions, 0 deletions