[PATCH v3 2/2] ARM: S5PV210: Add Ext interrupt support

Russell King - ARM Linux linux at arm.linux.org.uk
Fri May 14 04:17:23 EDT 2010


On Thu, May 13, 2010 at 08:13:29PM +0900, Kukjin Kim wrote:
> +static int s5p_irq_eint_set_type(unsigned int irq, unsigned int type)
> +{
> +	default:
> +		printk(KERN_ERR "No such irq type %d", type);
> +		return -1;

Is this really "Operation not permitted" aka -EPERM ?  Please change it
to a proper error code rather than being lazy.



More information about the linux-arm-kernel mailing list