summaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorEduardo Valentin <edubezval@gmail.com>2016-11-08 06:08:58 +0100
committerZhang Rui <rui.zhang@intel.com>2016-11-23 03:06:12 +0100
commit09544da9e8255ef0f3aafd1e7da067dd2b521b40 (patch)
tree5bb3689c75c1a73a6a2d4ae9f1210fca594aea7d /fs/btrfs
parentthermal: core: move to_thermal_zone() macro to header file (diff)
downloadlinux-09544da9e8255ef0f3aafd1e7da067dd2b521b40.tar.xz
linux-09544da9e8255ef0f3aafd1e7da067dd2b521b40.zip
thermal: core: treat correctly the return value of *scanf calls
This patch checks the return value of all calls to *scanf. The check is to simply match the number of expect inputs. The current code does not do any recovery in case the number of treated inputs are different than the expected. Therefore, keeping the same behavior. Cc: Zhang Rui <rui.zhang@intel.com> Cc: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'fs/btrfs')
0 files changed, 0 insertions, 0 deletions