diff options
author | Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de> | 2018-03-01 16:26:37 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-03-07 03:55:46 +0300 |
commit | d15e1175a9a9af967ae01245f55196acb5d5ff0f (patch) | |
tree | f587226a7a7e328ff780e800f289784cbd860274 /include/linux/blkdev.h | |
parent | 66231ad3e2886ba99fbf440cea44cab547e5163f (diff) | |
download | linux-d15e1175a9a9af967ae01245f55196acb5d5ff0f.tar.xz |
block: sed-opal: fix response string extraction
Tokens are prefixed by a variable length of bytes. If a bytestring is
not stored in an tiny or short atom, we have to skip more than one byte
in order to have the actual bytes not prefixed by the bytes describing
the actual length of the string.
Acked-by: Jonathan Derrick <jonathan.derrick@intel.com>
Signed-off-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions