• Andrew Morton's avatar
    sx.c: fix printk warnings on sparc32 · 32fb3ca8
    Andrew Morton authored
    drivers/char/sx.c: In function 'sx_set_real_termios':
    drivers/char/sx.c:973: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'long unsigned int'
    drivers/char/sx.c:999: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'tcflag_t'
    drivers/char/sx.c:1012: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'tcflag_t'
    
    sparc32 seems to use weird types for its tty things.
    
    [ Fine by me but this is ancient debug and most of the debug in sx just
      wants deleting eventually.  - Alan ]
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Acked-by: default avatarAlan Cox <alan@redhat.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    32fb3ca8
sx.c 74.7 KB