All of lore.kernel.org
 help / color / mirror / Atom feed
* [wsa:i2c/for-next 5/14] drivers/gpu/drm/drm_dp_helper.c:810:10: error: 'struct i2c_adapter' has no member named 'lock_bus'; did you mean 'lock_ops'?
@ 2016-08-25 19:03 kbuild test robot
  2016-08-25 20:04 ` Peter Rosin
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2016-08-25 19:03 UTC (permalink / raw)
  To: Peter Rosin; +Cc: kbuild-all, linux-i2c, Wolfram Sang

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next
head:   431f07e8b0097ded2ffb773d4ea6a797b2bc8bfe
commit: 24882319480379588d0cced458ed7dd670e93fc7 [5/14] i2c: move locking operations to their own struct
config: i386-randconfig-s0-201634 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        git checkout 24882319480379588d0cced458ed7dd670e93fc7
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/drm_dp_helper.c: In function 'drm_dp_aux_init':
>> drivers/gpu/drm/drm_dp_helper.c:810:10: error: 'struct i2c_adapter' has no member named 'lock_bus'; did you mean 'lock_ops'?
     aux->ddc.lock_bus = lock_bus;
             ^
>> drivers/gpu/drm/drm_dp_helper.c:811:10: error: 'struct i2c_adapter' has no member named 'trylock_bus'; did you mean 'lock_ops'?
     aux->ddc.trylock_bus = trylock_bus;
             ^
>> drivers/gpu/drm/drm_dp_helper.c:812:10: error: 'struct i2c_adapter' has no member named 'unlock_bus'; did you mean 'lock_ops'?
     aux->ddc.unlock_bus = unlock_bus;
             ^

vim +810 drivers/gpu/drm/drm_dp_helper.c

4f71d0cb Dave Airlie    2014-06-04  804  	mutex_init(&aux->hw_mutex);
4f71d0cb Dave Airlie    2014-06-04  805  
88759686 Thierry Reding 2013-12-12  806  	aux->ddc.algo = &drm_dp_i2c_algo;
88759686 Thierry Reding 2013-12-12  807  	aux->ddc.algo_data = aux;
88759686 Thierry Reding 2013-12-12  808  	aux->ddc.retries = 3;
88759686 Thierry Reding 2013-12-12  809  
0c2f6f1a Chris Wilson   2016-06-17 @810  	aux->ddc.lock_bus = lock_bus;
0c2f6f1a Chris Wilson   2016-06-17 @811  	aux->ddc.trylock_bus = trylock_bus;
0c2f6f1a Chris Wilson   2016-06-17 @812  	aux->ddc.unlock_bus = unlock_bus;
acd8f414 Chris Wilson   2016-06-17  813  }
acd8f414 Chris Wilson   2016-06-17  814  EXPORT_SYMBOL(drm_dp_aux_init);
acd8f414 Chris Wilson   2016-06-17  815  

:::::: The code at line 810 was first introduced by commit
:::::: 0c2f6f1a561136a09c5de91889d0aa35e13f73d4 drm: Pass the drm_dp_aux->hw_mutex to i2c for its locking

:::::: TO: Chris Wilson <chris@chris-wilson.co.uk>
:::::: CC: Daniel Vetter <daniel.vetter@ffwll.ch>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 25930 bytes --]

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

* Re: [wsa:i2c/for-next 5/14] drivers/gpu/drm/drm_dp_helper.c:810:10: error: 'struct i2c_adapter' has no member named 'lock_bus'; did you mean 'lock_ops'?
  2016-08-25 19:03 [wsa:i2c/for-next 5/14] drivers/gpu/drm/drm_dp_helper.c:810:10: error: 'struct i2c_adapter' has no member named 'lock_bus'; did you mean 'lock_ops'? kbuild test robot
@ 2016-08-25 20:04 ` Peter Rosin
  2016-08-25 20:13   ` Wolfram Sang
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Rosin @ 2016-08-25 20:04 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, linux-i2c, Wolfram Sang

On 2016-08-25 21:03, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next
> head:   431f07e8b0097ded2ffb773d4ea6a797b2bc8bfe
> commit: 24882319480379588d0cced458ed7dd670e93fc7 [5/14] i2c: move locking operations to their own struct
> config: i386-randconfig-s0-201634 (attached as .config)
> compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
> reproduce:
>         git checkout 24882319480379588d0cced458ed7dd670e93fc7
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/gpu/drm/drm_dp_helper.c: In function 'drm_dp_aux_init':
>>> drivers/gpu/drm/drm_dp_helper.c:810:10: error: 'struct i2c_adapter' has no member named 'lock_bus'; did you mean 'lock_ops'?
>      aux->ddc.lock_bus = lock_bus;
>              ^
>>> drivers/gpu/drm/drm_dp_helper.c:811:10: error: 'struct i2c_adapter' has no member named 'trylock_bus'; did you mean 'lock_ops'?
>      aux->ddc.trylock_bus = trylock_bus;
>              ^
>>> drivers/gpu/drm/drm_dp_helper.c:812:10: error: 'struct i2c_adapter' has no member named 'unlock_bus'; did you mean 'lock_ops'?
>      aux->ddc.unlock_bus = unlock_bus;
>              ^
> 
> vim +810 drivers/gpu/drm/drm_dp_helper.c
> 
> 4f71d0cb Dave Airlie    2014-06-04  804  	mutex_init(&aux->hw_mutex);
> 4f71d0cb Dave Airlie    2014-06-04  805  
> 88759686 Thierry Reding 2013-12-12  806  	aux->ddc.algo = &drm_dp_i2c_algo;
> 88759686 Thierry Reding 2013-12-12  807  	aux->ddc.algo_data = aux;
> 88759686 Thierry Reding 2013-12-12  808  	aux->ddc.retries = 3;
> 88759686 Thierry Reding 2013-12-12  809  
> 0c2f6f1a Chris Wilson   2016-06-17 @810  	aux->ddc.lock_bus = lock_bus;
> 0c2f6f1a Chris Wilson   2016-06-17 @811  	aux->ddc.trylock_bus = trylock_bus;
> 0c2f6f1a Chris Wilson   2016-06-17 @812  	aux->ddc.unlock_bus = unlock_bus;
> acd8f414 Chris Wilson   2016-06-17  813  }
> acd8f414 Chris Wilson   2016-06-17  814  EXPORT_SYMBOL(drm_dp_aux_init);
> acd8f414 Chris Wilson   2016-06-17  815  
> 
> :::::: The code at line 810 was first introduced by commit
> :::::: 0c2f6f1a561136a09c5de91889d0aa35e13f73d4 drm: Pass the drm_dp_aux->hw_mutex to i2c for its locking
> 
> :::::: TO: Chris Wilson <chris@chris-wilson.co.uk>
> :::::: CC: Daniel Vetter <daniel.vetter@ffwll.ch>
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Sorry about this, I obviously didn't know about that new user. Should
have looked closer...

Wolfram, should I send an amended patch so that you can replace this
offender and keep things bisect-able, or do you want just a delta?

Cheers,
Peter

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

* Re: [wsa:i2c/for-next 5/14] drivers/gpu/drm/drm_dp_helper.c:810:10: error: 'struct i2c_adapter' has no member named 'lock_bus'; did you mean 'lock_ops'?
  2016-08-25 20:04 ` Peter Rosin
@ 2016-08-25 20:13   ` Wolfram Sang
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2016-08-25 20:13 UTC (permalink / raw)
  To: Peter Rosin; +Cc: kbuild test robot, kbuild-all, linux-i2c

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


> Sorry about this, I obviously didn't know about that new user. Should
> have looked closer...

I can recommend 'id-utils' to assist you with such things. Run 'mkid'
with every -rc1 release, then you can use 'gid <function_name>' to get
all users of the function in no time.

> Wolfram, should I send an amended patch so that you can replace this
> offender and keep things bisect-able, or do you want just a delta?

Please send an amended patch. I'll merge it into my for-next without
rebasing then.

Thanks!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2016-08-25 22:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-25 19:03 [wsa:i2c/for-next 5/14] drivers/gpu/drm/drm_dp_helper.c:810:10: error: 'struct i2c_adapter' has no member named 'lock_bus'; did you mean 'lock_ops'? kbuild test robot
2016-08-25 20:04 ` Peter Rosin
2016-08-25 20:13   ` Wolfram Sang

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.