[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <eaf82e8001a370d7be779bd15163f7210a968e8b.camel@perches.com>
Date: Mon, 16 May 2022 00:18:28 -0700
From: Joe Perches <joe@...ches.com>
To: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>,
Tejun Heo <tj@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>, gcc <gcc@....gnu.org>
Subject: Re: [PATCH v3] workqueue: Wrap flush_workqueue() using a macro
On Mon, 2022-05-16 at 14:00 +0900, Tetsuo Handa wrote:
[]
> Changes in v3:
> Revert suggested change in v2, for kernel test robot <lkp@...el.com> found
>
> warning: Function parameter or member 'flush_workqueue' not described in 'void'
> warning: expecting prototype for flush_workqueue(). Prototype was for void() instead
>
> when built with W=1 option.
Odd, perhaps that not a valid error message and is a defect
in gcc's parsing of function definitions.
> Changes in v2:
> Use "void (flush_workqueue)(struct workqueue_struct *wq)" and remove
> "#undef flush_workqueue", suggested by Joe Perches <joe@...ches.com>.
Powered by blists - more mailing lists