1. 30 3月, 2012 1 次提交
    • R
      ARM: sa11x0: fix build errors from DMA engine API updates · d9d54540
      Russell King 提交于
      The recent merge of the sa11x0 code into mainline had silent conflicts
      with further development of the DMA engine API, leading to build errors
      and warnings:
      
      drivers/net/irda/sa1100_ir.c: In function 'sa1100_irda_dma_start':
      drivers/net/irda/sa1100_ir.c:151: error: too few arguments to function 'chan->device->device_prep_slave_sg'
      drivers/dma/sa11x0-dma.c: In function 'sa11x0_dma_probe':
      drivers/dma/sa11x0-dma.c:950: warning: assignment from incompatible pointer type
      
      Fix these.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      d9d54540
  2. 29 3月, 2012 1 次提交
  3. 17 3月, 2012 1 次提交
  4. 12 3月, 2012 1 次提交
  5. 07 3月, 2012 2 次提交
  6. 09 2月, 2012 16 次提交
  7. 01 2月, 2012 1 次提交
  8. 20 12月, 2011 1 次提交
  9. 08 12月, 2011 3 次提交
  10. 02 12月, 2011 1 次提交
  11. 28 11月, 2011 1 次提交
  12. 22 11月, 2011 1 次提交
    • T
      freezer: unexport refrigerator() and update try_to_freeze() slightly · a0acae0e
      Tejun Heo 提交于
      There is no reason to export two functions for entering the
      refrigerator.  Calling refrigerator() instead of try_to_freeze()
      doesn't save anything noticeable or removes any race condition.
      
      * Rename refrigerator() to __refrigerator() and make it return bool
        indicating whether it scheduled out for freezing.
      
      * Update try_to_freeze() to return bool and relay the return value of
        __refrigerator() if freezing().
      
      * Convert all refrigerator() users to try_to_freeze().
      
      * Update documentation accordingly.
      
      * While at it, add might_sleep() to try_to_freeze().
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Cc: Samuel Ortiz <samuel@sortiz.org>
      Cc: Chris Mason <chris.mason@oracle.com>
      Cc: "Theodore Ts'o" <tytso@mit.edu>
      Cc: Steven Whitehouse <swhiteho@redhat.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Jan Kara <jack@suse.cz>
      Cc: KONISHI Ryusuke <konishi.ryusuke@lab.ntt.co.jp>
      Cc: Christoph Hellwig <hch@infradead.org>
      a0acae0e
  13. 19 11月, 2011 1 次提交
    • G
      USB: convert drivers/net/* to use module_usb_driver() · d632eb1b
      Greg Kroah-Hartman 提交于
      This converts the drivers in drivers/net/* to use the
      module_usb_driver() macro which makes the code smaller and a bit
      simpler.
      
      Added bonus is that it removes some unneeded kernel log messages about
      drivers loading and/or unloading.
      
      Cc: Wolfgang Grandegger <wg@grandegger.com>
      Cc: Samuel Ortiz <samuel@sortiz.org>
      Cc: Oliver Neukum <oliver@neukum.name>
      Cc: Peter Korsgaard <jacmet@sunsite.dk>
      Cc: Petko Manolov <petkan@users.sourceforge.net>
      Cc: Steve Glendinning <steve.glendinning@smsc.com>
      Cc: Christian Lamparter <chunkeey@googlemail.com>
      Cc: "John W. Linville" <linville@tuxdriver.com>
      Cc: Dan Williams <dcbw@redhat.com>
      Cc: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
      Cc: Ivo van Doorn <IvDoorn@gmail.com>
      Cc: Gertjan van Wingerde <gwingerde@gmail.com>
      Cc: Helmut Schaa <helmut.schaa@googlemail.com>
      Cc: Herton Ronaldo Krzesinski <herton@canonical.com>
      Cc: Hin-Tak Leung <htl10@users.sourceforge.net>
      Cc: Larry Finger <Larry.Finger@lwfinger.net>
      Cc: Chaoming Li <chaoming_li@realsil.com.cn>
      Cc: Lucas De Marchi <lucas.demarchi@profusion.mobi>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Roel Kluin <roel.kluin@gmail.com>
      Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
      Cc: Jiri Pirko <jpirko@redhat.com>
      Cc: Pavel Roskin <proski@gnu.org>
      Cc: Yoann DI-RUZZA <y.diruzza@lim.eu>
      Cc: George <george0505@realtek.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      d632eb1b
  14. 25 10月, 2011 1 次提交
  15. 11 10月, 2011 1 次提交
  16. 16 9月, 2011 3 次提交
  17. 11 8月, 2011 3 次提交
    • K
      net/irda: sh_sir: tidyup compile warning · 2eed7982
      Kuninori Morimoto 提交于
      This patch tidyup below warning
      
      ${LINUX}/drivers/net/irda/sh_sir.c:514:6: warning:
       'val' may be used uninitialized in this function
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2eed7982
    • K
      net/irda: sh_sir: add missing header · 86d0aff0
      Kuninori Morimoto 提交于
      This patch fixup below build error on sh_sir
      
      sh_sir.c: In function 'sh_sir_write':
      sh_sir.c:127:2: error: implicit declaration of function 'iowrite16'
      sh_sir.c: In function 'sh_sir_read':
      sh_sir.c:132:2: error: implicit declaration of function 'ioread16'
      sh_sir.c: At top level:
      sh_sir.c:561:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sh_sir_irq'
      sh_sir.c: In function 'sh_sir_probe':
      sh_sir.c:727:2: error: implicit declaration of function 'ioremap_nocache'
      sh_sir.c:727:16: warning: assignment makes pointer from integer without a cast
      sh_sir.c:762:2: error: implicit declaration of function 'request_irq'
      sh_sir.c:762:23: error: 'sh_sir_irq' undeclared (first use in this function)
      sh_sir.c:762:23: note: each undeclared identifier is reported only once for each function it appears in
      sh_sir.c:762:35: error: 'IRQF_DISABLED' undeclared (first use in this function)
      sh_sir.c:776:2: error: implicit declaration of function 'iounmap'
      sh_sir.c: At top level:
      sh_sir.c:436:13: warning: 'sh_sir_clear_all_err' defined but not used
      sh_sir.c:474:12: warning: 'sh_sir_is_which_phase' defined but not used
      sh_sir.c:490:13: warning: 'sh_sir_tx' defined but not used
      sh_sir.c:540:13: warning: 'sh_sir_rx' defined but not used
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      86d0aff0
    • K
      net/irda: sh_irda: add missing header · a916d82b
      Kuninori Morimoto 提交于
      This patch fixup below build error on sh_irda
      
      sh_irda.c: In function 'sh_irda_write':
      sh_irda.c:174: error: implicit declaration of function 'iowrite16'
      sh_irda.c: In function 'sh_irda_read':
      sh_irda.c:184: error: implicit declaration of function 'ioread16'
      sh_irda.c: At top level:
      sh_irda.c:492: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sh_irda_irq'
      sh_irda.c: In function 'sh_irda_probe':
      sh_irda.c:776: error: implicit declaration of function 'ioremap_nocache'
      sh_irda.c:776: warning: assignment makes pointer from integer without a cast
      sh_irda.c:811: error: implicit declaration of function 'request_irq'
      sh_irda.c:811: error: 'sh_irda_irq' undeclared (first use in this function)
      sh_irda.c:811: error: (Each undeclared identifier is reported only once
      sh_irda.c:811: error: for each function it appears in.)
      sh_irda.c:811: error: 'IRQF_DISABLED' undeclared (first use in this function)
      sh_irda.c:825: error: implicit declaration of function 'iounmap'
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a916d82b
  18. 04 8月, 2011 1 次提交