Re: [PATCH] scsi: megaraid_sas: Fix inconsistent of format with argument type in megaraid_sas_base.c

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

 



Ye,

> @@ -5603,7 +5603,7 @@ megasas_setup_irqs_msix(struct megasas_instance *instance, u8 is_probe)
>  	for (i = 0; i < instance->msix_vectors; i++) {
>  		instance->irq_context[i].instance = instance;
>  		instance->irq_context[i].MSIxIndex = i;
> -		snprintf(instance->irq_context[i].name, MEGASAS_MSIX_NAME_LEN, "%s%u-msix%u",
> +		snprintf(instance->irq_context[i].name, MEGASAS_MSIX_NAME_LEN, "%s%u-msix%d",

It's probably better to make the index unsigned.

-- 
Martin K. Petersen	Oracle Linux Engineering



[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