Skip to content

Commit

Permalink
[ALSA] sound/pci/pcxhr/pcxhr_core.c: fix printk warning
Browse files Browse the repository at this point in the history
sound/pci/pcxhr/pcxhr_core.c: In function `pcxhr_set_pipe_state':
sound/pci/pcxhr/pcxhr_core.c:899: warning: long int format, different type arg (arg 4)

suseconds_t is int on sparc64.

Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
akpm00 authored and tiwai committed Apr 24, 2008
1 parent 91e24fa commit ee0abef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/pcxhr/pcxhr_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ int pcxhr_set_pipe_state(struct pcxhr_mgr *mgr, int playback_mask, int capture_m
#ifdef CONFIG_SND_DEBUG_DETECT
do_gettimeofday(&my_tv2);
snd_printdd("***SET PIPE STATE*** TIME = %ld (err = %x)\n",
my_tv2.tv_usec - my_tv1.tv_usec, err);
(long)(my_tv2.tv_usec - my_tv1.tv_usec), err);
#endif
return 0;
}
Expand Down

0 comments on commit ee0abef

Please sign in to comment.