Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ssb: sprom: replace strict_strtoul() with kstrtoul()

The usage of strict_strtoul() is not preferred, because
strict_strtoul() is obsolete. Thus, kstrtoul() should be
used.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Jingoo Han and committed by
David S. Miller
6b1ea4b2 27d7f477

+1 -1
+1 -1
drivers/ssb/sprom.c
··· 54 54 while (cnt < sprom_size_words) { 55 55 memcpy(tmp, dump, 4); 56 56 dump += 4; 57 - err = strict_strtoul(tmp, 16, &parsed); 57 + err = kstrtoul(tmp, 16, &parsed); 58 58 if (err) 59 59 return err; 60 60 sprom[cnt++] = swab16((u16)parsed);