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: <Y+4vnHS5y5stzg9o@casper.infradead.org>
Date:   Thu, 16 Feb 2023 13:29:00 +0000
From:   Matthew Wilcox <willy@...radead.org>
To:     wenyang.linux@...mail.com
Cc:     Alexander Viro <viro@...iv.linux.org.uk>,
        Christoph Hellwig <hch@....de>, Dylan Yudaken <dylany@...com>,
        Jens Axboe <axboe@...nel.dk>,
        David Woodhouse <dwmw@...zon.co.uk>, Fu Wei <wefu@...hat.com>,
        Paolo Bonzini <pbonzini@...hat.com>,
        Michal Nazarewicz <m.nazarewicz@...sung.com>,
        linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] eventfd: use wait_event_interruptible_locked_irq() helper

On Thu, Feb 16, 2023 at 09:17:39PM +0800, wenyang.linux@...mail.com wrote:
> +		res = wait_event_interruptible_locked_irq(
> +				ctx->wqh, ULLONG_MAX - ctx->count > ucnt) ?
> +			-ERESTARTSYS : sizeof(ucnt);

You've broken the line here in a weird way.  I'd've done it as:

		res = wait_event_interruptible_locked_irq(ctx->wqh,
				ULLONG_MAX - ctx->count > ucnt) ?
					-ERESTARTSYS : sizeof(ucnt));

... also the patch you've sent here doesn't even compile.  Have you
tested it?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ