lkml.org 
[lkml]   [2015]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] acpi: add support for extended IRQ to PCI link
From
Date
okaya@codeaurora.org wrote:
> This is what it was before.
>
>> > if (acpi_irq_balance || !link->irq.active) {
>> >- /*
>> >- * Select the best IRQ. This is done in reverse to promote
>> >- * the use of IRQs 9, 10, 11, and >15.
>> >- */
>> >- for (i = (link->irq.possible_count - 1); i >= 0; i--) {
>> >- if (acpi_irq_penalty[irq] >
>> >- acpi_irq_penalty[link->irq.possible[i]])
>> >- irq = link->irq.possible[i];
> I added a range check for link->irq.possible[i] and irq into this code.
>
>

This change:

- * Select the best IRQ. This is done in reverse to promote
- * the use of IRQs 9, 10, 11, and >15.
+ * Select the best IRQ. This is done in reverse to
+ * promote the use of IRQs 9, 10, 11, and >15.

is an unrelated whitespace change. It doesn't belong in this patch.

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the
Code Aurora Forum, hosted by The Linux Foundation.


\
 
 \ /
  Last update: 2015-11-12 17:21    [W:0.128 / U:1.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site