aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/stir4200.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/irda/stir4200.c')
-rw-r--r--drivers/net/irda/stir4200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/stir4200.c b/drivers/net/irda/stir4200.c
index 1afaee0fa7e..042bc2f0417 100644
--- a/drivers/net/irda/stir4200.c
+++ b/drivers/net/irda/stir4200.c
@@ -332,7 +332,7 @@ static void fir_eof(struct stir_cb *stir)
332 } 332 }
333 333
334 fcs = ~(crc32_le(~0, rx_buff->data, len)); 334 fcs = ~(crc32_le(~0, rx_buff->data, len));
335 if (fcs != le32_to_cpu(get_unaligned((u32 *)(rx_buff->data+len)))) { 335 if (fcs != le32_to_cpu(get_unaligned((__le32 *)(rx_buff->data+len)))) {
336 pr_debug("crc error calc 0x%x len %d\n", fcs, len); 336 pr_debug("crc error calc 0x%x len %d\n", fcs, len);
337 stir->stats.rx_errors++; 337 stir->stats.rx_errors++;
338 stir->stats.rx_crc_errors++; 338 stir->stats.rx_crc_errors++;