]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
rasdaemon: make sure the error is valid before handling ranks
authorSeiichi Ikarashi <s.ikarashi@jp.fujitsu.com>
Tue, 26 May 2015 14:59:39 +0000 (11:59 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 3 Jun 2015 13:39:51 +0000 (10:39 -0300)
commit56913e2f2a5a6ddf8ab684c8d528e9ef1d55cfba
tree90bc8738a69cb01653fc2a2d25f4a22859b761c2
parentf892a390c55c0b350c57cda9d166a9cf331aa36f
rasdaemon: make sure the error is valid before handling ranks

Fix "rank" handling according to the Bit 63 description in Intel SDM Vol.3C
Table 16-23, that says "... Use this information only after there is valid
first error info indicated by bit 62".
Also fix invalid comparisons of unsigned variables "rank0" and "rank1".

Signed-off-by: Seiichi Ikarashi <s.ikarashi@jp.fujitsu.com>
Signed-off-by: Aristeu Rozanski <aris@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
mce-intel-haswell.c