]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ipoib: Log sysfs 'dev_id' accesses from userspace
authorArseny Maslennikov <ar@cs.msu.ru>
Thu, 6 Sep 2018 14:51:12 +0000 (17:51 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 13 Sep 2018 15:47:52 +0000 (11:47 -0400)
commite6152b9f47df965c43e7c6d47002c2b37166d96a
treef610ce47b361b1e7bf6b695c81d2242b8e1fca6e
parentfe9a94698ed30188dc6f90d1492381040fd6953a
IB/ipoib: Log sysfs 'dev_id' accesses from userspace

Some tools may currently be using only the deprecated attribute;
let's print an elaborate and clear deprecation notice to kmsg.

To do that, we have to replace the whole sysfs file, since we inherit
the original one from netdev.

Signed-off-by: Arseny Maslennikov <ar@cs.msu.ru>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c