<div>unsubscribe linux-scsi</div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Tue, Jul 21, 2009 at 6:02 AM, Chandra Seetharaman <span dir="ltr"><<a href="mailto:sekharan@us.ibm.com">sekharan@us.ibm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>I will reroll the patch with this fix and ported to the latest RC.<br>
<div>
<div></div>
<div class="h5">On Mon, 2009-07-20 at 09:00 -0400, Eddie Williams wrote:<br>> On Wed, 2009-07-01 at 20:13 -0700, Chandra Seetharaman wrote:<br>> > Handle the parameters provided by user thru multipath.<br>> ><br>
> > This handler expects only 2 parameters and their value can either be 0 or 1.<br>> ><br>> > This code originates from the old dm-emc.c file. Appropriate changes have<br>> > been made to make it work in the new design.<br>
> ><br>> > Signed-off-by: Chandra Seetharaman <<a href="mailto:sekharan@us.ibm.com">sekharan@us.ibm.com</a>><br>> > ---<br>> >  drivers/scsi/device_handler/scsi_dh_emc.c |   56 ++++++++++++++++++++++++++++++<br>
> >  1 file changed, 56 insertions(+)<br>> ><br>> > Index: linux-2.6.31-rc1/drivers/scsi/device_handler/scsi_dh_emc.c<br>> > ===================================================================<br>> > --- linux-2.6.31-rc1.orig/drivers/scsi/device_handler/scsi_dh_emc.c<br>
> > +++ linux-2.6.31-rc1/drivers/scsi/device_handler/scsi_dh_emc.c<br>> > @@ -561,6 +561,61 @@ done:<br>> ><br>> >     return result;<br>> >  }<br>> > +/*<br>> > + * params - parameters in the following format<br>
> > + *      "no_of_params\0param1\0param2\0param3\0...\0"<br>> > + *      for example, string for 2 parameters with value 10 and 21<br>> > + *      is specified as "2\010\021\0".<br>
> > + */<br>> > +static int clariion_set_params(struct scsi_device *sdev, const char *params)<br>> > +{<br>> > +   struct clariion_dh_data *csdev = get_clariion_data(sdev);<br>> > +   unsigned int hr = 0, st = 0, argc;<br>
> > +   char *p = params;<br>><br>> This throws a compiler warning resolved with a type cast:<br>>       char *p = (char *)params;<br>><br>><br>><br>> --<br></div></div>> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in<br>
> the body of a message to <a href="mailto:majordomo@vger.kernel.org">majordomo@vger.kernel.org</a><br>> More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank">http://vger.kernel.org/majordomo-info.html</a><br>

<div>
<div></div>
<div class="h5"><br>--<br>dm-devel mailing list<br><a href="mailto:dm-devel@redhat.com">dm-devel@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/dm-devel" target="_blank">https://www.redhat.com/mailman/listinfo/dm-devel</a><br>
</div></div></blockquote></div><br>