From: Ebru Akagunduz Date: Sat, 4 Oct 2014 22:47:37 +0000 (+0300) Subject: staging: comedi: Fix cast to restricted __be32 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ab08cda0e9af22d0bb03af4b69c63644a142d886;p=openwrt%2Fstaging%2Fblogic.git staging: comedi: Fix cast to restricted __be32 This patch fixes "cast to restricted __be32" sparse warning in ni_stc.h Signed-off-by: Ebru Akagunduz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_stc.h b/drivers/staging/comedi/drivers/ni_stc.h index 29efce30eb7f..131e9049f21b 100644 --- a/drivers/staging/comedi/drivers/ni_stc.h +++ b/drivers/staging/comedi/drivers/ni_stc.h @@ -1464,7 +1464,7 @@ struct ni_private { unsigned short ai_fifo_buffer[0x2000]; uint8_t eeprom_buffer[M_SERIES_EEPROM_SIZE]; - uint32_t serial_number; + __be32 serial_number; struct mite_struct *mite; struct mite_channel *ai_mite_chan;