[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200520204036.GA1335@infradead.org>
Date: Wed, 20 May 2020 13:40:36 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
vkuznets@...hat.com, Joerg Roedel <jroedel@...e.de>
Subject: Re: [PATCH 22/24] uaccess: add memzero_user
On Wed, May 20, 2020 at 01:21:43PM -0400, Paolo Bonzini wrote:
> + unsafe_put_user(val, (unsigned long __user *) from, err_fault);
This adds a way too long line. In many ways it would be much nicer if
you used an unsigned long __user * variable internally, a that would
remove all these crazy casts and actually make the code readable.
Powered by blists - more mailing lists