1. 22 3月, 2013 11 次提交
  2. 21 3月, 2013 20 次提交
  3. 20 3月, 2013 2 次提交
    • K
      ath6kl: fix size_t printf warnings · 0d4e6717
      Kalle Valo 提交于
      My new tracing code for ath6kl introduced these warnings on 64-bit:
      
      trace.h:38:1: warning: format '%d' expects argument of type 'int',
      	but argument 4 has type 'size_t' [-Wformat]
      trace.h:61:1: warning: format '%d' expects argument of type 'int',
      	but argument 4 has type 'size_t' [-Wformat]
      trace.h:84:1: warning: format '%d' expects argument of type 'int',
      	but argument 6 has type 'size_t' [-Wformat]
      trace.h:119:1: warning: format '%d' expects argument of type 'int',
      	but argument 7 has type 'size_t' [-Wformat]
      trace.h:173:1: warning: format '%d' expects argument of type 'int',
      	but argument 3 has type 'size_t' [-Wformat]
      trace.h:193:1: warning: format '%d' expects argument of type 'int',
      	but argument 5 has type 'size_t' [-Wformat]
      trace.h:221:1: warning: format '%d' expects argument of type 'int',
      	but argument 5 has type 'size_t' [-Wformat]
      
      Fix them by using %zd.
      Reported-by: NJohn W. Linville <linville@tuxdriver.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      0d4e6717
    • M
      PCI: Use ROM images from firmware only if no other ROM source available · 547b5246
      Matthew Garrett 提交于
      Mantas Mikulėnas reported that his graphics hardware failed to
      initialise after commit f9a37be0 ("x86: Use PCI setup data").
      
      The aim of this commit was to ensure that ROM images were available on
      some Apple systems that don't expose the GPU ROM via any other source.
      In this case, UEFI appears to have provided a broken ROM image that we
      were using even though there was a perfectly valid ROM available via
      other sources.  The simplest way to handle this seems to be to just
      re-order pci_map_rom() and leave any firmare-supplied ROM to last.
      Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
      Tested-by: NMantas Mikulėnas <grawity@gmail.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      547b5246
  4. 19 3月, 2013 7 次提交