--- zzzz-none-000/linux-3.10.107/drivers/net/wireless/b43legacy/sysfs.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/net/wireless/b43legacy/sysfs.c 2021-02-04 17:41:59.000000000 +0000 @@ -42,7 +42,7 @@ if (count == 0) goto out; - count = min(count, (size_t)10); + count = min_t(size_t, count, 10); memcpy(tmp, buf, count); ret = simple_strtol(tmp, NULL, 10); out: