diff options
author | 2018-09-11 15:42:08 +0200 | |
---|---|---|
committer | 2018-09-12 08:21:29 +0200 | |
commit | dc254553f25d081cb72b8eff0c778fabfcf42500 (patch) | |
tree | 815fb4e0c39a0c4f07ac3630991ef2b5d6db51c3 /drivers/dma-buf | |
parent | udmabuf: constify udmabuf_ops (diff) | |
download | linux-dc254553f25d081cb72b8eff0c778fabfcf42500.tar.gz linux-dc254553f25d081cb72b8eff0c778fabfcf42500.tar.bz2 linux-dc254553f25d081cb72b8eff0c778fabfcf42500.zip |
udmabuf: constify udmabuf_create args
Reported-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20180911134216.9760-6-kraxel@redhat.com
Diffstat (limited to 'drivers/dma-buf')
-rw-r--r-- | drivers/dma-buf/udmabuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |