mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 07:30:06 -04: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:
committed by
Greg Kroah-Hartman
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;
|
||||
|
||||
Reference in New Issue
Block a user