Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1600456

Re: [PATCH] drm: virtio: fix eno.cocci warnings

From Gerd Hoffmann <kraxel@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] drm: virtio: fix eno.cocci warnings
Date 2017-03-14 15:10 +0100
Message-ID <tkVjc-1eJ-43@gated-at.bofh.it> (permalink)
References <tkTKq-8tD-9@gated-at.bofh.it> <tkTKq-8tD-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


  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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] drm: virtio: fix eno.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2017-03-14 13:30 +0100
  Re: [PATCH] drm: virtio: fix eno.cocci warnings Gerd Hoffmann <kraxel@redhat.com> - 2017-03-14 15:10 +0100

csiph-web