From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752094AbdCNNpP convert rfc822-to-8bit (ORCPT ); Tue, 14 Mar 2017 09:45:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44716 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751076AbdCNNo6 (ORCPT ); Tue, 14 Mar 2017 09:44:58 -0400 Message-ID: <1489499095.27633.5.camel@redhat.com> Subject: Re: [PATCH] drm: virtio: fix eno.cocci warnings From: Gerd Hoffmann To: kbuild test robot Cc: kbuild-all@01.org, Daniel Vetter , David Airlie , dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org Date: Tue, 14 Mar 2017 14:44:55 +0100 In-Reply-To: <20170314123451.GA51889@lkp-sb04.lkp.intel.com> References: <201703142048.yRK7v1yg%fengguang.wu@intel.com> <20170314123451.GA51889@lkp-sb04.lkp.intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Mime-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 14 Mar 2017 13:44:58 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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