summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/efx.c
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2023-06-09 10:01:17 +0300
committerDavid S. Miller <davem@davemloft.net>2023-06-12 11:31:09 +0300
commit26e35370b9766914364409626035fda2c63fef05 (patch)
tree90521d0cc012a41cf762131b838aa29763a451aa /drivers/net/ethernet/sfc/efx.c
parent132b4ebfa090492663f84144a1e7afaca54cd58a (diff)
downloadlinux-26e35370b9766914364409626035fda2c63fef05.tar.xz
net/sched: act_pedit: Use kmemdup() to replace kmalloc + memcpy
./net/sched/act_pedit.c:245:21-28: WARNING opportunity for kmemdup. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5478 Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Reviewed-by: Pedro Tammela <pctammela@mojatatu.com> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/efx.c')
0 files changed, 0 insertions, 0 deletions