Searched hist:d763479a (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | dibusb-mb.c | d763479a Mon Mar 28 15:41:36 CDT 2022 Mauro Carvalho Chehab <mchehab@kernel.org> media: dvb-usb: dibusb-mb: use an enum for the device number
The device number is currently a value that needs to be the same on two separate tables, but the code doesn't actually enforce it, leading to errors as boards get added or removed.
Fix it by using an enum.
Link: https://lore.kernel.org/linux-media/a300c26ad4e9bb913e86eeaf0ec7d72b9e7d5d3e.1648499509.git.mchehab@kernel.org Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
/openbmc/linux/include/media/ |
H A D | dvb-usb-ids.h | d763479a Mon Mar 28 15:41:36 CDT 2022 Mauro Carvalho Chehab <mchehab@kernel.org> media: dvb-usb: dibusb-mb: use an enum for the device number
The device number is currently a value that needs to be the same on two separate tables, but the code doesn't actually enforce it, leading to errors as boards get added or removed.
Fix it by using an enum.
Link: https://lore.kernel.org/linux-media/a300c26ad4e9bb913e86eeaf0ec7d72b9e7d5d3e.1648499509.git.mchehab@kernel.org Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|