intel_th: msu: Handle kstrndup() failure
Currently, the nr_pages attribute store does not check if kstrndup() succeeded. Fix this. Reported-by: NAlan Cox <alan.cox@intel.com> Signed-off-by: NAlexander Shishkin <alexander.shishkin@linux.intel.com> Reviewed-by: NLaurent Fert <laurent.fert@intel.com>
Showing
想要评论请 注册 或 登录