[PATCH v2] drm: Rename drm_ioctl_flags() to eliminate duplicate declaration warning

2023-09-25 Thread Juntong Deng
There are 'enum drm_ioctl_flags' and 'bool drm_ioctl_flags(...)' with the same name, which is not a problem in C, but it can lead to 'WARNING: Duplicate C declaration' when generating documentation. According to the purpose of the function, rename 'drm_ioctl_flags(...)' to 'drm_ioctl_flags_check(.

[PATCH v2] drm: Rename drm_ioctl_flags() to eliminate duplicate declaration warning

2023-09-07 Thread Juntong Deng
There are 'enum drm_ioctl_flags' and 'bool drm_ioctl_flags(...)' with the same name, which is not a problem in C, but it can lead to 'WARNING: Duplicate C declaration' when generating documentation. According to the purpose of the function, rename 'drm_ioctl_flags(...)' to 'drm_ioctl_flags_check(.