aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-02-14 10:33:28 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-04-26 21:29:16 +0200
commit05947224ff469bf17b3791fd009bc27ce5151997 (patch)
treef0de00606652bfd6cc833e32ba5090198626f8de /tools/perf/scripts/python/export-to-postgresql.py
parenthwmon: (aspeed-g6-pwm-tacho): Make use of devm_pwmchip_alloc() function (diff)
downloadwireguard-linux-05947224ff469bf17b3791fd009bc27ce5151997.tar.xz
wireguard-linux-05947224ff469bf17b3791fd009bc27ce5151997.zip
pwm: Ensure that pwm_chips are allocated using pwmchip_alloc()
Memory holding a struct device must not be freed before the reference count drops to zero. So a struct pwm_chip must not live in memory freed by a driver on unbind. All in-tree drivers were fixed accordingly, but as out-of-tree drivers, that were not adapted, still compile fine, catch these in pwmchip_add(). Link: https://lore.kernel.org/r/35f5b229c98f78b2f6ce2397259a4a936be477c0.1707900770.git.u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions