Skip to content

Commit 830e87e

Browse files
sergey-senozhatskymchehab
authored andcommitted
media: videobuf2: use explicit unsigned int in vb2_queue
Switch from 'unsigned' to 'unsigned int' so that checkpatch doesn't complain. Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
1 parent f47a468 commit 830e87e

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

‎include/media/videobuf2-core.h‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -558,15 +558,15 @@ struct vb2_queue {
558558
unsigned int io_modes;
559559
struct device *dev;
560560
unsigned long dma_attrs;
561-
unsigned bidirectional:1;
562-
unsigned fileio_read_once:1;
563-
unsigned fileio_write_immediately:1;
564-
unsigned allow_zero_bytesused:1;
565-
unsigned quirk_poll_must_check_waiting_for_buffers:1;
566-
unsigned supports_requests:1;
567-
unsigned requires_requests:1;
568-
unsigned uses_qbuf:1;
569-
unsigned uses_requests:1;
561+
unsigned int bidirectional:1;
562+
unsigned int fileio_read_once:1;
563+
unsigned int fileio_write_immediately:1;
564+
unsigned int allow_zero_bytesused:1;
565+
unsigned int quirk_poll_must_check_waiting_for_buffers:1;
566+
unsigned int supports_requests:1;
567+
unsigned int requires_requests:1;
568+
unsigned int uses_qbuf:1;
569+
unsigned int uses_requests:1;
570570

571571
struct mutex *lock;
572572
void *owner;

0 commit comments

Comments
 (0)