]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: ocp: Report error if resource registration fails.
authorJonathan Lemon <jonathan.lemon@gmail.com>
Wed, 15 Sep 2021 02:16:23 +0000 (19:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Sep 2021 10:10:00 +0000 (11:10 +0100)
commitdc9304f0545c7ed0c140390f6459b099e7bbc7ef
treee947b4ed18da0289c1a05b54030dc2736ddb02c5
parenta0e78c768ff45a093c627eb9211bdff52dd99470
ptp: ocp: Report error if resource registration fails.

If a resource could not be registered, report the name of
the resource and the error code.

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_ocp.c