diff options
author | Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de> | 2019-05-21 22:46:46 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-29 18:34:08 +0200 |
commit | ff91064ea37c8323eba31cc3d2e22464f107b50d (patch) | |
tree | eeb913dad6c21bd1e494b9404d0b845518743d35 /drivers/mfd/omap-usb-tll.c | |
parent | block: sed-opal: ioctl for writing to shadow mbr (diff) | |
download | linux-ff91064ea37c8323eba31cc3d2e22464f107b50d.tar.xz linux-ff91064ea37c8323eba31cc3d2e22464f107b50d.zip |
block: sed-opal: check size of shadow mbr
Check whether the shadow mbr does fit in the provided space on the
target. Also a proper firmware should handle this case and return an
error we may prevent problems or even damage with crappy firmwares.
Signed-off-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
Signed-off-by: David Kozub <zub@linux.fjfi.cvut.cz>
Reviewed-by: Scott Bauer <sbauer@plzdonthack.me>
Reviewed-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/mfd/omap-usb-tll.c')
0 files changed, 0 insertions, 0 deletions