[PATCH] KVM: arm: Use PTR_ERR_OR_ZERO()
Christoffer Dall
cdall at kernel.org
Mon Dec 4 11:40:49 PST 2017
On Mon, Dec 04, 2017 at 12:11:22PM +0100, Gomonovych, Vasyl wrote:
> Hi Christoffer
>
> It is just syntax sugar of course
> and in mentioned function context it looks harmonically because it is
> in the end of function return statement.
> But in context of around source files it is looks not so harmonically because
> existing code uses old approach.
> And this old approach is only in one place here.
> So it is just a try to fix the warning and may be force to use it in a
> future changes.
ok, thanks.
-Christoffer
More information about the linux-arm-kernel
mailing list