Skip to content
Snippets Groups Projects
Select Git revision
  • f6248dd88dba3aeb19351410a027d92eee7ceb72
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

flat.c

  • Geert Uytterhoeven's avatar
    cb0fbbf2
    Blackfin: flat: Use %x to format u32 · cb0fbbf2
    Geert Uytterhoeven authored
    
    Several variables had their types changed from unsigned long to u32,
    but the printk()-style format to print them wasn't updated, leading to:
    
        arch/blackfin/kernel/flat.c: In function 'bfin_get_addr_from_rp':
        arch/blackfin/kernel/flat.c:35:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'u32' [-Wformat]
        arch/blackfin/kernel/flat.c: In function 'bfin_put_addr_at_rp':
        arch/blackfin/kernel/flat.c:80:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'u32' [-Wformat]
    
    Fixes: 468138d7 ("binfmt_flat: flat_{get,put}_addr_from_rp() should be able to fail")
    Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    cb0fbbf2
    History
    Blackfin: flat: Use %x to format u32
    Geert Uytterhoeven authored
    
    Several variables had their types changed from unsigned long to u32,
    but the printk()-style format to print them wasn't updated, leading to:
    
        arch/blackfin/kernel/flat.c: In function 'bfin_get_addr_from_rp':
        arch/blackfin/kernel/flat.c:35:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'u32' [-Wformat]
        arch/blackfin/kernel/flat.c: In function 'bfin_put_addr_at_rp':
        arch/blackfin/kernel/flat.c:80:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'u32' [-Wformat]
    
    Fixes: 468138d7 ("binfmt_flat: flat_{get,put}_addr_from_rp() should be able to fail")
    Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>