if ((t = sscanf(str, "%i%n", &m, &matched)) >= 1 &&
matched == n) {
+ CWARN("You are trying to use a numerical value for the mask -"
+ " this will be deprecated in a future release.\n");
*mask = m;
return 0;
}
- return libcfs_str2mask(str, fn, mask, is_subsys ? 0 : D_CANTMASK,
- 0xffffffff);
+ return cfs_str2mask(str, fn, mask, is_subsys ? 0 : D_CANTMASK,
+ 0xffffffff);
}
/**