Re: [PATCH] scsi: stex: make S6flag static

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

 



Looks good to me.
Thanks for the improvement.

On 4/26/2017 1:36 AM, Colin King wrote:
From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

This module specific flag can be made static as it does
not need to be in global scope.

> Reviewed-by: Charles Chiou <charles.chiou@xxxxxxxxxxxxxx>
Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
  drivers/scsi/stex.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c
index 0751561b59da..9b20643ab49d 100644
--- a/drivers/scsi/stex.c
+++ b/drivers/scsi/stex.c
@@ -363,7 +363,7 @@ struct st_card_info {
  	u16 sts_count;
  };
-int S6flag;
+static int S6flag;
  static int stex_halt(struct notifier_block *nb, ulong event, void *buf);
  static struct notifier_block stex_notifier = {
  	stex_halt, NULL, 0




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux