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-prev] [day] [month] [year] [list]
Date:	Thu, 15 May 2014 18:56:35 +0200
From:	Alessandro Zummo <a.zummo@...ertech.it>
To:	RAGHAVENDRA GANIGA <ravi23ganiga@...il.com>
Cc:	linux-kernel@...r.kernel.org, rtc-linux@...glegroups.com
Subject: Re: query regarding not returning error if request_irq fails after
 rtc registration

On Thu, 15 May 2014 22:15:14 +0530
RAGHAVENDRA GANIGA <ravi23ganiga@...il.com> wrote:

> my question is that the set_alarm and alarm_irq_enable is still active,
> so should i use some flag in the global private variable of the driver
> so that if the request irq fails, then using this flag the set_alarm
> and alarm_irq_enable can return error since there is no irq handler
> for the rtc interrupt 
> or is there any other solution 
> or let the set_alarm and alarm_irq_enable routine be as it is and will

 you can use a flag (or set the irq to -1)

-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Torino, Italy

  http://www.towertech.it

--
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