diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2023-05-21 18:30:14 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2023-05-24 19:25:39 +0100 |
commit | e22fba1694376fd1396fe7a7aaedb1273c66f094 (patch) | |
tree | 9298d6d9bc9e55b53d40c5d8f4b7d9de201a12c3 /include/u-boot.mk | |
parent | 6b9f405324d1767aceb4993933336da12a55bf32 (diff) | |
download | upstream-e22fba1694376fd1396fe7a7aaedb1273c66f094.tar.gz upstream-e22fba1694376fd1396fe7a7aaedb1273c66f094.tar.bz2 upstream-e22fba1694376fd1396fe7a7aaedb1273c66f094.zip |
uml: fix build error due to frame size > 1024
the UML build fails during the kernel build:
| arch/um/drivers/net_kern.c: In function 'compute_hash':
| arch/um/drivers/net_kern.c:322:1: error: the frame size of 1072 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
| 322 | }
| | ^
|cc1: all warnings being treated as errors
The compute_hash() function is added by our patch:
102-pseudo-random-mac.patch
Instead of allocating a 1024 byte buffer on the stack for the SHA1
digest input, let's allocate the data on the heap. We should be
able to do that since crypto_alloc_ahash and ahash_request_alloc
also need to allocate structures on the heap.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(cherry picked from commit aed2569d3780cab1a1a2d75c9f9e3fe413a9844d)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'include/u-boot.mk')
0 files changed, 0 insertions, 0 deletions