aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-07-15 11:12:14 +0300
committerJens Axboe <[email protected]>2022-08-02 17:22:41 -0600
commitee452a8d984f94fa8e894f003a52e776e4572881 (patch)
tree52f1d0ccc8a57447d922c0ef04582d27330a1f5b /net/lapb/lapb_timer.c
parentc13cf14f44d23102f864a0d845439aa175631854 (diff)
null_blk: fix ida error handling in null_add_dev()
There needs to be some error checking if ida_simple_get() fails. Also call ida_free() if there are errors later. Fixes: 94bc02e30fb8 ("nullb: use ida to manage index") Signed-off-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/YtEhXsr6vJeoiYhd@kili Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions