Loading net/sunrpc/sysctl.c +4 −2 Original line number Original line Diff line number Diff line Loading @@ -108,8 +108,10 @@ proc_dodebug(struct ctl_table *table, int write, void *buffer, size_t *lenp, left -= (s - tmpbuf); left -= (s - tmpbuf); if (left && !isspace(*s)) if (left && !isspace(*s)) return -EINVAL; return -EINVAL; while (left && isspace(*s)) while (left && isspace(*s)) { left--, s++; left--; s++; } } else } else left = 0; left = 0; *(unsigned int *) table->data = value; *(unsigned int *) table->data = value; Loading Loading
net/sunrpc/sysctl.c +4 −2 Original line number Original line Diff line number Diff line Loading @@ -108,8 +108,10 @@ proc_dodebug(struct ctl_table *table, int write, void *buffer, size_t *lenp, left -= (s - tmpbuf); left -= (s - tmpbuf); if (left && !isspace(*s)) if (left && !isspace(*s)) return -EINVAL; return -EINVAL; while (left && isspace(*s)) while (left && isspace(*s)) { left--, s++; left--; s++; } } else } else left = 0; left = 0; *(unsigned int *) table->data = value; *(unsigned int *) table->data = value; Loading