]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'do_once_lite'
authorDavid S. Miller <davem@davemloft.net>
Mon, 28 Jun 2021 22:54:57 +0000 (15:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jun 2021 22:54:57 +0000 (15:54 -0700)
commitbd1e30be5a12d16ca4029787849f35399424b450
tree761f56700ba628e5b16ad2449584b713971ac8cd
parent5ff59f6f107060147d32eb6d10c70ea012b1457a
parent3398ceb1918247a53e805e086b5d9e9930272be5
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>