Re: [PATCH] [RESEND] IB/uverbs: fix gcc-7 type warning

From: Christoph Hellwig
Date: Wed Sep 06 2017 - 09:58:24 EST


On Wed, Sep 06, 2017 at 03:45:31PM +0200, Arnd Bergmann wrote:
> We get a harmless warning about the fact that we use the result of a
> multiplication as a condition:

Please just turn the thing into a function while you're at it.
I'm not even sure it needs to be inline..