Skip to contentSkip to conversation

Staging: solo6x10: New driver (staging) for Softlogic 6x10

DISCUSSION Dan Carpenter 1 participant 1 message Jun 9, 2012 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello Ben Collins,

The patch faa4fd2a0951: "Staging: solo6x10: New driver (staging) for Softlogic 6x10" from Jun 17, 2010, leads to the following warning:
drivers/staging/media/solo6x10/tw28.c:352 tw2815_setup()

	 warn: x |= 0

	tbl_ntsc_tw2815_common[0x06] |= 0x03 & (DEFAULT_HDELAY_NTSC >> 8);

DEFAULT_HDELAY_NTSC is less than 256 so after the shift we get:

	tbl_ntsc_tw2815_common[0x06] |= 0x03 & 0;

Which is a noop. There are several of these complicated noops.

drivers/staging/media/solo6x10/tw28.c:352 tw2815_setup() warn: x |= 0
drivers/staging/media/solo6x10/tw28.c:362 tw2815_setup() warn: x |= 0
drivers/staging/media/solo6x10/tw28.c:367 tw2815_setup() warn: x |= 0
drivers/staging/media/solo6x10/tw28.c:373 tw2815_setup() warn: x |= 0
drivers/staging/media/solo6x10/tw28.c:383 tw2815_setup() warn: x |= 0

regards,
dan carpenter