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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZuQIeVAdC1O2xAM9@smile.fi.intel.com>
Date: Fri, 13 Sep 2024 12:40:09 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Vasileios Amoiridis <vassilisamir@...il.com>
Cc: gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 1/2] uio: uio_dmem_genirq: Make use of
 irq_get_trigger_type()

On Fri, Sep 13, 2024 at 01:59:24AM +0200, Vasileios Amoiridis wrote:
> Convert the following case:
> 
>         struct irq_data *irq_data = irq_get_irq_data(irq);
> 
>         if (irq_data && irqd_get_trigger_type(irq_data) ... ) {
>                 ...
>         }
> 
> to the simpler:
> 
>         if (irq_get_trigger_type(irq) ... ) {
>                 ...
>         }
> 
> by using the irq_get_trigger_type() function.

Btw, can you add a coccinelle ruleset for this?

-- 
With Best Regards,
Andy Shevchenko



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ