aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorTomasz Pakuła <[email protected]>2025-02-25 22:30:02 +0000
committerJiri Kosina <[email protected]>2025-03-04 20:42:44 +0000
commit1a575044d516972a1d036d54c0180b9085e21dc6 (patch)
tree244e2ff74a6c8a89103be573200729047846072f /net/unix/unix_bpf.c
parentHID: pidff: Clamp effect playback LOOP_COUNT value (diff)
downloadkernel-1a575044d516972a1d036d54c0180b9085e21dc6.tar.gz
kernel-1a575044d516972a1d036d54c0180b9085e21dc6.zip
HID: pidff: Compute INFINITE value instead of using hardcoded 0xffff
As per USB PID standard: INFINITE - Referrers to the maximum value of a range. i.e. if in an 8 bit unsigned field the value of 255 would indicate INFINITE. Detecting 0xffff (U16_MAX) is still important as we MIGHT get this value as infinite from some native software as 0 was never actually defined in Linux' FF api as the infinite value. I'm working on it though. Signed-off-by: Tomasz Pakuła <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions