sun4u: add power_mem_read routine
commitad280559c68360c9f1cd7be063857853759e6a73
authorPrasad J Pandit <pjp@fedoraproject.org>
Fri, 4 Jan 2019 09:49:10 +0000 (4 15:19 +0530)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 6 Feb 2019 21:07:53 +0000 (6 21:07 +0000)
treeed621b31ee9f43933cf9df3fdbb9e95bd84b09d7
parentc3019efc713c0afd6f0c51602b378f1094ef6e89
sun4u: add power_mem_read routine

Define skeleton 'power_mem_read' routine. Avoid NULL dereference.

Reported-by: Fakhri Zulkifli <mohdfakhrizulkifli@gmail.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/sparc64/sun4u.c