diff options
author | Andreas Kleinbichler <andi.kleinbichler@gmail.com> | 2025-05-16 17:25:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-21 13:45:02 +0200 |
commit | 7aca10d57deb658daebe9d18f45587f774fb149d (patch) | |
tree | a1afd61a381f11da7b2864c0ebe80961d72152ec /scripts/generate_rust_analyzer.py | |
parent | 5aac95320d0f17f1098960e903ce5e087f42bc70 (diff) |
staging: gpib: switch to kmalloc(sizeof(*status))
Fix checkpatch warning:
Prefer kmalloc(sizeof(*status)...) over
kmalloc(sizeof(struct gpib_status_byte)...)
Signed-off-by: Andreas Kleinbichler <andi.kleinbichler@gmail.com>
Link: https://lore.kernel.org/r/aCdY-OgvoTUjcIeF@andreas-VirtualBox
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions