[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202504290212.e8iXOU2x-lkp@intel.com>
Date: Tue, 29 Apr 2025 02:57:29 +0800
From: kernel test robot <lkp@...el.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, "Rafael J. Wysocki" <rafael@...nel.org>,
Pavel Machek <pavel@...nel.org>, Len Brown <len.brown@...el.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: Re: [rft, PATCH v1 1/1] PM: Don't use "proxy" headers
Hi Andy,
kernel test robot noticed the following build errors:
[auto build test ERROR on rafael-pm/linux-next]
[also build test ERROR on rafael-pm/bleeding-edge amd-pstate/linux-next amd-pstate/bleeding-edge linus/master v6.15-rc4 next-20250428]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Andy-Shevchenko/PM-Don-t-use-proxy-headers/20250428-152021
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
patch link: https://lore.kernel.org/r/20250428071922.3264455-1-andriy.shevchenko%40linux.intel.com
patch subject: [rft, PATCH v1 1/1] PM: Don't use "proxy" headers
config: sh-randconfig-001-20250428 (https://download.01.org/0day-ci/archive/20250429/202504290212.e8iXOU2x-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250429/202504290212.e8iXOU2x-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504290212.e8iXOU2x-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/sh/kernel/reboot.c:2:
>> include/linux/pm.h:690:18: error: field 'suspend_timer' has incomplete type
690 | struct hrtimer suspend_timer;
| ^~~~~~~~~~~~~
cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics
vim +/suspend_timer +690 include/linux/pm.h
08810a4119aaeb Rafael J. Wysocki 2017-10-25 660
1eede070a59e1c Rafael J. Wysocki 2008-05-20 661 struct dev_pm_info {
1eede070a59e1c Rafael J. Wysocki 2008-05-20 662 pm_message_t power_state;
b017500ab53c06 Rafael J. Wysocki 2024-01-22 663 bool can_wakeup:1;
b017500ab53c06 Rafael J. Wysocki 2024-01-22 664 bool async_suspend:1;
9ed9895370aedd Rafael J. Wysocki 2016-10-30 665 bool in_dpm_list:1; /* Owned by the PM core */
f76b168b6f117a Alan Stern 2011-06-18 666 bool is_prepared:1; /* Owned by the PM core */
6d0e0e84f66d32 Alan Stern 2011-06-18 667 bool is_suspended:1; /* Ditto */
3d2699bc179a10 Liu, Chuansheng 2014-02-18 668 bool is_noirq_suspended:1;
3d2699bc179a10 Liu, Chuansheng 2014-02-18 669 bool is_late_suspended:1;
85945c28b5a888 Sudeep Holla 2019-02-14 670 bool no_pm:1;
bed2b42d9f0b41 Rafael J. Wysocki 2012-08-06 671 bool early_init:1; /* Owned by the PM core */
aae4518b3124b2 Rafael J. Wysocki 2014-05-16 672 bool direct_complete:1; /* Owned by the PM core */
08810a4119aaeb Rafael J. Wysocki 2017-10-25 673 u32 driver_flags;
074037ec79bea7 Rafael J. Wysocki 2010-09-22 674 spinlock_t lock;
1eede070a59e1c Rafael J. Wysocki 2008-05-20 675 #ifdef CONFIG_PM_SLEEP
1eede070a59e1c Rafael J. Wysocki 2008-05-20 676 struct list_head entry;
5af84b82701a96 Rafael J. Wysocki 2010-01-23 677 struct completion completion;
074037ec79bea7 Rafael J. Wysocki 2010-09-22 678 struct wakeup_source *wakeup;
4ca46ff3e0d8c2 Rafael J. Wysocki 2011-10-16 679 bool wakeup_path:1;
feb70af0e3ac68 Rafael J. Wysocki 2012-08-13 680 bool syscore:1;
aa8e54b559479d Tomeu Vizoso 2016-01-07 681 bool no_pm_callbacks:1; /* Owned by the PM core */
3038b22bc09856 Rafael J. Wysocki 2025-02-25 682 bool work_in_progress:1; /* Owned by the PM core */
bca84a7b93fdc7 Rafael J. Wysocki 2025-02-18 683 bool smart_suspend:1; /* Owned by the PM core */
b017500ab53c06 Rafael J. Wysocki 2024-01-22 684 bool must_resume:1; /* Owned by the PM core */
b017500ab53c06 Rafael J. Wysocki 2024-01-22 685 bool may_skip_resume:1; /* Set by subsystems */
805bdaec1a4415 Rafael J. Wysocki 2011-02-24 686 #else
b017500ab53c06 Rafael J. Wysocki 2024-01-22 687 bool should_wakeup:1;
1eede070a59e1c Rafael J. Wysocki 2008-05-20 688 #endif
d30d819dc83107 Rafael J. Wysocki 2014-11-27 689 #ifdef CONFIG_PM
8234f6734c5d74 Vincent Guittot 2018-12-14 @690 struct hrtimer suspend_timer;
6b61d49a55796d Grygorii Strashko 2020-09-18 691 u64 timer_expires;
5e928f77a09a07 Rafael J. Wysocki 2009-08-18 692 struct work_struct work;
5e928f77a09a07 Rafael J. Wysocki 2009-08-18 693 wait_queue_head_t wait_queue;
4990d4fe327b9d Tony Lindgren 2015-05-18 694 struct wake_irq *wakeirq;
5e928f77a09a07 Rafael J. Wysocki 2009-08-18 695 atomic_t usage_count;
5e928f77a09a07 Rafael J. Wysocki 2009-08-18 696 atomic_t child_count;
5e928f77a09a07 Rafael J. Wysocki 2009-08-18 697 unsigned int disable_depth:3;
b017500ab53c06 Rafael J. Wysocki 2024-01-22 698 bool idle_notification:1;
b017500ab53c06 Rafael J. Wysocki 2024-01-22 699 bool request_pending:1;
b017500ab53c06 Rafael J. Wysocki 2024-01-22 700 bool deferred_resume:1;
b017500ab53c06 Rafael J. Wysocki 2024-01-22 701 bool needs_force_resume:1;
b017500ab53c06 Rafael J. Wysocki 2024-01-22 702 bool runtime_auto:1;
372a12ed9d99c0 Ulf Hansson 2016-04-08 703 bool ignore_children:1;
b017500ab53c06 Rafael J. Wysocki 2024-01-22 704 bool no_callbacks:1;
b017500ab53c06 Rafael J. Wysocki 2024-01-22 705 bool irq_safe:1;
b017500ab53c06 Rafael J. Wysocki 2024-01-22 706 bool use_autosuspend:1;
b017500ab53c06 Rafael J. Wysocki 2024-01-22 707 bool timer_autosuspends:1;
b017500ab53c06 Rafael J. Wysocki 2024-01-22 708 bool memalloc_noio:1;
baa8809f60971d Rafael J. Wysocki 2016-10-30 709 unsigned int links_count;
5e928f77a09a07 Rafael J. Wysocki 2009-08-18 710 enum rpm_request request;
5e928f77a09a07 Rafael J. Wysocki 2009-08-18 711 enum rpm_status runtime_status;
c24efa6732788f Rafael J. Wysocki 2021-12-07 712 enum rpm_status last_status;
5e928f77a09a07 Rafael J. Wysocki 2009-08-18 713 int runtime_error;
15bcb91d7e607d Alan Stern 2010-09-25 714 int autosuspend_delay;
8234f6734c5d74 Vincent Guittot 2018-12-14 715 u64 last_busy;
a08c2a5a319411 Thara Gopinath 2019-01-23 716 u64 active_time;
a08c2a5a319411 Thara Gopinath 2019-01-23 717 u64 suspended_time;
a08c2a5a319411 Thara Gopinath 2019-01-23 718 u64 accounting_timestamp;
5e928f77a09a07 Rafael J. Wysocki 2009-08-18 719 #endif
5c095a0e0d600d Rafael J. Wysocki 2011-08-25 720 struct pm_subsys_data *subsys_data; /* Owned by the subsystem. */
2d984ad132a87c Rafael J. Wysocki 2014-02-11 721 void (*set_latency_tolerance)(struct device *, s32);
5f986c590fcf42 Rafael J. Wysocki 2012-10-23 722 struct dev_pm_qos *qos;
1eede070a59e1c Rafael J. Wysocki 2008-05-20 723 };
1eede070a59e1c Rafael J. Wysocki 2008-05-20 724
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists