Skip to content

Commit

Permalink
V4L/DVB (7783): drivers/media/dvb/frontends/s5h1420.c: printk fix
Browse files Browse the repository at this point in the history
drivers/media/dvb/frontends/s5h1420.c: In function `s5h1420_setsymbolrate':
drivers/media/dvb/frontends/s5h1420.c:484: warning: long long unsigned int format, u64 arg (arg 2)

We do not know what type the architecture uses for u64.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Andrew Morton authored and Mauro Carvalho Chehab committed Apr 29, 2008
1 parent f4d2782 commit d74bee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/frontends/s5h1420.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ static void s5h1420_setsymbolrate(struct s5h1420_state* state,
val *= 2;
do_div(val, (state->fclk / 1000));

dprintk("symbol rate register: %06llx\n", val);
dprintk("symbol rate register: %06llx\n", (unsigned long long)val);

v = s5h1420_readreg(state, Loop01);
s5h1420_writereg(state, Loop01, v & 0x7f);
Expand Down

0 comments on commit d74bee8

Please sign in to comment.