* Re: [Pv-drivers] [PATCH] PVSCSI: fix signedness warning with newer compilers [not found] <20100119173819.GA28630@dtor-ws.eng.vmware.com> @ 2010-01-19 18:04 ` Alok Kataria 2010-01-19 18:08 ` James Bottomley 0 siblings, 1 reply; 7+ messages in thread From: Alok Kataria @ 2010-01-19 18:04 UTC (permalink / raw) To: Dmitry Torokhov Cc: James Bottomley, VMware PV-Drivers, linux-scsi@vger.kernel.org On Tue, 2010-01-19 at 09:38 -0800, Dmitry Torokhov wrote: > pvscsi_setup_msix() expects 'irq' argument to be an int but is being > passed unsigned int. Unsigned int is more proper type for IRQ number > so let's use it. This shuts off a compile warning with recent > compilers. > > Signed-off-by: Dmitry Torokhov <dtor@vmware.com> LGTM. Signed-off-by: Alok N Kataria <akataria@vmware.com> Thanks. > --- > drivers/scsi/vmw_pvscsi.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/drivers/scsi/vmw_pvscsi.c b/drivers/scsi/vmw_pvscsi.c > index d2604c8..e4ac582 100644 > --- a/drivers/scsi/vmw_pvscsi.c > +++ b/drivers/scsi/vmw_pvscsi.c > @@ -1069,7 +1069,8 @@ static void pvscsi_free_sgls(const struct pvscsi_adapter *adapter) > free_pages((unsigned long)ctx->sgl, get_order(SGL_SIZE)); > } > > -static int pvscsi_setup_msix(const struct pvscsi_adapter *adapter, int *irq) > +static int pvscsi_setup_msix(const struct pvscsi_adapter *adapter, > + unsigned int *irq) > { > struct msix_entry entry = { 0, PVSCSI_VECTOR_COMPLETION }; > int ret; > > _______________________________________________ > Pv-drivers mailing list > Pv-drivers@vmware.com > http://mailman2.vmware.com/mailman/listinfo/pv-drivers ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Pv-drivers] [PATCH] PVSCSI: fix signedness warning with newer compilers 2010-01-19 18:04 ` [Pv-drivers] [PATCH] PVSCSI: fix signedness warning with newer compilers Alok Kataria @ 2010-01-19 18:08 ` James Bottomley 2010-01-19 18:19 ` Alok Kataria 0 siblings, 1 reply; 7+ messages in thread From: James Bottomley @ 2010-01-19 18:08 UTC (permalink / raw) To: akataria; +Cc: Dmitry Torokhov, VMware PV-Drivers, linux-scsi@vger.kernel.org On Tue, 2010-01-19 at 10:04 -0800, Alok Kataria wrote: > On Tue, 2010-01-19 at 09:38 -0800, Dmitry Torokhov wrote: > > pvscsi_setup_msix() expects 'irq' argument to be an int but is being > > passed unsigned int. Unsigned int is more proper type for IRQ number > > so let's use it. This shuts off a compile warning with recent > > compilers. > > > > Signed-off-by: Dmitry Torokhov <dtor@vmware.com> > > LGTM. > > Signed-off-by: Alok N Kataria <akataria@vmware.com> That would be acked-by unless you want to resend the patch to me? I don't have an unmangled copy of it, so someone needs to send it to the scsi list. Thanks, James ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Pv-drivers] [PATCH] PVSCSI: fix signedness warning with newer compilers 2010-01-19 18:08 ` James Bottomley @ 2010-01-19 18:19 ` Alok Kataria 2010-01-19 18:20 ` Dmitry Torokhov 2010-01-19 18:26 ` James Bottomley 0 siblings, 2 replies; 7+ messages in thread From: Alok Kataria @ 2010-01-19 18:19 UTC (permalink / raw) To: James Bottomley Cc: Dmitry Torokhov, VMware PV-Drivers, linux-scsi@vger.kernel.org On Tue, 2010-01-19 at 10:08 -0800, James Bottomley wrote: > On Tue, 2010-01-19 at 10:04 -0800, Alok Kataria wrote: > > On Tue, 2010-01-19 at 09:38 -0800, Dmitry Torokhov wrote: > > > pvscsi_setup_msix() expects 'irq' argument to be an int but is being > > > passed unsigned int. Unsigned int is more proper type for IRQ number > > > so let's use it. This shuts off a compile warning with recent > > > compilers. > > > > > > Signed-off-by: Dmitry Torokhov <dtor@vmware.com> > > > > LGTM. > > > > Signed-off-by: Alok N Kataria <akataria@vmware.com> > > That would be acked-by unless you want to resend the patch to me? I > don't have an unmangled copy of it, so someone needs to send it to the > scsi list. > Acked-by is fine with me too. If its an hassle to pick these lines after the patch is sent, I am totally fine if you pick the patch without my Acked-by or SOB line, just wanted to acknowledge that the change is fine by me. Thanks, Alok > Thanks, > > James > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Pv-drivers] [PATCH] PVSCSI: fix signedness warning with newer compilers 2010-01-19 18:19 ` Alok Kataria @ 2010-01-19 18:20 ` Dmitry Torokhov 2010-01-19 18:23 ` James Bottomley 2010-01-19 18:26 ` James Bottomley 1 sibling, 1 reply; 7+ messages in thread From: Dmitry Torokhov @ 2010-01-19 18:20 UTC (permalink / raw) To: Alok Kataria Cc: James Bottomley, VMware PV-Drivers, linux-scsi@vger.kernel.org On Tuesday 19 January 2010 10:19:04 am Alok Kataria wrote: > On Tue, 2010-01-19 at 10:08 -0800, James Bottomley wrote: > > On Tue, 2010-01-19 at 10:04 -0800, Alok Kataria wrote: > > > On Tue, 2010-01-19 at 09:38 -0800, Dmitry Torokhov wrote: > > > > pvscsi_setup_msix() expects 'irq' argument to be an int but is being > > > > passed unsigned int. Unsigned int is more proper type for IRQ number > > > > so let's use it. This shuts off a compile warning with recent > > > > compilers. > > > > > > > > Signed-off-by: Dmitry Torokhov <dtor@vmware.com> > > > > > > LGTM. > > > > > > Signed-off-by: Alok N Kataria <akataria@vmware.com> > > > > That would be acked-by unless you want to resend the patch to me? I > > don't have an unmangled copy of it, so someone needs to send it to the > > scsi list. > > Acked-by is fine with me too. If its an hassle to pick these lines after > the patch is sent, I am totally fine if you pick the patch without my > Acked-by or SOB line, just wanted to acknowledge that the change is fine > by me. > Hm, I wonder why the original did not make through to linux-scsi/James. I will resend from my other address then. -- Dmitry ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Pv-drivers] [PATCH] PVSCSI: fix signedness warning with newer compilers 2010-01-19 18:20 ` Dmitry Torokhov @ 2010-01-19 18:23 ` James Bottomley 2010-01-19 18:27 ` Dmitry Torokhov 0 siblings, 1 reply; 7+ messages in thread From: James Bottomley @ 2010-01-19 18:23 UTC (permalink / raw) To: Dmitry Torokhov Cc: Alok Kataria, VMware PV-Drivers, linux-scsi@vger.kernel.org On Tue, 2010-01-19 at 10:20 -0800, Dmitry Torokhov wrote: > On Tuesday 19 January 2010 10:19:04 am Alok Kataria wrote: > > On Tue, 2010-01-19 at 10:08 -0800, James Bottomley wrote: > > > On Tue, 2010-01-19 at 10:04 -0800, Alok Kataria wrote: > > > > On Tue, 2010-01-19 at 09:38 -0800, Dmitry Torokhov wrote: > > > > > pvscsi_setup_msix() expects 'irq' argument to be an int but is being > > > > > passed unsigned int. Unsigned int is more proper type for IRQ number > > > > > so let's use it. This shuts off a compile warning with recent > > > > > compilers. > > > > > > > > > > Signed-off-by: Dmitry Torokhov <dtor@vmware.com> > > > > > > > > LGTM. > > > > > > > > Signed-off-by: Alok N Kataria <akataria@vmware.com> > > > > > > That would be acked-by unless you want to resend the patch to me? I > > > don't have an unmangled copy of it, so someone needs to send it to the > > > scsi list. > > > > Acked-by is fine with me too. If its an hassle to pick these lines after > > the patch is sent, I am totally fine if you pick the patch without my > > Acked-by or SOB line, just wanted to acknowledge that the change is fine > > by me. > > > > Hm, I wonder why the original did not make through to linux-scsi/James. > I will resend from my other address then. Well, sometimes it's because someone is using a mail tool that breaks threading ... but I did a subject search, it definitely isn't in my folder. Vger has a fairly esoteric spam reduction mechanism based on regexps ... perhaps you fell foul of that? James ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Pv-drivers] [PATCH] PVSCSI: fix signedness warning with newer compilers 2010-01-19 18:23 ` James Bottomley @ 2010-01-19 18:27 ` Dmitry Torokhov 0 siblings, 0 replies; 7+ messages in thread From: Dmitry Torokhov @ 2010-01-19 18:27 UTC (permalink / raw) To: James Bottomley Cc: Alok Kataria, VMware PV-Drivers, linux-scsi@vger.kernel.org On Tuesday 19 January 2010 10:23:43 am James Bottomley wrote: > On Tue, 2010-01-19 at 10:20 -0800, Dmitry Torokhov wrote: > > On Tuesday 19 January 2010 10:19:04 am Alok Kataria wrote: > > > On Tue, 2010-01-19 at 10:08 -0800, James Bottomley wrote: > > > > On Tue, 2010-01-19 at 10:04 -0800, Alok Kataria wrote: > > > > > On Tue, 2010-01-19 at 09:38 -0800, Dmitry Torokhov wrote: > > > > > > pvscsi_setup_msix() expects 'irq' argument to be an int but is > > > > > > being passed unsigned int. Unsigned int is more proper type for > > > > > > IRQ number so let's use it. This shuts off a compile warning with > > > > > > recent compilers. > > > > > > > > > > > > Signed-off-by: Dmitry Torokhov <dtor@vmware.com> > > > > > > > > > > LGTM. > > > > > > > > > > Signed-off-by: Alok N Kataria <akataria@vmware.com> > > > > > > > > That would be acked-by unless you want to resend the patch to me? I > > > > don't have an unmangled copy of it, so someone needs to send it to > > > > the scsi list. > > > > > > Acked-by is fine with me too. If its an hassle to pick these lines > > > after the patch is sent, I am totally fine if you pick the patch > > > without my Acked-by or SOB line, just wanted to acknowledge that the > > > change is fine by me. > > > > Hm, I wonder why the original did not make through to linux-scsi/James. > > I will resend from my other address then. > > Well, sometimes it's because someone is using a mail tool that breaks > threading ... but I did a subject search, it definitely isn't in my > folder. Vger has a fairly esoteric spam reduction mechanism based on > regexps ... perhaps you fell foul of that? Mutt usually does not fail me when sending patches. Let's see if my other account works better. -- Dmitry ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Pv-drivers] [PATCH] PVSCSI: fix signedness warning with newer compilers 2010-01-19 18:19 ` Alok Kataria 2010-01-19 18:20 ` Dmitry Torokhov @ 2010-01-19 18:26 ` James Bottomley 1 sibling, 0 replies; 7+ messages in thread From: James Bottomley @ 2010-01-19 18:26 UTC (permalink / raw) To: akataria; +Cc: Dmitry Torokhov, VMware PV-Drivers, linux-scsi@vger.kernel.org On Tue, 2010-01-19 at 10:19 -0800, Alok Kataria wrote: > On Tue, 2010-01-19 at 10:08 -0800, James Bottomley wrote: > > On Tue, 2010-01-19 at 10:04 -0800, Alok Kataria wrote: > > > On Tue, 2010-01-19 at 09:38 -0800, Dmitry Torokhov wrote: > > > > pvscsi_setup_msix() expects 'irq' argument to be an int but is being > > > > passed unsigned int. Unsigned int is more proper type for IRQ number > > > > so let's use it. This shuts off a compile warning with recent > > > > compilers. > > > > > > > > Signed-off-by: Dmitry Torokhov <dtor@vmware.com> > > > > > > LGTM. > > > > > > Signed-off-by: Alok N Kataria <akataria@vmware.com> > > > > That would be acked-by unless you want to resend the patch to me? I > > don't have an unmangled copy of it, so someone needs to send it to the > > scsi list. > > > Acked-by is fine with me too. If its an hassle to pick these lines after > the patch is sent, I am totally fine if you pick the patch without my > Acked-by or SOB line, just wanted to acknowledge that the change is fine > by me. The difference is Acked-by means you looked at the patch and said it was OK. This is fairly essential if you want the change to go into the SCSI tree because otherwise it goes in my pile to look at ordered by importance (and changes like this tend to land close to the bottom). If you want to send it to me yourself, you resend it with a signed-off-by tag (this tracks whose hands the change passed through). James ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-01-19 18:27 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20100119173819.GA28630@dtor-ws.eng.vmware.com>
2010-01-19 18:04 ` [Pv-drivers] [PATCH] PVSCSI: fix signedness warning with newer compilers Alok Kataria
2010-01-19 18:08 ` James Bottomley
2010-01-19 18:19 ` Alok Kataria
2010-01-19 18:20 ` Dmitry Torokhov
2010-01-19 18:23 ` James Bottomley
2010-01-19 18:27 ` Dmitry Torokhov
2010-01-19 18:26 ` James Bottomley
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox