lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 21 Feb 2011 14:17:13 +0100
From:	Lars-Peter Clausen <lars@...afoo.de>
To:	linux-kernel@...r.kernel.org, mingo@...hat.com, hpa@...or.com,
	linus.walleij@...ricsson.com, tglx@...utronix.de, lars@...afoo.de
CC:	linux-tip-commits@...r.kernel.org
Subject: Re: [tip:irq/core] genirq: Add IRQCHIP_SET_TYPE_MASKED flag

 > @@ -588,11 +596,13 @@ int __irq_set_trigger(struct irq_desc *desc, unsigned
int irq,
>  
>  		if (chip != desc->irq_data.chip)
>  			irq_chip_set_defaults(desc->irq_data.chip);
> -		return 0;
> +		ret = 0;

I've just tested the patch and noticed that a 'break' is missing here.


>  	default:
>  		pr_err("setting trigger mode %lu for irq %u failed (%pF)\n",
>  		       flags, irq, chip->irq_set_type);
>  	}
> +	if (unmask)
> +		unmask_irq(desc);
>  	return ret;
>  }
>  
> @@ -669,7 +679,7 @@ again:
>  
>  #ifdef CONFIG_SMP
>  /*
> - * Check whether we need to change the affinity of the interrupt thread.
> + * Check whether we need to chasnge the affinity of the interrupt thread.
>   */
>  static void
>  irq_thread_check_affinity(struct irq_desc *desc, struct irqaction *action)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ