summaryrefslogtreecommitdiff
path: root/drivers/edac/amd64_edac.h
diff options
context:
space:
mode:
authorToshi Kani <toshi.kani@hpe.com>2015-09-24 13:59:27 -0600
committerBorislav Petkov <bp@suse.de>2015-09-28 16:39:05 +0200
commitd0c9c93019e9b61f21ac22a5c23749873adc0038 (patch)
treea697747506b4d36385cb5f984bc34bd1fe388151 /drivers/edac/amd64_edac.h
parent438470b84c119f4910ebf1fdd26738c8d9881b24 (diff)
downloadlwn-d0c9c93019e9b61f21ac22a5c23749873adc0038.tar.gz
lwn-d0c9c93019e9b61f21ac22a5c23749873adc0038.zip
EDAC: Don't allow empty DIMM labels
Updating dimm_label to an empty string does not make much sense. Change the sysfs dimm_label store operation to fail a request when an input string is empty. Suggested-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Toshi Kani <toshi.kani@hpe.com> Cc: elliott@hpe.com Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Cc: Tony Luck <tony.luck@intel.com> Cc: linux-edac <linux-edac@vger.kernel.org> Link: http://lkml.kernel.org/r/1443124767.25474.172.camel@hpe.com Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/amd64_edac.h')
0 files changed, 0 insertions, 0 deletions