EDAC: i7core: Return proper error codes for kzalloc() errors
authorTakashi Iwai <tiwai@suse.de>
Wed, 4 Feb 2015 10:48:54 +0000 (11:48 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 23 Feb 2015 12:08:45 +0000 (13:08 +0100)
commite97d7e38162dc305b4734a316ca758a2bbd1fa6e
tree47876a2b2e371b28ddcaa6efacaee257c61a3448
parente339f1ec979a4ab14b497114e39b8ab70bd0215d
EDAC: i7core: Return proper error codes for kzalloc() errors

... instead of possibly uninitialized return value.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: http://lkml.kernel.org/r/1423046938-18111-5-git-send-email-tiwai@suse.de
[ Add a commit message, albeit a small one. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/i7core_edac.c