diff options
author | Ying Xue <ying.xue@windriver.com> | 2014-01-15 10:23:43 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-14 18:50:47 -0800 |
commit | a74e9426948cce451af0433c69a120178948cb03 (patch) | |
tree | ff913e11bda927f62166dbb7afd55202abca3710 /drivers/gpu/host1x | |
parent | 16b77695ed8fa158be864ee448a9ef4c78457c14 (diff) | |
download | linux-a74e9426948cce451af0433c69a120178948cb03.tar.bz2 |
caif: __dev_get_by_index instead of dev_get_by_index to find interface
The following call chains indicate that chnl_net_open() is under
rtnl_lock protection as __dev_open() is protected by rtnl_lock.
So if __dev_get_by_index() instead of dev_get_by_index() is used
to find interface handler in it, this would help us avoid to change
interface reference counter.
__dev_open()
chnl_net_open()
Cc: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpu/host1x')
0 files changed, 0 insertions, 0 deletions