Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Input: Convert comma to semicolon

To ensure code clarity and prevent potential errors, it's advisable
to employ the ';' as a statement separator, except when ',' are
intentionally used for specific purposes.

Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Link: https://lore.kernel.org/r/20240918032246.9147-1-shenlichuan@vivo.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Shen Lichuan and committed by
Dmitry Torokhov
55bef835 c7c878ff

+1 -1
+1 -1
drivers/input/input.c
··· 2224 2224 mt_slots = dev->mt->num_slots; 2225 2225 } else if (test_bit(ABS_MT_TRACKING_ID, dev->absbit)) { 2226 2226 mt_slots = dev->absinfo[ABS_MT_TRACKING_ID].maximum - 2227 - dev->absinfo[ABS_MT_TRACKING_ID].minimum + 1, 2227 + dev->absinfo[ABS_MT_TRACKING_ID].minimum + 1; 2228 2228 mt_slots = clamp(mt_slots, 2, 32); 2229 2229 } else if (test_bit(ABS_MT_POSITION_X, dev->absbit)) { 2230 2230 mt_slots = 2;