Re: [PATCH RESEND] block: sed-opal: Add ioctl to return device status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 18, 2021 at 07:22:09AM -0500, Douglas Miller wrote:
> +++ b/block/sed-opal.c
> @@ -75,7 +75,11 @@ struct parsed_resp {
>  struct opal_dev {
>  	bool supported;
> +	bool locking_supported;
> +	bool locking_enabled;
> +	bool locked;
>  	bool mbr_enabled;
> +	bool mbr_done;

Please switch all these bools (or u8s in the user space ABI) to
flags with descriptive names on an u32 variable.



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux