lkml.org 
[lkml]   [2016]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v6] genirq: Machine-parsable version of /proc/interrupts
On Wed, Sep 14, 2016 at 9:36 AM, Thomas Gleixner <tglx@linutronix.de> wrote:
> On Tue, 13 Sep 2016, Craig Gallek wrote:
>> +What: /sys/kernel/irq/<irq>/name
>> +Date: September 2016
>> +KernelVersion: 4.9
>> +Contact: Craig Gallek <kraig@google.com>
>> +Description: Human-readable flow handler name as defined by the device
>> + driver.
>
> That's ambigous. device driver reads like a the driver of the device which
> uses this irq. I fixed that up.
>
>> static void free_desc(unsigned int irq)
>> {
>> struct irq_desc *desc = irq_to_desc(irq);
>>
>> unregister_irq_proc(irq, desc);
>> + kobject_del(&desc->kobj);
>
> You forgot to move this under the sparse lock protection as well. There is
> the same race against a concurrent initcall.
Good catch, thank you for the review and accepting this code.

Craig

\
 
 \ /
  Last update: 2016-09-17 09:59    [W:0.914 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site