lkml.org 
[lkml]   [2017]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
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).

\
 
 \ /
  Last update: 2017-06-22 20:04    [W:0.025 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site