EDAC, pnd2_edac: Fix reported DIMM number
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Sat, 25 Mar 2017 11:29:01 +0000 (19:29 +0800)
committerBorislav Petkov <bp@suse.de>
Sun, 26 Mar 2017 07:36:28 +0000 (09:36 +0200)
commit819f60fb7db169d851186d04e571e9bca27321e8
treea067a420b0af656f7949549d0856e92c55952359
parentcd1be315ac9766fe83e4fb788d5d9fe032a9b877
EDAC, pnd2_edac: Fix reported DIMM number

DIMM number passed to edac_mc_handle_error() was accidentally hardcoded
to zero. Pass in the correct daddr->dimm value.

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/pnd2_edac.c