Skip to content

Commit

Permalink
media: vivid: drop GFP_DMA32
Browse files Browse the repository at this point in the history
>From what I can see, this is not needed. And since using it issues a 'deprecated'
warning, just drop it.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Oct 25, 2022
1 parent eb1d969 commit 957148e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/test-drivers/vivid/vivid-osd.c
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ int vivid_fb_init(struct vivid_dev *dev)
int ret;

dev->video_buffer_size = MAX_OSD_HEIGHT * MAX_OSD_WIDTH * 2;
dev->video_vbase = kzalloc(dev->video_buffer_size, GFP_KERNEL | GFP_DMA32);
dev->video_vbase = kzalloc(dev->video_buffer_size, GFP_KERNEL);
if (dev->video_vbase == NULL)
return -ENOMEM;
dev->video_pbase = virt_to_phys(dev->video_vbase);
Expand Down

0 comments on commit 957148e

Please sign in to comment.