Tag: a841b64df29b4c7e68ce564d752dfb2042db5404

XFS: Use a signed return type for suffix_kstrtoint()

Author: Markus Elfring <elfring@users.sourceforge.net> The return type “unsigned long” was used by the suffix_kstrtoint() function even though it will eventually return a negative error code. Improve this implementation detail by using the type “int” instead. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Reviewed-by: Eric Sandeen Signed-off-by: Dave Chinner — fs/xfs/xfs_super.c …

Continue reading