Skip to contentSkip to conversation

accel: ethosu: Fix kernel-doc for ethosu_gem_cmdstream_create()

PATCH In review Aryan Sinha 2 participants 3 messages Oct 16

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 accel: ethosu: Fix kernel-doc for ethosu_gem_cmdstream_create()

The comment documents an exclusive_vm argument the function never had, and leaves out data. Swap the two so the list matches the signature.

---
 drivers/accel/ethosu/ethosu_gem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/accel/ethosu/ethosu_gem.c +1 -1
index 9afe2549e..2b89f70f4 100644
@@ -712,8 +712,8 @@ static int ethosu_gem_cmdstream_copy_and_validate(struct drm_device *ddev,
  * ethosu_gem_cmdstream_create() - Create a GEM object and attach it to a handle.
  * @file: DRM file.
  * @ddev: DRM device.
- * @exclusive_vm: Exclusive VM. Not NULL if the GEM object can't be shared.
  * @size: Size of the GEM object to allocate.
+ * @data: User pointer to the command stream contents.
  * @flags: Combination of drm_ethosu_bo_flags flags.
  * @handle: Pointer holding the handle pointing to the new GEM object.
  *
Signature · 1 line
2.46.0
maintainer
#1 lore raw
Quoted 7 lines · Aryan Sinha

The comment documents an exclusive_vm argument the function never had, and leaves out data. Swap the two so the list matches the signature.

---
 drivers/accel/ethosu/ethosu_gem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Why are you sending this again after 4 days?

Rob

#2 lore raw
Quoted 1 line · Rob Herring

Why are you sending this again after 4 days?

My mistake sorry, this is an accidental resend. It is the same patch as the 12 Oct posting with nothing changed:

https://lore.kernel.org/all/[email protected]/

Please ignore this copy and use the original. Sorry for the duplication.

Aryan