commit | 6575cbd67172bbcbfbb50ddd854d2b90c9f4e358 | [log] [tgz] |
---|---|---|
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | Fri Mar 04 16:16:31 2016 +0200 |
committer | Alexander Shishkin <alexander.shishkin@linux.intel.com> | Fri Apr 08 16:11:55 2016 +0300 |
tree | afb171b15a3e11db7aaa847384753fe0a4c22741 | |
parent | 8f1127ea09a7bfe7e1b5fab5b7f52bd56f2d1bf5 [diff] |
intel_th: msu: Handle kstrndup() failure Currently, the nr_pages attribute store does not check if kstrndup() succeeded. Fix this. Reported-by: Alan Cox <alan.cox@intel.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Reviewed-by: Laurent Fert <laurent.fert@intel.com>