Skip to content
Commit 5fd637e7 authored by Rastislav Barlik's avatar Rastislav Barlik Committed by Greg Kroah-Hartman
Browse files

samples/kobject: Use kstrtoint instead of sscanf



Use kstrtoint function instead of sscanf and check for return values.

Signed-off-by: default avatarRastislav Barlik <barlik@zoho.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1c34203a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment