summaryrefslogtreecommitdiff
path: root/include/linux/compiler_types.h
diff options
context:
space:
mode:
authorDeren Wu <deren.wu@mediatek.com>2022-02-11 10:54:55 +0800
committerFelix Fietkau <nbd@nbd.name>2022-02-24 14:40:22 +0100
commite83a6fef8a8fc7f30964578d176981ec1cf3720d (patch)
treefbca09d2ca1387cb1b33e3f50b8ed4d8cb40ce9b /include/linux/compiler_types.h
parentb0740f0a52d5fe0fa447840b810d2c2dd0b9dfbd (diff)
mt76: mt7615: fix compiler warning on frame size
The following error is see from the compiler: mt7615/debugfs.c: In function ‘mt7615_ext_mac_addr_read’: mt7615/debugfs.c:465:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=] The issue is due to allocating a buffer as string storage. Fix by converting to a dynamical allocation of the buffer. Reviewed-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Deren Wu <deren.wu@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include/linux/compiler_types.h')
0 files changed, 0 insertions, 0 deletions