summaryrefslogtreecommitdiff
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2013-03-28 18:12:28 (GMT)
committerRoland Dreier <roland@purestorage.com>2013-04-17 06:04:36 (GMT)
commit137200a4bb74c6d3c13a8eea1edd617a15fdf3e2 (patch)
tree119b4e66aabea44c0ec38ea145093f153d1517a6 /mm/huge_memory.c
parent41ef2d5678d83af030125550329b6ae8b74618fa (diff)
downloadlinux-fsl-qoriq-137200a4bb74c6d3c13a8eea1edd617a15fdf3e2.tar.xz
IB/ipath: Correct ipath_verbs_register_sysfs() error handling
ipath_verbs_register_sysfs() never returned the correct error code from device_create_file and never cleaned up from a failure. Additionally, the caller of ipath_verbs_register_sysfs() doesn't return the correct "ret" value. This patch resolves all of these issues. Reported-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Reviewed-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions