summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-03-21 16:40:39 +0100
committerBjorn Andersson <andersson@kernel.org>2023-04-05 20:58:32 -0700
commit38be89514b88f53ff772d1e016a68b59814aef72 (patch)
treedcc3145a759953827af3591c4dde19f5ac794f8f /tools/perf/scripts/python/libxed.py
parent49446e573bf591eef71c1e8c7cf87ec19aa2569f (diff)
downloadkernel-38be89514b88f53ff772d1e016a68b59814aef72.tar.gz
rpmsg: qcom_smd: Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes many driver authors wrongly assume it's possible to do error handling by returning an error code. However the value returned is (mostly) ignored and this typically results in resource leaks. To improve here there is a quest to make the remove callback return void. In the first step of this quest all drivers are converted to .remove_new() which already returns void. qcom_smd_remove() always returned zero, though that isn't completely trivial to see. So explain that in a comment and convert to .remove_new(). Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230321154039.355098-4-u.kleine-koenig@pengutronix.de
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
an>PCI/CXL: Fail bus reset if upstream CXL Port has SBR maskedDave Jiang 2024-04-09PCI/DOE: Support discovery version 2Alexey Kardashevskiy 2023-10-28Merge branch 'pci/field-get'Bjorn Helgaas 2023-10-28Merge branch 'pci/enumeration'Bjorn Helgaas 2023-10-24PCI/PME: Use FIELD_GET()Bjorn Helgaas 2023-10-24PCI/ATS: Use FIELD_GET()Bjorn Helgaas 2023-10-24PCI/ATS: Show PASID Capability register width in bitmasksBjorn Helgaas 2023-10-24PCI/DPC: Use defines with DPC reason fieldsIlpo Järvinen 2023-10-24PCI/DPC: Use FIELD_GET()Bjorn Helgaas 2023-10-24PCI: dwc: Use FIELD_GET/PREP()Ilpo Järvinen 2023-10-10PCI: Add PCI_L1SS_CTL2 fieldsIlpo Järvinen 2023-10-03PCI: Add PCI_HEADER_TYPE_MFD definitionIlpo Järvinen 2023-05-31PCI: Add PCI_EXT_CAP_ID_PL_32GT defineBen Dooks 2023-02-14cxl: add RAS status unmasking for CXLDave Jiang 2022-12-14Merge tag 'pci-v6.2-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds 2022-11-14cxl/doe: Request exclusive DOE accessIra Weiny 2022-10-27PCI: Add PCI_PTM_CAP_RES macroVidya Sagar 2022-07-19PCI/DOE: Add DOE mailbox support functionsJonathan Cameron heckpatchPavel Roskin 2011-07-11Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil...John W. Linville 2011-07-08carl9170: Implement tx_frames_pending mac80211 callback functionChristian Lamparter 2011-07-05carl9170: use carl9170 queue enumsChristian Lamparter 2011-07-05carl9170: allow PSM if the 5 GHz band is selectedChristian Lamparter 2011-07-05carl9170: enable IEEE80211_HW_NEED_DTIM_PERIODChristian Lamparter 2011-07-05carl9170: import 1.9.4 firmware headersChristian Lamparter 2011-07-05carl9170: add NEC WL300NU-AG usbidChristian Lamparter 2011-06-27wireless: unify QoS control field definitionsJohannes Berg 2011-05-24Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next...John W. Linville 2011-05-16Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil...John W. Linville 2011-05-16carl9170: advertise interface combinationsChristian Lamparter 2011-05-10carl9170: fix -Wunused-but-set-variable warningsChristian Lamparter