summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorLin Ma <linma@zju.edu.cn>2023-07-23 16:03:50 +0800
committerFelix Fietkau <nbd@nbd.name>2023-07-26 13:09:46 +0200
commit74f12d511625e603fac8c0c2b6872e687e56dd61 (patch)
tree7145783c45d6115d140bc19a4de387a4f95352b4 /drivers/fpga/fpga-bridge.c
parentfc80731ba06316da80be2993c91c315c9923dac0 (diff)
wifi: mt76: testmode: add nla_policy for MT76_TM_ATTR_TX_LENGTH
It seems that the nla_policy in mt76_tm_policy is missed for attribute MT76_TM_ATTR_TX_LENGTH. This patch adds the correct description to make sure the u32 val = nla_get_u32(tb[MT76_TM_ATTR_TX_LENGTH]); in function mt76_testmode_cmd() is safe and will not result in out-of-attribute read. Fixes: f0efa8621550 ("mt76: add API for testmode support") Signed-off-by: Lin Ma <linma@zju.edu.cn> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions