Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1705496
| From | Santosh Mardi <gsantosh@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] devfreq: add error check for sscanf in userspace governor |
| Date | 2017-08-07 15:10 +0200 |
| Message-ID | <ubPXd-bV-45@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
What this patch does: Current implementation of store_freq function in devfreq userspace governor executes further, even if error is returned from sscanf. This will result in setting up wrong frequency value. This patch adds proper error check to bail out if any error is returned. Santosh Mardi (1): devfreq: add error check for sscanf in userspace governor drivers/devfreq/governor_userspace.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 1.9.1
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] devfreq: add error check for sscanf in userspace governor Santosh Mardi <gsantosh@codeaurora.org> - 2017-08-07 15:10 +0200
csiph-web