Re: [PATCH 1/2] megaraid_sas: Add High Availability clustering support using shared Logical Disks

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

 



On Sat, 2013-08-31 at 16:54 -0700, adam radford wrote:
> --- scsi-misc.old/drivers/scsi/megaraid/megaraid_sas_fusion.c
> 2013-08-31 16:17:56.909172648 -0700
> +++ scsi-misc.new/drivers/scsi/megaraid/megaraid_sas_fusion.c
> 2013-08-31 16:24:51.861078589 -0700
> @@ -77,9 +77,12 @@
>  MR_BuildRaidContext(struct megasas_instance *instance,
>      struct IO_REQUEST_INFO *io_info,
>      struct RAID_CONTEXT *pRAID_Context,
> -    struct MR_FW_RAID_MAP_ALL *map);
> +    struct MR_FW_RAID_MAP_ALL *map, u8 **raidLUN);
>  u16 MR_TargetIdToLdGet(u32 ldTgtId, struct MR_FW_RAID_MAP_ALL *map);
>  struct MR_LD_RAID *MR_LdRaidGet(u32 ld, struct MR_FW_RAID_MAP_ALL *map);
> +u16 MR_ArPdGet(u32 ar, u32 arm, struct MR_FW_RAID_MAP_ALL *map);
> +u16 MR_LdSpanArrayGet(u32 ld, u32 span, struct MR_FW_RAID_MAP_ALL *map);
> +u16 MR_PdDevHandleGet(u32 pd, struct MR_FW_RAID_MAP_ALL *map);
> 
>  u16 MR_GetLDTgtId(u32 ld, struct MR_FW_RAID_MAP_ALL *map);

Checkpatch doesn't like this.  It thinks (correctly) that these should
all be in megaraid_sas.h so we can't get the prototype different from
the actual function without some type of warning.  Can you move them,
please?

Thanks,

James


--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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