udmabuf: use sizeof(variable) instead of sizeof(type)
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Sep 2018 13:42:15 +0000 (15:42 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 12 Sep 2018 06:21:33 +0000 (08:21 +0200)
commit33f35429fc49c09a5d4b929690d4c44694c390a7
tree055a1fc3e67e2264881a473922afa682b8bfedc0
parent7b26e4e2119d0c5ede1282b22ce2af22835ff4b5
udmabuf: use sizeof(variable) instead of sizeof(type)

Reported-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20180911134216.9760-13-kraxel@redhat.com
drivers/dma-buf/udmabuf.c