mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
a99ac7ccd8
g_idle_add() is discouraged, and the checkpatch.pl script warns about it. Sometimes there is a legitimate use of it, when you want to always schedule an idle action (without intent to cancel or track it). That makes more sense for g_idle_add() than it does for g_timeout_add(), because a timeout really should be tracked and cancelled if necessary. Add a wrapper to rename the legitimate uses. This way, we can avoid the checkpatch.pl warnings, and can grep for the remaining illegitimate uses. |
||
---|---|---|
.. | ||
btmodem.pl | ||
checkpatch-feature-branch.sh | ||
checkpatch-git-post-commit-hook | ||
checkpatch.pl | ||
code-style-git-post-commit-hook | ||
find-backports | ||
modemu.pl | ||
nm-ci-install-valgrind-in-ubuntu1604.sh | ||
nm-ci-patch-gtkdoc.sh | ||
nm-ci-run.sh | ||
nm-code-format-container.sh | ||
nm-code-format.sh | ||
nm-copr-build-nm-git-bundle.sh | ||
nm-copr-build.sh | ||
nm-import-openconnect | ||
nm-import-openvpn | ||
nm-import-vpnc | ||
NM-log | ||
test-create-many-device-setup.sh | ||
test-macsec | ||
test-prefix-delegation.sh |