kstrtou8
if (kstrtou8(str + 7, 0, &val) == 0)
if (kstrtou8(str + 8, 0, &val) == 0)
if (kstrtou8(buf, 0, &val) || val != 1)
ret = kstrtou8(val, 0, &gpe);
err = kstrtou8(buf, 0, &data);
ret = kstrtou8(buf, 0, &val);
ret = kstrtou8(buf, 0, &epp);
if (kstrtou8(buf, 0, &sso_pf_func_ovrd))
if (kstrtou8(buf, 16, &synd))
ret = kstrtou8(token[0], 0, &ue0);
ret = kstrtou8(token[1], 0, &ue1);
ret = kstrtou8(token[0], 0, &priv->ue_bitpos[0]);
ret = kstrtou8(token[1], 0, &priv->ue_bitpos[1]);
if (kstrtou8(buf, 0, &inject_error))
ret = kstrtou8(token, 16, &val);
ret = kstrtou8(buf, 10, &val);
ret = kstrtou8(buf, 10, &val);
if (kstrtou8(pattern, 10, &instance))
ret = kstrtou8(buf, 0, &mode);
if (kstrtou8(buf, 10, &alert_id) || alert_id >= 2)
u8, u8, kstrtou8)
if (kstrtou8(buf, 10, &sysfs_mode) || sysfs_mode > 2)
ret = kstrtou8(buf, 10, &val);
ret = kstrtou8(buf, 10, &val);
ret = kstrtou8(buf, 10, &val);
ret = kstrtou8(buf, 10, &val);
ret = kstrtou8(buf, 10, &val);
ret = kstrtou8(buf, 10, &val);
ret = kstrtou8(buf, 10, &val);
ret = kstrtou8(buf, 10, &val);
if (kstrtou8(buf, 0, &new_speed))
ret = kstrtou8(buf, 10, &val);
ret = kstrtou8(buf, 10, &pwm);
err = kstrtou8(buf, 0, &val);
ret = kstrtou8(buf, 0, &val);
ret = kstrtou8(buf, 0, &val);
ret = kstrtou8(buf, 0, &val);
if (kstrtou8(p + 1, 16, &data->byte))
ret = kstrtou8(buf, 10, &val);
if (kstrtou8(buf, 0, &val))
ret = kstrtou8(buf, 0, &tos);
error = kstrtou8(buf, 10, &val);
error = kstrtou8(buf, 0, &mode);
error = kstrtou8(buf, 0, &value);
error = kstrtou8(buf, 0, &value);
err = kstrtou8(buf, 16, &value);
err = kstrtou8(buf, 10, &value);
ret = kstrtou8(buf, 10, &value);
if (kstrtou8(buf, 0, &val) || val > LM3533_RISEFALLTIME_MAX)
if (kstrtou8(buf, 0, &val))
ret = kstrtou8(buf, 10, &desired_brightness);
} else if (!kstrtou8(token, 0, &op)) {
has_pos = !kstrtou8(p, 0, &pos);
if (kstrtou8(buf, 0, &val))
ret = kstrtou8(buf, 0, &val); \
if (kstrtou8(buf, 0, &et_swtype))
if (kstrtou8(buf, 0, &et_swtype))
if (kstrtou8(buf, 0, &mux_id))
if (kstrtou8(buf, 0, &mux_id))
if (kstrtou8(token, 0, &pstream.user_pri))
if (kstrtou8(token, 0, &pstream.traffic_direc))
if (kstrtou8(token, 0, &pstream.traffic_class))
if (kstrtou8(token, 0, &pstream.traffic_type))
if (kstrtou8(token, 0, &pstream.voice_psc_cap))
if (kstrtou8(token, 0, &pstream.tsid))
if (kstrtou8(token, 0, &traffic_class))
if (kstrtou8(token, 0, &tsid))
ret = kstrtou8(buf, 0, &value);
ret = kstrtou8(buf, 0, &value);
ret = kstrtou8(buf, 0, &value);
ret = kstrtou8(token, 16, ptr);
ret = kstrtou8(buf, 0, &crash_type);
if (kstrtou8(page, 0, &val) < 0) \
if (kstrtou8(page, 0, &val) < 0)
if (kstrtou8(tmp, 16, &byte))
ret = kstrtou8(buf, 10, &val);
ret = kstrtou8(buf, 10, &val);
result = kstrtou8(buf, 10, &new_mode);
err = kstrtou8(buf, 10, &value);
result = kstrtou8(buf, 10, &new_mode);
ret = kstrtou8(buf, 10, &setting);
result = kstrtou8(buf, 10, &wdata);
ret = kstrtou8(buf, 0, &v);
ret = kstrtou8(buf, 0, &new_setting);
ret = kstrtou8(buf, 0, &new_setting);
ret = kstrtou8(buf, 0, &new_setting);
ret = kstrtou8(buf, 0, &new_setting);
ret = kstrtou8(buf, 0, &new_setting);
ret = kstrtou8(buf, 0, &new_setting);
if (kstrtou8(buf, 10, &delay))
err = kstrtou8(buf, 0, &val);
if (kstrtou8(buf, 10, &val))
if (kstrtou8(buffer, 0, &set_stream_detection))
if (kstrtou8(buffer, 0, &set_r5_writes))
if (kstrtou8(buffer, 0, &set_r6_writes))
if (kstrtou8(buf, 0, &ncq_prio_enable))
ret = kstrtou8(&prop_val[len - 1], 10, &lane);
ret = kstrtou8(buf, 0, &fade); \
ret = kstrtou8(buf, 16, &data);
ret = kstrtou8(buf, 16, &data);
ret = kstrtou8(buf, 10, &data);
ret = kstrtou8(buf, 16, &data);
ret = kstrtou8(buf, 10, &data);
ret = kstrtou8(buf, 16, &data);
if (str_has_prefix(name, "CLK") && !kstrtou8(&name[3], 10, &clock_num) &&
if (kstrtou8(param->value, 0, &erl) < 0)
ret = kstrtou8(page, 0, &val);
ret = kstrtou8(page, 0, &val);
ret = kstrtou8(str, 0, &val);
ret = kstrtou8(page, 0, &val);
ret = kstrtou8(page, 0, &val);
ret = kstrtou8(page, 0, &val);
ret = kstrtou8(page, 0, &val);
ret = kstrtou8(str, 0, &val);
if (kstrtou8(buf, 0, &state))
ret = kstrtou8(arg, 16, &offset);
ret = kstrtou8(arg, 16, &slider_val);
if (kstrtou8(buf, 10, &mode) || mode > 1)
ret = kstrtou8(arg, 10, &new_max_idle);
if (kstrtou8(field, 0, reg))
if (kstrtou8(field, 0, &data[i]))
ret = kstrtou8(buf, 10, &bytes);
if (kstrtou8(buf, 0, &besl) || besl > 15)
ret = kstrtou8(page, 0, &b_vendor_code);
ret = kstrtou8(page, 0, &b_vendor_code);
ret = kstrtou8(page, 0, &type);
ret = kstrtou8(page, 0, &val); \
ret = kstrtou8(page, 0, &val);
ret = kstrtou8(num_str, 0, &num);
ret = kstrtou8(page, 0, &opts->protocol);
ret = kstrtou8(num_str, 0, &num);
ret = kstrtou8(page, 0, &num);
ret = kstrtou8(page, 0, &num);
ret = kstrtou8(page, 0, &num);
ret = kstrtou8(page, 0, &num);
ret = kstrtou8(page, 0, &num);
ret = kstrtou8(page, 0, &num);
#define uac2_kstrtou8 kstrtou8
ret = kstrtou8(page, 0, &val); \
ret = kstrtou8(page, 0, &num);
ret = kstrtou8(page, 0, &num); \
ret = kstrtou8(page, 0, &num); \
ret = kstrtou8(page, 0, &num); \
result = kstrtou8(page, 0, &num);
ret = kstrtou8(page, 0, &num);
ret = kstrtou8(page, 0, &num);
ret = kstrtou8(page, 0, &num);
ret = kstrtou8(buf, 0, &value);
if (kstrtou8(valbuf, 10, &v))
int err = kstrtou8(buf, 10, &val);
if (kstrtou8(buf, 0, &val))
r = kstrtou8(buf, 0, &alpha);
r = kstrtou8(buf, 0, &alpha);
r = kstrtou8(buf, 0, &zorder);
if (kstrtou8(value, 0, ®_val) < 0)
if (kstrtou8(value, 0, ®_val) < 0)
if (kstrtou8(value, 0, ®_val.Data) < 0)
if (kstrtou8(value, 0, ®_val.Data) < 0)
ret = kstrtou8(buf, 10, &new_thres);
if (kstrtou8(buf, 10, &fsidtype))
int __must_check kstrtou8(const char *s, unsigned int base, u8 *res);
STANDARD_PARAM_DEF(byte, unsigned char, "%hhu", kstrtou8);
EXPORT_SYMBOL(kstrtou8);
kstrto_from_user(kstrtou8_from_user, kstrtou8, u8);
TEST_OK(kstrtou8, u8, "%hhu", test_u8_ok);
TEST_FAIL(kstrtou8, u8, "%hhu", test_u8_fail);
ret = kstrtou8(buf, 10, &val);
kstrtou8(buf, 0, &weight) || weight == 0)
if (kstrtou8(client_id, 0, dhcp_client_identifier))
ret = kstrtou8(buf, 0, &val);
ret = kstrtou8(buf, 0, &val);
if (unlikely(kstrtou8(c + 1, 10, &portlo) != 0))
if (unlikely(kstrtou8(c + 1, 10, &porthi) != 0))