amd64_edac: Fix node id signedness
authorBorislav Petkov <borislav.petkov@amd.com>
Mon, 21 Feb 2011 17:55:00 +0000 (18:55 +0100)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 17 Mar 2011 13:46:28 +0000 (14:46 +0100)
commitb487c33e55eb7e18cd98094f7159c6d9e8b6bedd
tree56fe006bf392c090a8d2fcf2a2109055e3279fda
parentd88977a9c433deb7e558e0af51092449ef2ad2dd
amd64_edac: Fix node id signedness

A node id can never be negative since we use it as an index into
the DRAM ranges array. This also makes one of the BUG_ON conditions
redundant.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c
drivers/edac/amd64_edac.h