mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 10:44:23 +08:00
staging: unisys: Get rid of uint usage
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e82ba62e23
commit
9421736356
@ -2120,7 +2120,7 @@ static ssize_t devicedisabled_store(struct device *dev,
|
||||
struct device_attribute *attr,
|
||||
const char *buf, size_t count)
|
||||
{
|
||||
uint id;
|
||||
unsigned int id;
|
||||
|
||||
if (kstrtouint(buf, 10, &id) != 0)
|
||||
return -EINVAL;
|
||||
@ -2137,7 +2137,7 @@ static ssize_t deviceenabled_store(struct device *dev,
|
||||
struct device_attribute *attr,
|
||||
const char *buf, size_t count)
|
||||
{
|
||||
uint id;
|
||||
unsigned int id;
|
||||
|
||||
if (kstrtouint(buf, 10, &id) != 0)
|
||||
return -EINVAL;
|
||||
|
Loading…
Reference in New Issue
Block a user