Skip to content
  1. Nov 16, 2011
  2. Nov 15, 2011
    • Liu Gang's avatar
      fsl-rio: fix compile error · e0ce42e1
      Liu Gang authored
      
      
      The "#include <linux/module.h>" was replaced by "#include <linux/export.h>"
      in the patch "powerpc: various straight conversions from module.h --> export.h".
      This will cause the following compile problem:
      arch/powerpc/sysdev/fsl_rio.c: In function 'fsl_rio_mcheck_exception':
      arch/powerpc/sysdev/fsl_rio.c:296: error: implicit declaration of function 'search_exception_tables'.
      
      The file fsl_rio.c needs the declaration of function "search_exception_tables"
      in the header file "linux/module.h".
      
      Signed-off-by: default avatarLiu Gang <Gang.Liu@freescale.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      e0ce42e1
  3. Nov 14, 2011
    • Lars-Peter Clausen's avatar
      blackfin: Fixup export.h includes · 90590543
      Lars-Peter Clausen authored
      Commit 8dc7a9c8
      
       ("blackfin: Add export.h to files using
      EXPORT_SYMBOL/THIS_MODULE") inserted some of the include statements into
      sections protected by an unrelated #if CONFIG_... statement. This can cause,
      depending on the configuration used, warnings like this one:
      
      	arch/blackfin/mach-bf537/boards/stamp.c:2940: warning: data definition has no type or storage class
      	arch/blackfin/mach-bf537/boards/stamp.c:2940: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
      	arch/blackfin/mach-bf537/boards/stamp.c:2940: warning: parameter names (without types) in function declaration
      
      This patch fixes it by moving the includes out of the #if protected sections.
      
      Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      90590543
    • Sonic Zhang's avatar
      Blackfin: add serial TX IRQ in individual platform resource · edb0a640
      Sonic Zhang authored
      
      
      The serial TX IRQ is not simply (RX IRQ + 1) on some Blackfin chips,
      so move the values to the platform resources.
      
      Signed-off-by: default avatarSonic Zhang <sonic.zhang@analog.com>
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      edb0a640
    • Linus Torvalds's avatar
      Merge branch 'rmobile-fixes-for-linus' of git://github.com/pmundt/linux-sh · 7f80850d
      Linus Torvalds authored
      * 'rmobile-fixes-for-linus' of git://github.com/pmundt/linux-sh:
        ARM: mach-shmobile: cpuidle single/global and last_state fixes
        ARM: mach-shmobile: move helper macro PORTCR to sh_pfc.h
        ARM: mach-shmobile: move helper macro PORT_xx to sh_pfc.h
        ARM: mach-shmobile: move helper macro PORT_DATA_xx to sh_pfc.h
        ARM: mach-shmobile: ap4evb: remove white space from end of line
        ARM: mach-shmobile: clock-sh7372: remove un-necessary index
        ARM: mach-shmobile: kota2: add comment out separator
        ARM: mach-shmobile: sh73a0: add MMC data pin pull-up
      7f80850d
    • Linus Torvalds's avatar
      Merge branch 'sh-fixes-for-linus' of git://github.com/pmundt/linux-sh · b93cd6a0
      Linus Torvalds authored
      * 'sh-fixes-for-linus' of git://github.com/pmundt/linux-sh:
        mailmap: Fix up some renesas attributions
        sh: clkfwk: Kill off remaining debugfs cruft.
        drivers: sh: Kill off dead pathname for runtime PM stub.
        drivers: sh: Generalize runtime PM platform stub.
        sh: Wire up process_vm syscalls.
        sh: clkfwk: add clk_rate_mult_range_round()
        serial: sh-sci: Fix up SH-2A SCIF support.
        sh: Fix cached/uncaced address calculation in 29bit mode
      b93cd6a0
    • Linus Torvalds's avatar
      Merge git://github.com/rustyrussell/linux · d291ffb3
      Linus Torvalds authored
      * git://github.com/rustyrussell/linux:
        virtio-pci: fix use after free
      d291ffb3
    • Michael S. Tsirkin's avatar
      virtio-pci: fix use after free · 72103bd1
      Michael S. Tsirkin authored
      Commit 31a3ddda
      
       introduced
      a use after free in virtio-pci. The main issue is
      that the release method signals removal of the virtio device,
      while remove signals removal of the pci device.
      
      For example, on driver removal or hot-unplug,
      virtio_pci_release_dev is called before virtio_pci_remove.
      We then might get a crash as virtio_pci_remove tries to use the
      device freed by virtio_pci_release_dev.
      
      We allocate/free all resources together with the
      pci device, so we can leave the release method empty.
      
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      Acked-by: default avatarAmit Shah <amit.shah@redhat.com>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Cc: stable@kernel.org
      72103bd1