1. 28 2月, 2013 1 次提交
  2. 09 2月, 2013 1 次提交
    • H
      atm/iphase: rename fregt_t -> ffreg_t · ab54ee80
      Heiko Carstens 提交于
      We have conflicting type qualifiers for "freg_t" in s390's ptrace.h and the
      iphase atm device driver, which causes the compile error below.
      Unfortunately the s390 typedef can't be renamed, since it's a user visible api,
      nor can I change the include order in s390 code to avoid the conflict.
      
      So simply rename the iphase typedef to a new name. Fixes this compile error:
      
      In file included from drivers/atm/iphase.c:66:0:
      drivers/atm/iphase.h:639:25: error: conflicting type qualifiers for 'freg_t'
      In file included from next/arch/s390/include/asm/ptrace.h:9:0,
                       from next/arch/s390/include/asm/lowcore.h:12,
                       from next/arch/s390/include/asm/thread_info.h:30,
                       from include/linux/thread_info.h:54,
                       from include/linux/preempt.h:9,
                       from include/linux/spinlock.h:50,
                       from include/linux/seqlock.h:29,
                       from include/linux/time.h:5,
                       from include/linux/stat.h:18,
                       from include/linux/module.h:10,
                       from drivers/atm/iphase.c:43:
      next/arch/s390/include/uapi/asm/ptrace.h:197:3: note: previous declaration of 'freg_t' was here
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Acked-by: Nchas williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ab54ee80
  3. 04 1月, 2013 1 次提交
    • G
      Drivers: atm: remove __dev* attributes. · 6c44512d
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Chas Williams <chas@cmf.nrl.navy.mil>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6c44512d
  4. 22 12月, 2012 1 次提交
  5. 20 12月, 2012 4 次提交
  6. 12 12月, 2012 1 次提交
  7. 02 12月, 2012 5 次提交
  8. 29 11月, 2012 1 次提交
  9. 06 10月, 2012 1 次提交
  10. 07 8月, 2012 1 次提交
    • J
      drivers/atm/iphase.c: fix error return code · f716168b
      Julia Lawall 提交于
      Convert a 0 error return code to a negative one, as returned elsewhere in the
      function.
      
      A simplified version of the semantic match that finds this problem is as
      follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @@
      identifier ret;
      expression e,e1,e2,e3,e4,x;
      @@
      
      (
      if (\(ret != 0\|ret < 0\) || ...) { ... return ...; }
      |
      ret = 0
      )
      ... when != ret = e1
      *x = \(kmalloc\|kzalloc\|kcalloc\|devm_kzalloc\|ioremap\|ioremap_nocache\|devm_ioremap\|devm_ioremap_nocache\)(...);
      ... when != x = e2
          when != ret = e3
      *if (x == NULL || ...)
      {
        ... when != ret = e4
      *  return ret;
      }
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f716168b
  11. 25 5月, 2012 1 次提交
    • D
      solos-pci: Fix DMA support · b4bd8ad9
      David Woodhouse 提交于
      DMA support has finally made its way to the top of the TODO list, having
      realised that a Geode using MMIO can't keep up with two ADSL2+ lines
      each running at 21Mb/s.
      
      This patch fixes a couple of bugs in the DMA support in the driver, so
      once the corresponding FPGA update is complete and tested everything
      should work properly.
      
      We weren't storing the currently-transmitting skb, so we were never
      unmapping it and never freeing/popping it when the TX was done.
      And the addition of pci_set_master() is fairly self-explanatory.
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      Cc: stable@kernel.org
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b4bd8ad9
  12. 07 5月, 2012 1 次提交
  13. 05 4月, 2012 1 次提交
  14. 29 3月, 2012 1 次提交
  15. 17 3月, 2012 1 次提交
  16. 12 3月, 2012 1 次提交
  17. 20 2月, 2012 1 次提交
  18. 02 2月, 2012 1 次提交
  19. 13 1月, 2012 1 次提交
  20. 27 11月, 2011 1 次提交
  21. 19 10月, 2011 1 次提交
  22. 04 10月, 2011 1 次提交
  23. 15 9月, 2011 1 次提交
  24. 27 8月, 2011 1 次提交
  25. 27 7月, 2011 1 次提交
  26. 12 7月, 2011 1 次提交
  27. 09 7月, 2011 1 次提交
  28. 07 6月, 2011 1 次提交
  29. 19 5月, 2011 1 次提交
    • G
      drivercore: revert addition of of_match to struct device · b1608d69
      Grant Likely 提交于
      Commit b826291c, "drivercore/dt: add a match table pointer to struct
      device" added an of_match pointer to struct device to cache the
      of_match_table entry discovered at driver match time.  This was unsafe
      because matching is not an atomic operation with probing a driver.  If
      two or more drivers are attempted to be matched to a driver at the
      same time, then the cached matching entry pointer could get
      overwritten.
      
      This patch reverts the of_match cache pointer and reworks all users to
      call of_match_device() directly instead.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      b1608d69
  30. 17 4月, 2011 4 次提交