]> git.baikalelectronics.ru Git - kernel.git/commit
media: ir_toy: assignment to be16 should be of correct type
authorSean Young <sean@mess.org>
Wed, 13 Oct 2021 08:14:10 +0000 (09:14 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 19 Oct 2021 07:08:39 +0000 (08:08 +0100)
commit7f17b4c25e92d6c1bb0ec0e56b52e3ef71fb6b25
treea91d3424996cf0248ef8178a0d2a062cc0c0a15f
parentcf48ac137cb685340b8e073b5c9e03b3ca055da6
media: ir_toy: assignment to be16 should be of correct type

commit 614e4937ce9c ("media: ir_toy: prevent device from hanging during
transmit") removed a cpu_to_be16() cast, which causes a sparse warning.

Fixes: 614e4937ce9c ("media: ir_toy: prevent device from hanging during transmit")
Reported-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/rc/ir_toy.c