Skip to content
Snippets Groups Projects
Select Git revision
  • c4124c9b68bf8ecf1e8afedad3a22e18666cb6f3
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

hid-core.c

Blame
    • Jiri Kosina's avatar
      c4124c9b
      HID: remove redundant WARN_ON()s in order not to scare users · c4124c9b
      Jiri Kosina authored
      
      The WARN_ON() in implement() and extract() spit out stacktraces and
      a lot of other information that might make users think that there is
      something seriously wrong with the system. WARN_ON() should not be
      deliberately triggerable by userspace application, which these can be.
      Usually this WARN_ON() triggers when hid2hci utility is sending the
      data that don't correspond to the device's report descriptor.
      
      Convert these messages to more friendly printk().
      
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      c4124c9b
      History
      HID: remove redundant WARN_ON()s in order not to scare users
      Jiri Kosina authored
      
      The WARN_ON() in implement() and extract() spit out stacktraces and
      a lot of other information that might make users think that there is
      something seriously wrong with the system. WARN_ON() should not be
      deliberately triggerable by userspace application, which these can be.
      Usually this WARN_ON() triggers when hid2hci utility is sending the
      data that don't correspond to the device's report descriptor.
      
      Convert these messages to more friendly printk().
      
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    sysctl.c 62.57 KiB