[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200722120930.GB25691@duo.ucw.cz>
Date: Wed, 22 Jul 2020 14:09:30 +0200
From: Pavel Machek <pavel@...x.de>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
Douglas Anderson <dianders@...omium.org>,
Mark Brown <broonie@...nel.org>,
Sasha Levin <sashal@...nel.org>
Subject: Re: [PATCH 4.19 066/133] regmap: debugfs: Dont sleep while atomic
for fast_io regmaps
Hi!
> From: Douglas Anderson <dianders@...omium.org>
>
> [ Upstream commit 299632e54b2e692d2830af84be51172480dc1e26 ]
>
> + err = kstrtobool_from_user(user_buf, count, &new_val);
> + /* Ignore malforned data like debugfs_write_file_bool() */
> + err = kstrtobool_from_user(user_buf, count, &new_val);
> + /* Ignore malforned data like debugfs_write_file_bool() */
I guess that should be "malformed" in both cases.
Plus it would not be bad to share code between those two functions, as
they are pretty much identical...
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)
Powered by blists - more mailing lists