diff options
author | Ying Xue <ying.xue@windriver.com> | 2014-01-15 03:23:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-15 03:50:47 +0100 |
commit | 5af28de35342f630a91061e25cc976a01b7ca6c4 (patch) | |
tree | 6601cac6792af4d03ff3913f16fc73ecdbaa8c29 /Documentation/leds | |
parent | caif: __dev_get_by_index instead of dev_get_by_index to find interface (diff) | |
download | linux-5af28de35342f630a91061e25cc976a01b7ca6c4.tar.xz linux-5af28de35342f630a91061e25cc976a01b7ca6c4.zip |
can: use __dev_get_by_index instead of dev_get_by_index to find interface
As cgw_create_job() is always under rtnl_lock protection,
__dev_get_by_index() instead of dev_get_by_index() should be used to
find interface handler in it having us avoid to change interface
reference counter.
Cc: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Ying Xue <ying.xue@windriver.com>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions