Skip to content
Commit fb1b79d8 authored by Chengguang Xu's avatar Chengguang Xu Committed by Max Filippov
Browse files

xtensa: fix incorrect fd close in error case of simdisk_setup()



dev->fd is opened in attach operation, so should not
close dev->fd in error case of simdisk_setup().

Signed-off-by: default avatarChengguang Xu <cgxu519@gmail.com>
Message-Id: <1557066367-4783-1-git-send-email-cgxu519@gmail.com>
Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent e93c9c99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment