Re: [PATCH] fix cast in irq_lsapic.c

From: Jesse Barnes <jbarnes_at_sgi.com>
Date: 2004-01-20 12:47:08
On Sat, Jan 17, 2004 at 05:06:47PM +0000, Christoph Hellwig wrote:
> On Fri, Jan 16, 2004 at 12:15:22PM -0800, Jesse Barnes wrote:
> > Now that I've disabled dependency violation checking in my build of
> > binutils, I can see real warnings much more easily.
> > 
> > This patch just updates the cast in irq_lsapic.c to use the cpumask_t
> > type for the noop cast assignment to smp_affinity.
> 
> I think Jack already sent a patch for this when we were in freeze and
> the same comment applies here:  I think the method is optional, so you
> can probably just remove it, if not please add a properly prototyped
> stub function for it.

Oh yeah, forgot about that message.  Here's an updated patch.

Thanks,
Jesse

===== arch/ia64/kernel/irq_lsapic.c 1.3 vs edited =====
--- 1.3/arch/ia64/kernel/irq_lsapic.c	Fri Jul 19 07:02:26 2002
+++ edited/arch/ia64/kernel/irq_lsapic.c	Mon Jan 19 17:45:48 2004
@@ -34,5 +34,4 @@
 	.disable =	lsapic_noop,
 	.ack =		lsapic_noop,
 	.end =		lsapic_noop,
-	.set_affinity =	(void (*)(unsigned int, unsigned long)) lsapic_noop
 };
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Jan 19 20:57:19 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:21 EST