Re: [PATCH] KVM: arm: Use PTR_ERR_OR_ZERO()
From: Christoffer Dall
Date: Mon Dec 04 2017 - 14:40:55 EST
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