Skip to contentSkip to conversation

virtio-spi: Fix virtio_spi_config kernel-doc

PATCH New Karl Mehltretter 2 participants 2 messages Sep 9

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

PATCH 1/1 virtio-spi: Fix virtio_spi_config kernel-doc

struct virtio_spi_config contains max_cs_inactive_ns, but its kernel-doc describes max_cs_incative_ns. This leaves the real member undescribed and adds a nonexistent member to the generated documentation.

Correct the spelling.

Fixes 6a1f3390fafe ("virtio-spi: Add virtio-spi.h")
Assisted-by LLM
---
 include/uapi/linux/virtio_spi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/virtio_spi.h +1 -1
index 8ab3c970cdd3..459c2276c938 100644
@@ -73,7 +73,7 @@
  * @max_cs_hold_ns: the maximum delay supported before chipselect is deasserted,
  *   in ns unit, 0 means delay is not supported to introduce before chipselect
  *   is deasserted.
- * @max_cs_incative_ns: maximum delay supported after chipselect is deasserted,
+ * @max_cs_inactive_ns: maximum delay supported after chipselect is deasserted,
  *   in ns unit, 0 means delay is not supported to introduce after chipselect is
  *   deasserted.
  */

base-commit: 893e11787f78e43b534e252249ac3fff4d1333f8

Signature · 1 line
2.53.0
#1 lore raw
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 10 lines

struct virtio_spi_config contains max_cs_inactive_ns, but its kernel-doc describes max_cs_incative_ns. This leaves the real member undescribed and adds a nonexistent member to the generated documentation.

Correct the spelling.

Fixes 6a1f3390fafe ("virtio-spi: Add virtio-spi.h")
Assisted-by LLM

Sashiko has reviewed this patch and found no issues. It looks great!

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1