Re: [PATCH v2 13/16] block: sed-opal: check size of shadow mbr

2019-01-19 Thread Scott Bauer
On Thu, Jan 17, 2019 at 09:31:53PM +, David Kozub wrote: > From: Jonas Rabenstein > > 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.

[PATCH v2 13/16] block: sed-opal: check size of shadow mbr

2019-01-17 Thread David Kozub
From: Jonas Rabenstein 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 --- block/opal_proto.h | 16 +++