From mboxrd@z Thu Jan 1 00:00:00 1970 From: cdall@kernel.org (Christoffer Dall) Date: Mon, 4 Dec 2017 20:40:49 +0100 Subject: [PATCH] KVM: arm: Use PTR_ERR_OR_ZERO() In-Reply-To: References: <1511909297-8585-1-git-send-email-gomonovych@gmail.com> <20171201080049.GB4218@cbox> Message-ID: <20171204194049.GH32397@cbox> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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