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

2023-09-08 Thread Juntong Deng
On 2023/9/7 5:13, Zack Rusin wrote: Can we follow the namespace_action naming convention here? i.e. drm_ioctl_flags_check instead. I find it a lot easier to look up/memorise the api if naming is consistent. z you are right! I will send a new patch.

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

2023-09-06 Thread Zack Rusin
On Thu, 2023-09-07 at 00:45 +0800, Juntong Deng wrote: > 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

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

2023-09-06 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