Skip to content
Commit 1003e19c authored by Steve Wise's avatar Steve Wise Committed by David S. Miller
Browse files

cxgb3: fix up vpd strings for kstrto*()



The vpd strings are left justified, in a fixed length array, with possible
trailing white space and no NUL.  So fix them up before calling kstrto*().

This is a recent regression which causes cxgb3 to fail to load.

Fixes: e72c932d ("cxgb3: Convert simple_strtoul to kstrtox")

Signed-off-by: default avatarSteve Wise <swise@opengridcomputing.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c868ee70
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment