diff mbox series

[v2] input: Documentation: Fix the input_event struct documentation

Message ID 20241116-fix_input_doc-v2-1-133dad7ae928@hotmail.com (mailing list archive)
State Mainlined
Commit a5f040cfcfdd8cd10591d50fb6280dffe07c7a8e
Headers show
Series [v2] input: Documentation: Fix the input_event struct documentation | expand

Commit Message

Maud Spierings via B4 Relay Nov. 16, 2024, 12:49 p.m. UTC
From: Maud Spierings <maud_spierings@hotmail.com>

Fix the datatype of the value field of the input_event struct which is
signed instead of unsigned.
See include/uapi/linux/input.h

Signed-off-by: Maud Spierings <maud_spierings@hotmail.com>
---
Changes in v2:
- Fixed the tags in the commit message
- Link to v1: https://lore.kernel.org/r/20241110-fix_input_doc-v1-1-745d5f908e61@hotmail.com
---
 Documentation/input/input.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


---
base-commit: de2f378f2b771b39594c04695feee86476743a69
change-id: 20241110-fix_input_doc-1debf7bcd9c5

Best regards,
diff mbox series

Patch

diff --git a/Documentation/input/input.rst b/Documentation/input/input.rst
index 2c67fa904adcf902cebf8e7137c0a1609d879a50..d9a6de87d02de5301500b392191ab67e7db431ed 100644
--- a/Documentation/input/input.rst
+++ b/Documentation/input/input.rst
@@ -264,7 +264,7 @@  events on a read. Their layout is::
 	    struct timeval time;
 	    unsigned short type;
 	    unsigned short code;
-	    unsigned int value;
+	    int value;
     };
 
 ``time`` is the timestamp, it returns the time at which the event happened.