aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-07-18 19:53:10 +0200
committerThierry Reding <[email protected]>2023-07-28 09:39:02 +0200
commit387c74e5f91d8e6f0c6e49fddd8b0e53118e5def (patch)
treeb00826900936360c5ca79e1d6bff68ca8353a4bd /lib/test_fortify/write_overflow-strncpy-src.c
parent250b4ca0c9d611c61e12a8eb2d24e69f9058de2b (diff)
pwm: ntxec: Use device_set_of_node_from_dev()
Compared to overwriting pdev->dev.of_node directly, this takes care of reference counting. It also prevents that the parent device matches this driver. See commit 9b22c17a3cc5 ("of: Check 'of_node_reused' flag on of_match_device()") for further details. Suggested-by: Rob Herring <[email protected]> Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions