From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [PATCH] drm: virtio: fix eno.cocci warnings Date: Tue, 14 Mar 2017 14:44:55 +0100 Message-ID: <1489499095.27633.5.camel__2908.14009863443$1489499112$gmane$org@redhat.com> References: <201703142048.yRK7v1yg%fengguang.wu@intel.com> <20170314123451.GA51889@lkp-sb04.lkp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20170314123451.GA51889@lkp-sb04.lkp.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: kbuild test robot Cc: David Airlie , Daniel Vetter , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, kbuild-all@01.org List-Id: virtualization@lists.linuxfoundation.org Hi, > vbuf = kmem_cache_alloc(vgdev->vbufs, GFP_KERNEL); > - if (IS_ERR(vbuf)) > + if (!vbuf) > return ERR_CAST(vbuf); Well, ERR_CAST(vbuf) isn't correct either ... correct fix has been committed to drm-misc-next today and should show up in linux-next shortly. cheers, Gerd