Re: [PATCH linux-next v3 1/2] irq: Add CPU mask affinity hint

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Thomas Gleixner
Date: Friday, April 30, 2010 - 2:17 pm

On Fri, 30 Apr 2010, Ben Hutchings wrote:

Oh come on. Driver writers get everything wrong and not checking on an
invalid irq number is better than crashing :)


I agree that -EINVAL is not really a good match.

How about just returning CPU_MASK_ALL if desc->affinity_hint is not
set ?

Thanks,

	tglx
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH linux-next v3 1/2] irq: Add CPU mask affinity hint, Peter P Waskiewicz Jr, (Fri Apr 30, 1:23 pm)
[PATCH linux-next v3 2/2] ixgbe: Example usage of the new ..., Peter P Waskiewicz Jr, (Fri Apr 30, 1:24 pm)
Re: [PATCH linux-next v3 1/2] irq: Add CPU mask affinity hint, Peter P Waskiewicz Jr, (Fri Apr 30, 1:30 pm)
Re: [PATCH linux-next v3 1/2] irq: Add CPU mask affinity hint, Thomas Gleixner, (Fri Apr 30, 2:17 pm)
Re: [PATCH linux-next v3 1/2] irq: Add CPU mask affinity hint, Peter P Waskiewicz Jr, (Fri Apr 30, 2:18 pm)