]> 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)
commit41046d20cef6a1b9a5a17dc384ea3c7af1fbdc16
treee947b4ed18da0289c1a05b54030dc2736ddb02c5
parent1c102360e2c8e7388ccb62c2ed7fe5171c45c417
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