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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170622163521.GD2479@mai>
Date:   Thu, 22 Jun 2017 18:35:21 +0200
From:   Daniel Lezcano <daniel.lezcano@...aro.org>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     linux-kernel@...r.kernel.org,
        Peter Zijlstra <peterz@...radead.org>,
        "Rafael J . Wysocki" <rafael@...nel.org>,
        Vincent Guittot <vincent.guittot@...aro.org>,
        Nicolas Pitre <nicolas.pitre@...aro.org>,
        Jens Axboe <axboe@...nel.dk>, Hannes Reinecke <hare@...e.com>,
        Bjorn Helgaas <bhelgaas@...gle.com>
Subject: Re: [PATCH 3/3] irq: Compute the periodic interval for interrupts

On Thu, Jun 22, 2017 at 05:25:56PM +0200, Thomas Gleixner wrote:

[ ... ]

> > +	ret = irq_timings_alloc(irq);
> > +	if (ret) {
> > +		pr_warn("Failed to allocate irq timing stats for irq%d (%d)",
> > +			irq, ret);
> 
> That error code is -ENOMEM always, right?

No, it could be also the value returned by idr_alloc() which could be EINVAL or
ENOSPC (which are values returned also by the low level libraries radix-tree
functions).

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ