public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] silence sort(..., swap) warning on ia64
@ 2005-03-10 18:18 Chris Wedgwood
  2005-03-10 19:36 ` Matt Mackall
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Wedgwood @ 2005-03-10 18:18 UTC (permalink / raw)
  To: linux-ia64, LKML; +Cc: Matt Mackall

Not tested but seems plausible :-)

===== arch/ia64/mm/extable.c 1.11 vs edited =====
--- 1.11/arch/ia64/mm/extable.c	2005-03-07 20:41:46 -08:00
+++ edited/arch/ia64/mm/extable.c	2005-03-10 10:14:55 -08:00
@@ -20,7 +20,7 @@ static int cmp_ex(const void *a, const v
 	return lip - rip;
 }
 
-static void swap_ex(void *a, void *b)
+static void swap_ex(void *a, void *b, int _unused_size)
 {
 	struct exception_table_entry *l = a, *r = b, tmp;
 	u64 delta = (u64) r - (u64) l;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] silence sort(..., swap) warning on ia64
  2005-03-10 18:18 [PATCH] silence sort(..., swap) warning on ia64 Chris Wedgwood
@ 2005-03-10 19:36 ` Matt Mackall
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Mackall @ 2005-03-10 19:36 UTC (permalink / raw)
  To: Chris Wedgwood; +Cc: linux-ia64, LKML

On Thu, Mar 10, 2005 at 10:18:35AM -0800, Chris Wedgwood wrote:
> Not tested but seems plausible :-)

Yep, this was pointed out to me yesterday.
  
> -static void swap_ex(void *a, void *b)
> +static void swap_ex(void *a, void *b, int _unused_size)

-- 
Mathematics is the supreme nostalgia of our time.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-10 19:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-10 18:18 [PATCH] silence sort(..., swap) warning on ia64 Chris Wedgwood
2005-03-10 19:36 ` Matt Mackall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox