public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@suse.de>
To: james.smart@emulex.com
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH 4/6] lpfc 8.3.21: Initialization and user interface changes
Date: Fri, 18 Feb 2011 14:59:29 -0600	[thread overview]
Message-ID: <1298062769.3007.181.camel@mulgrave.site> (raw)
In-Reply-To: <1297877997.1492.27.camel@wookie>

On Wed, 2011-02-16 at 12:39 -0500, James Smart wrote:
> - Make link speed not supported by port message an error message.
> - Add support for new SLI failure codes add sysfs parameter to reflect the
>   security setting and current state.
> - Add all lpfc module parameters to the /sys/modules/lpfc/parameters directory.
> 
>  Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
>  Signed-off-by: James Smart <james.smart@emulex.com>

Someone didn't compile check this:

drivers/scsi/lpfc/lpfc_debugfs.c:96: error: 'S_IRUGO0' undeclared here (not in a function)
drivers/scsi/lpfc/lpfc_debugfs.c:96: error: bit-field '<anonymous>' width not an integer constant
make[3]: *** [drivers/scsi/lpfc/lpfc_debugfs.o] Error 1

The error is here:

> diff -upNr a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c
> --- a/drivers/scsi/lpfc/lpfc_debugfs.c	2010-08-04 10:31:45.000000000 -0400
> +++ b/drivers/scsi/lpfc/lpfc_debugfs.c	2011-02-16 11:33:35.000000000 -0500
> @@ -82,23 +82,23 @@
>   *                               the HBA. X MUST also be a power of 2.
>   */
>  static int lpfc_debugfs_enable = 1;
> -module_param(lpfc_debugfs_enable, int, 0);
> +module_param(lpfc_debugfs_enable, int, S_IRUGO);
>  MODULE_PARM_DESC(lpfc_debugfs_enable, "Enable debugfs services");
>  
>  /* This MUST be a power of 2 */
>  static int lpfc_debugfs_max_disc_trc;
> -module_param(lpfc_debugfs_max_disc_trc, int, 0);
> +module_param(lpfc_debugfs_max_disc_trc, int, S_IRUGO);
>  MODULE_PARM_DESC(lpfc_debugfs_max_disc_trc,
>  	"Set debugfs discovery trace depth");
>  
>  /* This MUST be a power of 2 */
>  static int lpfc_debugfs_max_slow_ring_trc;
> -module_param(lpfc_debugfs_max_slow_ring_trc, int, 0);
> +module_param(lpfc_debugfs_max_slow_ring_trc, int, S_IRUGO0);
>  MODULE_PARM_DESC(lpfc_debugfs_max_slow_ring_trc,
>  	"Set debugfs slow ring trace depth");

I assume this is just supposed to be S_IRUGO like everything else?

James



  reply	other threads:[~2011-02-18 20:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-16 17:39 [PATCH 4/6] lpfc 8.3.21: Initialization and user interface changes James Smart
2011-02-18 20:59 ` James Bottomley [this message]
2011-02-18 22:29   ` James Smart

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=1298062769.3007.181.camel@mulgrave.site \
    --to=james.bottomley@suse.de \
    --cc=james.smart@emulex.com \
    --cc=linux-scsi@vger.kernel.org \
    /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