Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
strip_blank_end(str);
while ((v = strsep(&str, ",")) != NULL && i < FIO_MAX_DP_IDS) {
strip_blank_end(str);
while ((v = strsep(&str, ",")) != NULL && i < FIO_MAX_DP_IDS) {
- unsigned long long id = strtoll(v, NULL, 0);
+ unsigned long long id = strtoull(v, NULL, 0);
if (id > 0xFFFF) {
log_err("Placement IDs cannot exceed 0xFFFF\n");
free(p);
if (id > 0xFFFF) {
log_err("Placement IDs cannot exceed 0xFFFF\n");
free(p);