time: Fix signedness bug in sysfs_get_uname() and its callers
[deliverable/linux.git] / kernel / time / clockevents.c
index 38959c86678987d0306548b73c03b9413c68b321..30554b9fb1f7af1e83bc5f4c31073d566a74c2c3 100644 (file)
@@ -584,7 +584,7 @@ static ssize_t sysfs_unbind_tick_dev(struct device *dev,
                                     const char *buf, size_t count)
 {
        char name[CS_NAME_LEN];
-       size_t ret = sysfs_get_uname(buf, name, count);
+       ssize_t ret = sysfs_get_uname(buf, name, count);
        struct clock_event_device *ce;
 
        if (ret < 0)
This page took 0.023903 seconds and 5 git commands to generate.