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

From
Gerd Hoffmann <kraxel@redhat.com>
Date
2017-03-14 13:44:55
  Hi,
quoted hunk
 	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
Thread (1 message) 1 message, 1 author, last reply 2017-03-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help