diff options
-rw-r--r-- | drivers/media/pci/bt8xx/bttv-cards.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/pci/bt8xx/bttv-cards.c b/drivers/media/pci/bt8xx/bttv-cards.c index d8ec583c154c..41055606b969 100644 --- a/drivers/media/pci/bt8xx/bttv-cards.c +++ b/drivers/media/pci/bt8xx/bttv-cards.c | |||
@@ -3870,10 +3870,10 @@ static void osprey_eeprom(struct bttv *btv, const u8 ee[256]) | |||
3870 | } else { | 3870 | } else { |
3871 | unsigned short type; | 3871 | unsigned short type; |
3872 | 3872 | ||
3873 | for (i = 4*16; i < 8*16; i += 16) { | 3873 | for (i = 4 * 16; i < 8 * 16; i += 16) { |
3874 | u16 checksum = ip_compute_csum(ee + i, 16); | 3874 | u16 checksum = (__force u16)ip_compute_csum(ee + i, 16); |
3875 | 3875 | ||
3876 | if ((checksum&0xff) + (checksum>>8) == 0xff) | 3876 | if ((checksum & 0xff) + (checksum >> 8) == 0xff) |
3877 | break; | 3877 | break; |
3878 | } | 3878 | } |
3879 | if (i >= 8*16) | 3879 | if (i >= 8*16) |