diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2018-11-22 13:06:04 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2018-11-25 12:35:45 -0700 |
commit | 3d9bfb19bd705f503ac7afc2776d5d56dab88858 (patch) | |
tree | d71356ec115b2959c90bc0ca38256076016f0eb1 /scripts/.gitignore | |
parent | 32ddfe8b0b0ae39e15b01c5ce7d6ae75e9cfe6f4 (diff) |
scripts/kernel-doc: Fix struct and struct field attribute processing
The kernel-doc attempts to clear the struct and struct member attributes
from the API documentation it produces. It falls short of the job in the
following respects:
- extra whitespaces are left where __attribute__((...)) was removed,
- only a single attribute is removed per struct,
- attributes (such as aligned) containing numbers were not removed,
- attributes are only cleared from struct fields, not structs themselves.
This patch addresses these issues by removing the attributes.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts/.gitignore')
0 files changed, 0 insertions, 0 deletions