From: Maud Spierings Date: Sun, 10 Nov 2024 18:05:02 +0000 (+0100) Subject: Input: fix the input_event struct documentation X-Git-Tag: v6.13-rc1~95^2^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a5f040cfcfdd8cd10591d50fb6280dffe07c7a8e;p=thirdparty%2Flinux.git Input: fix the input_event struct documentation Fix the datatype of the value field of the input_event struct which is signed instead of unsigned. Signed-off-by: Maud Spierings Link: https://lore.kernel.org/r/20241110-fix_input_doc-v1-1-745d5f908e61@hotmail.com Signed-off-by: Dmitry Torokhov --- diff --git a/Documentation/input/input.rst b/Documentation/input/input.rst index 2c67fa904adcf..d9a6de87d02de 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.