Jing Xiangfeng
85094c05ee
rapidio: fix the missed put_device() for rio_mport_add_riodev
...
rio_mport_add_riodev() misses to call put_device() when the device already
exists. Add the missed function call to fix it.
Fixes: e8de370188d0 ("rapidio: add mport char device driver")
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Alexandre Bounine <alex.bou9@gmail.com>
Cc: Gustavo A. R. Silva <gustavoars@kernel.org>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
Link: https://lkml.kernel.org/r/20200922072525.42330-1-jingxiangfeng@huawei.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-10-16 11:11:22 -07:00
..
2020-10-16 11:11:18 -07:00
2020-10-10 12:40:52 +02:00
2020-10-09 12:47:56 -06:00
2020-10-16 11:11:18 -07:00
2020-10-16 11:11:18 -07:00
2020-09-25 16:33:59 +02:00
2020-10-15 10:01:51 -07:00
2020-10-15 10:46:16 -07:00
2020-09-22 12:54:41 -07:00
2020-10-14 10:32:10 -07:00
2020-09-29 17:27:08 +01:00
2020-10-12 12:32:10 +02:00
2020-09-28 16:31:25 +02:00
2020-10-13 08:50:16 -07:00
2020-10-16 11:11:18 -07:00
2020-09-29 17:50:10 +09:00
2020-10-08 15:18:48 +05:30
2020-10-15 14:43:29 -07:00
2020-10-12 13:26:49 -07:00
2020-09-30 00:40:06 +09:00
2020-09-25 06:20:48 +02:00
2020-10-15 09:51:18 -07:00
2020-10-14 15:56:58 -07:00
2020-10-15 14:43:29 -07:00
2020-10-15 15:11:56 -07:00
2020-10-16 11:11:18 -07:00
2020-10-14 16:09:32 -07:00
2020-10-05 12:43:54 +02:00
2020-10-10 13:15:46 +02:00
2020-10-13 12:12:44 -07:00
2020-10-15 11:07:44 -07:00
2020-10-16 11:11:22 -07:00
2020-10-14 10:32:10 -07:00
2020-09-21 11:15:02 +03:00
2020-10-15 14:43:29 -07:00
2020-10-14 15:56:58 -07:00
2020-10-07 12:02:58 +02:00
2020-10-14 15:05:38 -07:00
2020-10-15 14:43:29 -07:00
2020-10-14 12:08:34 -07:00
2020-09-28 12:17:36 +02:00
2020-10-14 15:15:35 -07:00
2020-10-14 15:56:58 -07:00
2020-10-15 14:43:29 -07:00
2020-10-13 12:12:44 -07:00
2020-10-15 15:11:56 -07:00
2020-10-15 14:43:29 -07:00
2020-10-13 18:38:28 -07:00
2020-10-13 13:04:41 -07:00
2020-09-27 14:25:48 +02:00
2020-10-15 14:43:29 -07:00
2020-10-06 12:26:45 +02:00
2020-10-06 07:07:03 +02:00
2020-10-15 14:43:29 -07:00
2020-09-25 06:12:15 +02:00
2020-10-01 22:30:07 +01:00
2020-10-15 10:46:16 -07:00
2020-10-14 15:25:04 -07:00
2020-10-14 10:43:24 -07:00
2020-10-08 18:00:08 +02:00
2020-10-15 10:01:51 -07:00
2020-09-25 16:46:01 +02:00
2020-10-15 10:46:16 -07:00
2020-10-16 11:11:22 -07:00
2020-09-25 19:05:31 +02:00
2020-10-05 16:54:56 +01:00
2020-10-15 14:43:29 -07:00
2020-10-16 11:11:18 -07:00
2020-10-15 14:43:29 -07:00
2020-09-25 14:41:51 +02:00
2020-10-14 10:45:41 -07:00
2020-10-01 22:59:55 +02:00
2020-10-15 11:07:44 -07:00
2020-10-15 14:43:29 -07:00
2020-10-14 15:15:35 -07:00
2020-09-30 09:42:36 +02:00
2020-10-05 13:32:30 +02:00
2020-09-17 18:52:03 +02:00
2020-10-15 14:43:29 -07:00
2020-10-15 14:43:29 -07:00
2020-10-16 11:11:22 -07:00
2020-10-04 03:47:02 -04:00
2020-10-15 10:46:16 -07:00
2020-10-02 11:36:13 +02:00
2020-10-16 11:11:18 -07:00
2020-10-05 14:49:24 +02:00
2020-10-14 15:56:58 -07:00
2020-10-16 11:11:18 -07:00