diff options
author | David Kozub <zub@linux.fjfi.cvut.cz> | 2019-02-14 01:15:59 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-04-06 19:09:12 +0200 |
commit | 7d9b62ae2a7db6dfa218999b7dd65517a6f9cfb7 (patch) | |
tree | a5dca859d3fad361a03455da1bac3eb71eed04eb /block/bfq-cgroup.c | |
parent | block: sed-opal: unify cmd start (diff) | |
download | linux-7d9b62ae2a7db6dfa218999b7dd65517a6f9cfb7.tar.xz linux-7d9b62ae2a7db6dfa218999b7dd65517a6f9cfb7.zip |
block: sed-opal: unify error handling of responses
response_get_{string,u64} include error handling for argument resp being
NULL but response_get_token does not handle this.
Make all three of response_get_{string,u64,token} handle NULL resp in
the same way.
Co-authored-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
Signed-off-by: David Kozub <zub@linux.fjfi.cvut.cz>
Signed-off-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
Reviewed-by: Scott Bauer <sbauer@plzdonthack.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-cgroup.c')
0 files changed, 0 insertions, 0 deletions