mirror of
https://github.com/RustyRaptor/riscv-linux.git
synced 2026-12-04 17:05:37 -07:00
Add dev_put() after dev_get_by_index() to avoid leakage of device. Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>