1. 10 10月, 2013 4 次提交
  2. 30 8月, 2013 3 次提交
  3. 29 8月, 2013 1 次提交
  4. 27 8月, 2013 1 次提交
  5. 22 8月, 2013 1 次提交
    • W
      of: fdt: fix memory initialization for expanded DT · 9e401275
      Wladislav Wiebe 提交于
      Already existing property flags are filled wrong for properties created from
      initial FDT. This could cause problems if this DYNAMIC device-tree functions
      are used later, i.e. properties are attached/detached/replaced. Simply dumping
      flags from the running system show, that some initial static (not allocated via
      kzmalloc()) nodes are marked as dynamic.
      
      I putted some debug extensions to property_proc_show(..) :
      ..
      +       if (OF_IS_DYNAMIC(pp))
      +               pr_err("DEBUG: xxx : OF_IS_DYNAMIC\n");
      +       if (OF_IS_DETACHED(pp))
      +               pr_err("DEBUG: xxx : OF_IS_DETACHED\n");
      
      when you operate on the nodes (e.g.: ~$ cat /proc/device-tree/*some_node*) you
      will see that those flags are filled wrong, basically in most cases it will dump
      a DYNAMIC or DETACHED status, which is in not true.
      (BTW. this OF_IS_DETACHED is a own define for debug purposes which which just
      make a test_bit(OF_DETACHED, &x->_flags)
      
      If nodes are dynamic kernel is allowed to kfree() them. But it will crash
      attempting to do so on the nodes from FDT -- they are not allocated via
      kzmalloc().
      Signed-off-by: NWladislav Wiebe <wladislav.kw@gmail.com>
      Acked-by: NAlexander Sverdlin <alexander.sverdlin@nsn.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      9e401275
  6. 24 7月, 2013 1 次提交
  7. 18 6月, 2013 1 次提交
  8. 18 12月, 2012 1 次提交
  9. 30 11月, 2012 1 次提交
  10. 21 11月, 2012 2 次提交
  11. 17 11月, 2012 1 次提交
  12. 11 11月, 2012 1 次提交
  13. 28 2月, 2012 1 次提交
  14. 10 1月, 2012 1 次提交
  15. 05 1月, 2012 1 次提交
    • F
      ARM: prom.h: Fix build error by removing unneeded header file · c89810ac
      Fabio Estevam 提交于
      Fix the following build error:
      
        CC [M]  fs/udf/balloc.o
      In file included from /home/fabio/next/linux-next/arch/arm/include/asm/prom.h:16,
                       from include/linux/of.h:140,
                       from include/asm-generic/gpio.h:7,
                       from arch/arm/plat-mxc/include/mach/irqs.h:14,
                       from /home/fabio/next/linux-next/arch/arm/include/asm/irq.h:4,
                       from /home/fabio/next/linux-next/arch/arm/include/asm/hardirq.h:6,
                       from include/linux/hardirq.h:7,
                       from include/linux/highmem.h:8,
                       from include/linux/pagemap.h:10,
                       from include/linux/buffer_head.h:13,
                       from fs/udf/udfdecl.h:11,
                       from fs/udf/balloc.c:22:
      /home/fabio/next/linux-next/arch/arm/include/asm/setup.h:146: error: redefinition of 'struct tag'
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      [grant.likely: fix build failure on drivers/of/fdt.c]
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      c89810ac
  16. 28 12月, 2011 1 次提交
  17. 23 9月, 2011 1 次提交
  18. 20 9月, 2011 1 次提交
  19. 04 8月, 2011 1 次提交
  20. 03 8月, 2011 1 次提交
  21. 11 5月, 2011 1 次提交
  22. 31 3月, 2011 1 次提交
  23. 24 3月, 2011 1 次提交
  24. 16 1月, 2011 1 次提交
  25. 02 1月, 2011 1 次提交
  26. 30 12月, 2010 5 次提交
  27. 22 10月, 2010 1 次提交
  28. 25 7月, 2010 2 次提交
  29. 15 7月, 2010 1 次提交