On 16 March 2017 at 11:14, Vinzenz 'evilissimo' Feenstra
<vfeen...@redhat.com> wrote:
> From: Vinzenz Feenstra <vfeen...@redhat.com>
>
> When importing dynamically functions via `GetProcAddress` in windows
> related code, it is quite common to make a typedef for the resulting
> function pointer. When the function to be imported, has a stdcall
> calling convention, usually the `WINAPI` macro is used. This patch adds an
> exception in the checkpatch.pl script to allow the calling convention
> specification in function pointer typedefs, to be `WINAPI`.
>
> Signed-off-by: Vinzenz Feenstra <vfeen...@redhat.com>

Could you provide an example of the kind of source line that provokes
the incorrect warning and the checkpatch output that results,
please?

thanks
-- PMM

Reply via email to