aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2023-05-21 18:30:14 +0200
committerChristian Lamparter <chunkeey@gmail.com>2023-05-22 14:45:03 +0200
commitaed2569d3780cab1a1a2d75c9f9e3fe413a9844d (patch)
tree0c39ad4cc859f8899b70afd983e5dc87ef099eab /package/kernel/linux/modules
parent7d0fb2cc34cb7aaa2b6eaca4f14f2c20778d3e40 (diff)
downloadupstream-aed2569d3780cab1a1a2d75c9f9e3fe413a9844d.tar.gz
upstream-aed2569d3780cab1a1a2d75c9f9e3fe413a9844d.tar.bz2
upstream-aed2569d3780cab1a1a2d75c9f9e3fe413a9844d.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>
Diffstat (limited to 'package/kernel/linux/modules')
0 files changed, 0 insertions, 0 deletions