diff options
author | 2021-12-07 00:20:58 +0000 | |
---|---|---|
committer | 2021-12-17 16:04:14 +0100 | |
commit | 5ef11c56b2332613cacd5e7ac17cfb1a073b66ab (patch) | |
tree | 85c82f3dd024c89b7db78af9cbdd54374315d463 /scripts/gdb/linux/utils.py | |
parent | Linux 5.16-rc5 (diff) | |
download | linux-dev-5ef11c56b2332613cacd5e7ac17cfb1a073b66ab.tar.xz linux-dev-5ef11c56b2332613cacd5e7ac17cfb1a073b66ab.zip |
r8169: Avoid misuse of pm_ptr() macro
The pm_ptr() macro should be used when the suspend and resume functions
can be compiled independently of the CONFIG_PM Kconfig option.
In the case of this driver, the suspend and resume functions are inside
a section protected by a #ifdef CONFIG_PM guard. Therefore pm_ptr()
should not be used.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions