linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Sumit.Saxena@avagotech.com
Cc: linux-scsi@vger.kernel.org, martin.petersen@oracle.com,
	hch@infradead.org, jbottomley@parallels.com,
	kashyap.desai@avagotech.com
Subject: Re: [PATCH 2/8] megaraid_sas : Support for secure JBOD
Date: Thu, 8 Jan 2015 02:41:35 -0800	[thread overview]
Message-ID: <20150108104135.GC600@infradead.org> (raw)
In-Reply-To: <201501051440.t05Ee5m5029978@palmhbs0.lsi.com>

>  #if defined(__BIG_ENDIAN_BITFIELD)
> -		u32     reserved:25;
> +		u32     reserved:12;
> +		u32     discardCacheDuringLDDelete:1;
> +		u32     supportSecurityonJBOD:1;
> +		u32     supportCacheBypassModes:1;
> +		u32     supportDisableSESMonitoring:1;
> +		u32     supportForceFlash:1;
> +		u32     supportNVDRAM:1;
> +		u32     supportDrvActivityLEDSetting:1;
> +		u32     supportAllowedOpsforDrvRemoval:1;
> +		u32     supportHOQRebuild:1;
> +		u32     supportForceTo512e:1;
> +		u32     supportNVCacheErase:1;
> +		u32     supportDebugQueue:1;
> +		u32     supportSwZone:1;

This is another candidate for using a u32 with bit wise flags..

      parent reply	other threads:[~2015-01-08 10:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-05 14:36 [PATCH 2/8] megaraid_sas : Support for secure JBOD Sumit.Saxena
2015-01-07  0:30 ` Martin K. Petersen
2015-01-08 10:41 ` Christoph Hellwig [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150108104135.GC600@infradead.org \
    --to=hch@infradead.org \
    --cc=Sumit.Saxena@avagotech.com \
    --cc=jbottomley@parallels.com \
    --cc=kashyap.desai@avagotech.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).