aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorGavrilov Ilia <[email protected]>2022-11-29 09:23:38 +0000
committerAndrew Morton <[email protected]>2022-12-11 19:30:19 -0800
commit4d8586e04602fe42f0a782d2005956f8b6302678 (patch)
treeac2051b7ffde584efba33e9aa71baa2c66c56412 /scripts/generate_rust_analyzer.py
parentc9a934c7d88413a35861387a11e901554810b122 (diff)
relay: fix type mismatch when allocating memory in relay_create_buf()
The 'padding' field of the 'rchan_buf' structure is an array of 'size_t' elements, but the memory is allocated for an array of 'size_t *' elements. Found by Linux Verification Center (linuxtesting.org) with SVACE. Link: https://lkml.kernel.org/r/[email protected] Fixes: b86ff981a825 ("[PATCH] relay: migrate from relayfs to a generic relay API") Signed-off-by: Ilia.Gavrilov <[email protected]> Cc: Colin Ian King <[email protected]> Cc: Jens Axboe <[email protected]> Cc: wuchi <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions