From: Gerd Hoffmann Date: Tue, 11 Sep 2018 13:42:08 +0000 (+0200) Subject: udmabuf: constify udmabuf_create args X-Git-Tag: v5.15~303^2~28^2~6344 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc254553f25d081cb72b8eff0c778fabfcf42500;p=platform%2Fkernel%2Flinux-starfive.git udmabuf: constify udmabuf_create args Reported-by: Laurent Pinchart Signed-off-by: Gerd Hoffmann Reviewed-by: Laurent Pinchart Acked-by: Daniel Vetter Link: http://patchwork.freedesktop.org/patch/msgid/20180911134216.9760-6-kraxel@redhat.com --- diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c index e3560e840dd7..51cc585faab9 100644 --- a/drivers/dma-buf/udmabuf.c +++ b/drivers/dma-buf/udmabuf.c @@ -116,8 +116,8 @@ static const struct dma_buf_ops udmabuf_ops = { #define SEALS_WANTED (F_SEAL_SHRINK) #define SEALS_DENIED (F_SEAL_WRITE) -static long udmabuf_create(struct udmabuf_create_list *head, - struct udmabuf_create_item *list) +static long udmabuf_create(const struct udmabuf_create_list *head, + const struct udmabuf_create_item *list) { DEFINE_DMA_BUF_EXPORT_INFO(exp_info); struct file *memfd = NULL;