1. 18 9月, 2020 2 次提交
  2. 09 9月, 2020 1 次提交
  3. 02 9月, 2020 2 次提交
  4. 01 9月, 2020 1 次提交
  5. 17 8月, 2020 3 次提交
  6. 11 8月, 2020 1 次提交
  7. 23 6月, 2020 1 次提交
  8. 19 6月, 2020 1 次提交
  9. 17 6月, 2020 2 次提交
    • Q
      EDAC: Fix reference count leaks · 17ed808a
      Qiushi Wu 提交于
      When kobject_init_and_add() returns an error, it should be handled
      because kobject_init_and_add() takes a reference even when it fails. If
      this function returns an error, kobject_put() must be called to properly
      clean up the memory associated with the object.
      
      Therefore, replace calling kfree() and call kobject_put() and add a
      missing kobject_put() in the edac_device_register_sysfs_main_kobj()
      error path.
      
       [ bp: Massage and merge into a single patch. ]
      
      Fixes: b2ed215a ("Kobject: change drivers/edac to use kobject_init_and_add")
      Signed-off-by: NQiushi Wu <wu000273@umn.edu>
      Signed-off-by: NBorislav Petkov <bp@suse.de>
      Link: https://lkml.kernel.org/r/20200528202238.18078-1-wu000273@umn.edu
      Link: https://lkml.kernel.org/r/20200528203526.20908-1-wu000273@umn.edu
      17ed808a
    • B
      EDAC/ghes: Scan the system once on driver init · b9cae277
      Borislav Petkov 提交于
      Change the hardware scanning and figuring out how many DIMMs a machine
      has to a single, one-time thing which happens once on driver init. After
      that scanning completes, struct ghes_hw_desc contains a representation
      of the hardware which the driver can then use for later initialization.
      
      Then, copy the DIMM information into the respective EDAC core
      representation of those.
      
      Get rid of ghes_edac_dimm_fill and use a struct dimm_info array
      directly.
      
      This way, hw detection and further driver initialization is nicely
      and logically split. Further additions should all be added to
      ghes_scan_system() and the hw representation extended as needed.
      
      There should be no functionality change resulting from this patch.
      Signed-off-by: NBorislav Petkov <bp@suse.de>
      b9cae277
  10. 16 6月, 2020 5 次提交
  11. 14 6月, 2020 1 次提交
    • M
      treewide: replace '---help---' in Kconfig files with 'help' · a7f7f624
      Masahiro Yamada 提交于
      Since commit 84af7a61 ("checkpatch: kconfig: prefer 'help' over
      '---help---'"), the number of '---help---' has been gradually
      decreasing, but there are still more than 2400 instances.
      
      This commit finishes the conversion. While I touched the lines,
      I also fixed the indentation.
      
      There are a variety of indentation styles found.
      
        a) 4 spaces + '---help---'
        b) 7 spaces + '---help---'
        c) 8 spaces + '---help---'
        d) 1 space + 1 tab + '---help---'
        e) 1 tab + '---help---'    (correct indentation)
        f) 1 tab + 1 space + '---help---'
        g) 1 tab + 2 spaces + '---help---'
      
      In order to convert all of them to 1 tab + 'help', I ran the
      following commend:
      
        $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      a7f7f624
  12. 29 5月, 2020 1 次提交
  13. 23 5月, 2020 1 次提交
  14. 20 5月, 2020 1 次提交
  15. 28 4月, 2020 2 次提交
  16. 24 4月, 2020 1 次提交
  17. 23 4月, 2020 1 次提交
  18. 14 4月, 2020 5 次提交
  19. 25 3月, 2020 1 次提交
  20. 18 3月, 2020 1 次提交
  21. 17 3月, 2020 1 次提交
  22. 27 2月, 2020 1 次提交
  23. 20 2月, 2020 1 次提交
  24. 19 2月, 2020 1 次提交
  25. 17 2月, 2020 2 次提交