strtoint has unsigned int type. no need to use any cast.
type of export_hash is insignificant because division of module always will be positive. num alway positive and HASH_TABLE_SIZE always positive (it is DEFINE and it can be any value but if it will non positive it will be error). So division a positive by a positive will always a positive. In function uses modulo operation so result will be sufficient small to fit in int.
strtoint has unsigned int type. no need to use any cast.
type of export_hash is insignificant because division of module always will be positive. num alway positive and HASH_TABLE_SIZE always positive (it is DEFINE and it can be any value but if it will non positive it will be error). So division a positive by a positive will always a positive. In function uses modulo operation so result will be sufficient small to fit in int.
in any case patch was applied by upstream git.linux- nfs.org/ ?p=steved/ nfs-utils. git;a=commitdif f;h=a16f4a13677 d13b0aae9327a3b 9e8414470b7927
http://