Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sbd: fix strict_strtoul for newer kernels
strict_strtoul() was just a redefinition of kstrtoul() for a long time. From kernel version of 3.18, strict_strtoul() will not be defined at all. A compile time kernel version check is needed to decide which function or macro can be used for a specific version of kernel. Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
- Loading branch information