Skip to content
Snippets Groups Projects
  1. Dec 16, 2021
  2. Dec 03, 2021
  3. Nov 12, 2021
  4. Nov 06, 2021
  5. Nov 04, 2021
  6. Nov 02, 2021
  7. Oct 22, 2021
  8. Oct 20, 2021
  9. Oct 19, 2021
  10. Oct 15, 2021
  11. Oct 07, 2021
  12. Oct 06, 2021
    • Zev Weiss's avatar
      of: remove duplicate declarations of __of_*_sysfs() functions · 6663ae07
      Zev Weiss authored and Rob Herring's avatar Rob Herring committed
      
      When CONFIG_OF_KOBJ was introduced in commit b56b5528 ("of: make
      kobject and bin_attribute support configurable") and #ifdef-ed
      versions of these declarations got added, the originals didn't get
      removed.
      
      Fixes: b56b5528 ("of: make kobject and bin_attribute support configurable")
      Signed-off-by: default avatarZev Weiss <zev@bewilderbeest.net>
      Link: https://lore.kernel.org/r/20211006061943.8472-1-zev@bewilderbeest.net
      
      
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      6663ae07
    • Arnd Bergmann's avatar
      fbdev: simplefb: fix Kconfig dependencies · ec7cc3f7
      Arnd Bergmann authored
      Configurations with both CONFIG_FB_SIMPLE=y and CONFIG_DRM_SIMPLEDRM=m
      are allowed by Kconfig because the 'depends on !DRM_SIMPLEDRM' dependency
      does not disallow FB_SIMPLE as long as SIMPLEDRM is not built-in. This
      can however result in a build failure when cfb_fillrect() etc are then
      also in loadable modules:
      
      x86_64-linux-ld: drivers/video/fbdev/simplefb.o:(.rodata+0x1f8): undefined reference to `cfb_fillrect'
      x86_64-linux-ld: drivers/video/fbdev/simplefb.o:(.rodata+0x200): undefined reference to `cfb_copyarea'
      x86_64-linux-ld: drivers/video/fbdev/simplefb.o:(.rodata+0x208): undefined reference to `cfb_imageblit'
      
      To work around this, change FB_SIMPLE to be a 'tristate' symbol,
      which still allows both to be =m together, but not one of them to
      be =y if the other one is =m. If a distro kernel picks this
      configuration, it can be determined by local policy which of
      the two modules gets loaded. The 'of_chosen' export is needed
      as this is the first loadable module referencing it.
      
      Alternatively, the Kconfig dependency could be changed to
      'depends on DRM_SIMPLEDRM=n', which would forbid the configuration
      with both drivers.
      
      Fixes: 11e8f5fd ("drm: Add simpledrm driver")
      Acked-by: Rob Herring <robh@kernel.org> # for drivers/of/
      Link: https://lore.kernel.org/all/20210721151839.2484245-1-arnd@kernel.org/
      
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Thomas Zimmermann <tzimmermann@suse.de>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch> # fbdev support
      Cc: Maxime Ripard <maxime@cerno.tech>
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Borislav Petkov <bp@suse.de>
      Cc: Javier Martinez Canillas <javierm@redhat.com>
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Geert Uytterhoeven <geert+renesas@glider.be>
      Cc: Peter Collingbourne <pcc@google.com>
      Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-kernel@vger.kernel.org
      Cc: <stable@vger.kernel.org> # v5.14+
      Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210928145243.1098064-1-arnd@kernel.org
      
      
      Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      ec7cc3f7
  13. Oct 04, 2021
  14. Sep 17, 2021
  15. Sep 15, 2021
  16. Sep 10, 2021
  17. Sep 03, 2021
  18. Aug 25, 2021
  19. Aug 24, 2021
  20. Aug 23, 2021
  21. Aug 18, 2021
  22. Aug 17, 2021
  23. Aug 15, 2021
  24. Aug 14, 2021
  25. Aug 03, 2021
  26. Jul 24, 2021
  27. Jul 16, 2021
Loading