From: Nicholas Bellinger Date: Fri, 13 Jun 2014 04:05:16 +0000 (+0000) Subject: iscsi-target: Convert chap_server_compute_md5 to use kstrtoul X-Git-Tag: omap-for-v3.16/fixes-rc4~39^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b06eef6eab8e4a241f88385527ac4d1844abc18d;p=pandora-kernel.git iscsi-target: Convert chap_server_compute_md5 to use kstrtoul This patch converts chap_server_compute_md5() from simple_strtoul() to kstrtoul usage(). This addresses the case where a empty 'CHAP_I=' key value received during mutual authentication would be converted to a '0' by simple_strtoul(), instead of failing the login attempt. Reported-by: Tejas Vaykole Tested-by: Tejas Vaykole Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed