Commit ab08cda0 authored by Ebru Akagunduz's avatar Ebru Akagunduz Committed by Greg Kroah-Hartman

staging: comedi: Fix cast to restricted __be32

This patch fixes "cast to restricted __be32"
sparse warning in ni_stc.h
Signed-off-by: default avatarEbru Akagunduz <ebru.akagunduz@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 109d6720
...@@ -1464,7 +1464,7 @@ struct ni_private { ...@@ -1464,7 +1464,7 @@ struct ni_private {
unsigned short ai_fifo_buffer[0x2000]; unsigned short ai_fifo_buffer[0x2000];
uint8_t eeprom_buffer[M_SERIES_EEPROM_SIZE]; uint8_t eeprom_buffer[M_SERIES_EEPROM_SIZE];
uint32_t serial_number; __be32 serial_number;
struct mite_struct *mite; struct mite_struct *mite;
struct mite_channel *ai_mite_chan; struct mite_channel *ai_mite_chan;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment