1. 14 Oct, 2021 28 commits
  2. 13 Oct, 2021 3 commits
  3. 12 Oct, 2021 6 commits
  4. 11 Oct, 2021 3 commits
    • Dan Carpenter's avatar
      drm/v3d: fix copy_from_user() error codes · ee30840b
      Dan Carpenter authored
      The copy_to/from_user() function returns the number of bytes remaining
      to be copied, but we want to return -EFAULT on error.
      
      Fixes: e4165ae8 ("drm/v3d: add multiple syncobjs support")
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Reviewed-by: default avatarMelissa Wen <mwen@igalia.com>
      Signed-off-by: default avatarMelissa Wen <melissa.srw@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20211011123303.GA14314@kili
      ee30840b
    • Randy Dunlap's avatar
      drm/connector: fix all kernel-doc warnings · f85d9e59
      Randy Dunlap authored
      Clean up all of the kernel-doc issues in drm_connector.c:
      
      drivers/gpu/drm/drm_connector.c:2611: warning: Excess function parameter 'connector' description in 'drm_connector_oob_hotplug_event'
      drivers/gpu/drm/drm_connector.c:2611: warning: Function parameter or member 'connector_fwnode' not described in 'drm_connector_oob_hotplug_event'
      
      drm_connector.c:630: warning: No description found for return value of 'drm_get_connector_status_name'
      drm_connector.c:715: warning: No description found for return value of 'drm_connector_list_iter_next'
      drm_connector.c:785: warning: No description found for return value of 'drm_get_subpixel_order_name'
      drm_connector.c:816: warning: No description found for return value of 'drm_display_info_set_bus_formats'
      drm_connector.c:1331: warning: No description found for return value of 'drm_mode_create_dvi_i_properties'
      drm_connector.c:1412: warning: No description found for return value of 'drm_connector_attach_content_type_property'
      drm_connector.c:1492: warning: No description found for return value of 'drm_mode_create_tv_margin_properties'
      drm_connector.c:1534: warning: No description found for return value of 'drm_mode_create_tv_properties'
      drm_connector.c:1627: warning: No description found for return value of 'drm_mode_create_scaling_mode_property'
      drm_connector.c:1944: warning: No description found for return value of 'drm_mode_create_suggested_offset_properties'
      
      drm_connector.c:2315: warning: missing initial short description on line:
       * drm_connector_set_panel_orientation_with_quirk -
      
      [The last warning listed is probably a quirk/bug in scripts/kernel-doc.]
      
      Fixes: 613051da ("drm: locking&new iterators for connector_list")
      Fixes: 52217195 ("drm: Extract drm_connector.[hc]")
      Fixes: b3c6c8bf ("drm: document drm_display_info")
      Fixes: 50525c33 ("drm: content-type property for HDMI connector")
      Fixes: 6c4f52dc ("drm/connector: Allow creation of margin props alone")
      Fixes: 69654c63 ("drm/connector: Split out orientation quirk detection (v2)")
      Fixes: 72ad4968 ("drm/connector: Add support for out-of-band hotplug notification (v3)")
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: dri-devel@lists.freedesktop.org
      Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Derek Basehore <dbasehore@chromium.org>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Maxime Ripard <mripard@kernel.org>
      Cc: Thomas Zimmermann <tzimmermann@suse.de>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20211010224459.3603-1-rdunlap@infradead.org
      f85d9e59
    • Uwe Kleine-König's avatar
      drm/panel: s6e63m0: Make s6e63m0_remove() return void · 90c45fc1
      Uwe Kleine-König authored
      Up to now s6e63m0_remove() returns zero unconditionally. Make it return
      void instead which makes it easier to see in the callers that there is
      no error to handle.
      
      Also the return value of spi remove callbacks is ignored anyway.
      Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20211011132754.2479853-2-u.kleine-koenig@pengutronix.de
      90c45fc1