Skip to content

Commit

Permalink
V4L/DVB (9635): v4l: s2255drv fix firmware test on big-endian
Browse files Browse the repository at this point in the history
Noticed by sparse:
drivers/media/video/s2255drv.c:2531:6: warning: restricted __le32 degrades to integer

Cc: Dean Anderson <dean@sensoray.com>
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Harvey Harrison authored and Mauro Carvalho Chehab committed Nov 17, 2008
1 parent 41286d9 commit deaf53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/s2255drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ struct s2255_dmaqueue {
#define S2255_FW_FAILED 3
#define S2255_FW_DISCONNECTING 4

#define S2255_FW_MARKER 0x22552f2f
#define S2255_FW_MARKER cpu_to_le32(0x22552f2f)
/* 2255 read states */
#define S2255_READ_IDLE 0
#define S2255_READ_FRAME 1
Expand Down

0 comments on commit deaf53e

Please sign in to comment.