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:   Sat, 14 Jan 2017 17:10:05 +0100
From:   Ingo Molnar <mingo@...nel.org>
To:     Mike Galbraith <efault@....de>
Cc:     torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org,
        akpm@...ux-foundation.org, axboe@...nel.dk, tglx@...utronix.de,
        peterz@...radead.org, tj@...nel.org, hpa@...or.com,
        linux-tip-commits@...r.kernel.org
Subject: Re: [tip:sched/core] locking/mutex, sched/wait: Add mutex_lock_io()


* Mike Galbraith <efault@....de> wrote:

> On Sat, 2017-01-14 at 04:50 -0800, tip-bot for Tejun Heo wrote:
> 
> > diff --git a/include/linux/mutex.h b/include/linux/mutex.h
> > index b97870f..980ba16 100644
> > --- a/include/linux/mutex.h
> > +++ b/include/linux/mutex.h
> 
> > @@ -171,11 +173,13 @@ do {									\
> >  extern void mutex_lock(struct mutex *lock);
> >  extern int __must_check mutex_lock_interruptible(struct mutex *lock);
> >  extern int __must_check mutex_lock_killable(struct mutex *lock);
> > +extern void mutex_lock_io(struct mutex *lock);
> >  
> >  # define mutex_lock_nested(lock, subclass) mutex_lock(lock)
> >  # define mutex_lock_interruptible_nested(lock, subclass) mutex_lock_interruptible(lock)
> >  # define mutex_lock_killable_nested(lock, subclass) mutex_lock_killable(lock)
> >  # define mutex_lock_nest_lock(lock, nest_lock) mutex_lock(lock)
> > +# define mutex_lock_nest_io(lock, nest_lock) mutex_io(lock)
>                                                 ^^^^^^^^^^^^^^ typo

Double typo in fact I think, that should be something like:

# define mutex_lock_io_nested(lock, subclass) mutex_lock(lock)

Thanks,

	Ingo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ