diff options
author | David S. Miller <davem@davemloft.net> | 2021-06-29 01:54:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-29 01:54:57 +0300 |
commit | 84fe73996c2e7407006002ef92d7354a56b69fed (patch) | |
tree | 761f56700ba628e5b16ad2449584b713971ac8cd /net/dsa/dsa_priv.h | |
parent | b74ef9f9cb91fc86c642af965b7598c4df1c9922 (diff) | |
parent | 127d7355abb355b05ff4b42d6e18cc97aa9d1d11 (diff) | |
download | linux-84fe73996c2e7407006002ef92d7354a56b69fed.tar.xz |
Merge branch 'do_once_lite'
Tanner Love says:
====================
net: update netdev_rx_csum_fault() print dump only once
First patch implements DO_ONCE_LITE to abstract uses of the ".data.once"
trick. It is defined in its own, new header file -- rather than
alongside the existing DO_ONCE in include/linux/once.h -- because
include/linux/once.h includes include/linux/jump_label.h, and this
causes the build to break for some architectures if
include/linux/once.h is included in include/linux/printk.h or
include/asm-generic/bug.h.
Second patch uses DO_ONCE_LITE in netdev_rx_csum_fault to print dump
only once.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa_priv.h')
0 files changed, 0 insertions, 0 deletions