1. 27 3月, 2012 1 次提交
    • A
      mtd: do not use plain 0 as NULL · 42d7fbe2
      Artem Bityutskiy 提交于
      The first 3 arguments of 'mtd_device_parse_register()' are pointers,
      but many callers pass '0' instead of 'NULL'. Fix this globally. Thanks
      to coccinelle for making it easy to do with the following semantic patch:
      
       @@
       expression mtd, types, parser_data, parts, nr_parts;
       @@
       (
       -mtd_device_parse_register(mtd, 0, parser_data, parts, nr_parts)
       +mtd_device_parse_register(mtd, NULL, parser_data, parts, nr_parts)
       |
       -mtd_device_parse_register(mtd, types, 0, parts, nr_parts)
       +mtd_device_parse_register(mtd, types, NULL, parts, nr_parts)
       |
       -mtd_device_parse_register(mtd, types, parser_data, 0, nr_parts)
       +mtd_device_parse_register(mtd, types, parser_data, NULL, nr_parts)
       )
      Signed-off-by: NArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      42d7fbe2
  2. 04 2月, 2012 1 次提交
  3. 29 11月, 2011 1 次提交
  4. 11 9月, 2011 7 次提交
  5. 22 6月, 2011 1 次提交
    • A
      net: remove mm.h inclusion from netdevice.h · b7f080cf
      Alexey Dobriyan 提交于
      Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked manually).
      
      To prevent mm.h inclusion via other channels also extract "enum dma_data_direction"
      definition into separate header. This tiny piece is what gluing netdevice.h with mm.h
      via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
      Removal of mm.h from scatterlist.h was tried and was found not feasible
      on most archs, so the link was cutoff earlier.
      
      Hope people are OK with tiny include file.
      
      Note, that mm_types.h is still dragged in, but it is a separate story.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b7f080cf
  6. 10 6月, 2011 1 次提交
  7. 25 5月, 2011 2 次提交
  8. 01 4月, 2011 4 次提交
  9. 11 3月, 2011 1 次提交
  10. 06 8月, 2010 1 次提交
  11. 27 2月, 2010 1 次提交
  12. 30 11月, 2009 1 次提交
  13. 08 10月, 2009 1 次提交
  14. 20 9月, 2009 1 次提交
  15. 25 6月, 2009 1 次提交
  16. 06 6月, 2009 1 次提交
  17. 17 2月, 2009 1 次提交
  18. 14 10月, 2008 1 次提交
  19. 07 8月, 2008 1 次提交
  20. 11 7月, 2008 2 次提交
  21. 07 6月, 2008 5 次提交
  22. 27 4月, 2008 1 次提交
  23. 25 4月, 2008 2 次提交
  24. 24 4月, 2008 1 次提交