Skip to content
Commit d0c9c930 authored by Toshi Kani's avatar Toshi Kani Committed by Borislav Petkov
Browse files

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: default avatarBorislav Petkov <bp@alien8.de>
Signed-off-by: default avatarToshi 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: default avatarBorislav Petkov <bp@suse.de>
parent 438470b8
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