Commit b3ef4445 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] conf_nitpick.py: add external vars to ignore list

There a some other types and functions that aren't declared
inside the media document but are elsewhere. Add them to the
ignore list.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 22c40033
...@@ -21,8 +21,11 @@ nitpick_ignore = [ ...@@ -21,8 +21,11 @@ nitpick_ignore = [
("c:func", "clock_gettime"), ("c:func", "clock_gettime"),
("c:func", "close"), ("c:func", "close"),
("c:func", "container_of"), ("c:func", "container_of"),
("c:func", "copy_from_user"),
("c:func", "copy_to_user"),
("c:func", "determine_valid_ioctls"), ("c:func", "determine_valid_ioctls"),
("c:func", "ERR_PTR"), ("c:func", "ERR_PTR"),
("c:func", "i2c_new_device"),
("c:func", "ioctl"), ("c:func", "ioctl"),
("c:func", "IS_ERR"), ("c:func", "IS_ERR"),
("c:func", "mmap"), ("c:func", "mmap"),
...@@ -37,6 +40,7 @@ nitpick_ignore = [ ...@@ -37,6 +40,7 @@ nitpick_ignore = [
("c:func", "struct pollfd"), ("c:func", "struct pollfd"),
("c:func", "usb_make_path"), ("c:func", "usb_make_path"),
("c:func", "write"), ("c:func", "write"),
("c:type", "atomic_t"), ("c:type", "atomic_t"),
("c:type", "bool"), ("c:type", "bool"),
("c:type", "boolean"), ("c:type", "boolean"),
...@@ -72,10 +76,10 @@ nitpick_ignore = [ ...@@ -72,10 +76,10 @@ nitpick_ignore = [
("c:type", "spi_device"), ("c:type", "spi_device"),
("c:type", "spi_master"), ("c:type", "spi_master"),
("c:type", "ssize_t"), ("c:type", "ssize_t"),
("c:type", "struct fb_fix_screeninfo"), ("c:type", "fb_fix_screeninfo"),
("c:type", "struct pollfd"), ("c:type", "pollfd"),
("c:type", "struct timeval"), ("c:type", "timeval"),
("c:type", "struct video_capability"), ("c:type", "video_capability"),
("c:type", "timeval"), ("c:type", "timeval"),
("c:type", "__u16"), ("c:type", "__u16"),
("c:type", "u16"), ("c:type", "u16"),
...@@ -87,6 +91,7 @@ nitpick_ignore = [ ...@@ -87,6 +91,7 @@ nitpick_ignore = [
("c:type", "uint16_t"), ("c:type", "uint16_t"),
("c:type", "uint32_t"), ("c:type", "uint32_t"),
("c:type", "union"), ("c:type", "union"),
("c:type", "__user"),
("c:type", "usb_device"), ("c:type", "usb_device"),
("c:type", "video_system_t"), ("c:type", "video_system_t"),
] ]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment