projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gpiolib: Deduplicate forward declaration in the consumer.h header
[linux-2.6-microblaze.git]
/
kernel
/
kexec_file.c
diff --git
a/kernel/kexec_file.c
b/kernel/kexec_file.c
index
5c3447c
..
33400ff
100644
(file)
--- a/
kernel/kexec_file.c
+++ b/
kernel/kexec_file.c
@@
-740,8
+740,10
@@
static int kexec_calculate_store_digests(struct kimage *image)
sha_region_sz = KEXEC_SEGMENT_MAX * sizeof(struct kexec_sha_region);
sha_regions = vzalloc(sha_region_sz);
- if (!sha_regions)
+ if (!sha_regions) {
+ ret = -ENOMEM;
goto out_free_desc;
+ }
desc->tfm = tfm;