All of lore.kernel.org
 help / color / mirror / Atom feed
* [wsa:i2c/for-mergewindow 16/42] drivers/gpu/drm/i915/selftests/i915_gem.c:97:13: error: conflicting types for 'pm_suspend'
@ 2021-07-02 14:16 ` Dan Carpenter
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-02 13:52 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 3425 bytes --]

CC: kbuild-all(a)lists.01.org
TO: Wolfram Sang <wsa-dev@sang-engineering.com>

Hi Bibby,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-mergewindow
head:   9d6336831bdc78e5207eaf147cc17228b5e984c3
commit: 5a7b95fb993ec399c8a685552aa6a8fc995c40bd [16/42] i2c: core: support bus regulator controlling in adapter
:::::: branch date: 7 hours ago
:::::: commit date: 5 weeks ago
config: i386-randconfig-s002-20210702 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git/commit/?id=5a7b95fb993ec399c8a685552aa6a8fc995c40bd
        git remote add wsa https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git
        git fetch --no-tags wsa i2c/for-mergewindow
        git checkout 5a7b95fb993ec399c8a685552aa6a8fc995c40bd
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/i915/i915_gem.c:1250:
>> drivers/gpu/drm/i915/selftests/i915_gem.c:97:13: error: conflicting types for 'pm_suspend'
      97 | static void pm_suspend(struct drm_i915_private *i915)
         |             ^~~~~~~~~~
   In file included from include/linux/regulator/consumer.h:35,
                    from include/linux/i2c.h:18,
                    from drivers/gpu/drm/i915/i915_drv.h:39,
                    from drivers/gpu/drm/i915/gt/intel_context.h:14,
                    from drivers/gpu/drm/i915/gem/i915_gem_context.h:12,
                    from drivers/gpu/drm/i915/i915_gem.c:44:
   include/linux/suspend.h:331:12: note: previous declaration of 'pm_suspend' was here
     331 | extern int pm_suspend(suspend_state_t state);
         |            ^~~~~~~~~~


vim +/pm_suspend +97 drivers/gpu/drm/i915/selftests/i915_gem.c

3f51b7e1f36a37 Chris Wilson           2018-08-30   96  
3f51b7e1f36a37 Chris Wilson           2018-08-30  @97  static void pm_suspend(struct drm_i915_private *i915)
3f51b7e1f36a37 Chris Wilson           2018-08-30   98  {
c9d08cc3e3393e Chris Wilson           2019-01-14   99  	intel_wakeref_t wakeref;
c9d08cc3e3393e Chris Wilson           2019-01-14  100  
c447ff7db34807 Daniele Ceraolo Spurio 2019-06-13  101  	with_intel_runtime_pm(&i915->runtime_pm, wakeref) {
e986209c67024c Chris Wilson           2020-01-30  102  		i915_ggtt_suspend(&i915->ggtt);
3f51b7e1f36a37 Chris Wilson           2018-08-30  103  		i915_gem_suspend_late(i915);
d4225a535b3b08 Chris Wilson           2019-01-14  104  	}
3f51b7e1f36a37 Chris Wilson           2018-08-30  105  }
3f51b7e1f36a37 Chris Wilson           2018-08-30  106  

:::::: The code at line 97 was first introduced by commit
:::::: 3f51b7e1f36a37cfc6ed281a231485e4e6b511c3 drm/i915/selftests: Add a simple exerciser for suspend/hibernate

:::::: TO: Chris Wilson <chris@chris-wilson.co.uk>
:::::: CC: Chris Wilson <chris@chris-wilson.co.uk>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 42294 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [kbuild] [wsa:i2c/for-mergewindow 16/42] drivers/gpu/drm/i915/selftests/i915_gem.c:97:13: error: conflicting types for 'pm_suspend'
@ 2021-07-02 14:16 ` Dan Carpenter
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Carpenter @ 2021-07-02 14:16 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3042 bytes --]

Hi Bibby,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git  i2c/for-mergewindow
head:   9d6336831bdc78e5207eaf147cc17228b5e984c3
commit: 5a7b95fb993ec399c8a685552aa6a8fc995c40bd [16/42] i2c: core: support bus regulator controlling in adapter
config: i386-randconfig-s002-20210702 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git/commit/?id=5a7b95fb993ec399c8a685552aa6a8fc995c40bd 
        git remote add wsa https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git 
        git fetch --no-tags wsa i2c/for-mergewindow
        git checkout 5a7b95fb993ec399c8a685552aa6a8fc995c40bd
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/i915/i915_gem.c:1250:
>> drivers/gpu/drm/i915/selftests/i915_gem.c:97:13: error: conflicting types for 'pm_suspend'
      97 | static void pm_suspend(struct drm_i915_private *i915)
         |             ^~~~~~~~~~
   In file included from include/linux/regulator/consumer.h:35,
                    from include/linux/i2c.h:18,
                    from drivers/gpu/drm/i915/i915_drv.h:39,
                    from drivers/gpu/drm/i915/gt/intel_context.h:14,
                    from drivers/gpu/drm/i915/gem/i915_gem_context.h:12,
                    from drivers/gpu/drm/i915/i915_gem.c:44:
   include/linux/suspend.h:331:12: note: previous declaration of 'pm_suspend' was here
     331 | extern int pm_suspend(suspend_state_t state);
         |            ^~~~~~~~~~

vim +/pm_suspend +97 drivers/gpu/drm/i915/selftests/i915_gem.c

3f51b7e1f36a37 Chris Wilson           2018-08-30  @97  static void pm_suspend(struct drm_i915_private *i915)
3f51b7e1f36a37 Chris Wilson           2018-08-30   98  {
c9d08cc3e3393e Chris Wilson           2019-01-14   99  	intel_wakeref_t wakeref;
c9d08cc3e3393e Chris Wilson           2019-01-14  100  
c447ff7db34807 Daniele Ceraolo Spurio 2019-06-13  101  	with_intel_runtime_pm(&i915->runtime_pm, wakeref) {
e986209c67024c Chris Wilson           2020-01-30  102  		i915_ggtt_suspend(&i915->ggtt);
3f51b7e1f36a37 Chris Wilson           2018-08-30  103  		i915_gem_suspend_late(i915);
d4225a535b3b08 Chris Wilson           2019-01-14  104  	}
3f51b7e1f36a37 Chris Wilson           2018-08-30  105  }

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org 

_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-02 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-02 13:52 [wsa:i2c/for-mergewindow 16/42] drivers/gpu/drm/i915/selftests/i915_gem.c:97:13: error: conflicting types for 'pm_suspend' kernel test robot
2021-07-02 14:16 ` [kbuild] " Dan Carpenter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.