linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [kbuild] [linuxtv-samsung:next/exynos-is 3/17] drivers/media/media-entity.c:477:1-11: second lock on line 479
       [not found] <20130509232644.GI30128@mwanda>
@ 2013-05-10  9:19 ` Sylwester Nawrocki
  0 siblings, 0 replies; only message in thread
From: Sylwester Nawrocki @ 2013-05-10  9:19 UTC (permalink / raw)
  To: Dan Carpenter; +Cc: kbuild, Kyungmin Park, Julia Lawall, LMML

On 05/10/2013 01:26 AM, Dan Carpenter wrote:
> Hi Sylwester,
> 
> FYI, there are coccinelle warnings in

Thanks a lot for this bug report. I've just re-tested the patch
and the bug is evident there, looks like it was introduced in
a "last minute" changes and the test environment wasn't updated
properly. The corrected patch to follow.

Regards,
Sylwester

> tree:   git://linuxtv.org/snawrocki/samsung.git next/exynos-is
> head:   90029a2ca496f71ba629ea932ac761e16f4e823b
> commit: cae9aa2c7b182d1b687196292059bca2f2cedf0f [3/17] media: Add function removing all media entity links
> 
>>> drivers/media/media-entity.c:477:1-11: second lock on line 479
> --
>>> drivers/media/media-entity.c:477:1-11: second lock on line 479
> 
> git remote add linuxtv-samsung git://linuxtv.org/snawrocki/samsung.git
> git remote update linuxtv-samsung
> git checkout cae9aa2c7b182d1b687196292059bca2f2cedf0f
> vim +477 drivers/media/media-entity.c
> 
> cae9aa2c Sylwester Nawrocki 2013-05-08  471  
> cae9aa2c Sylwester Nawrocki 2013-05-08  472  void media_entity_remove_links(struct media_entity *entity)
> cae9aa2c Sylwester Nawrocki 2013-05-08  473  {
> cae9aa2c Sylwester Nawrocki 2013-05-08  474  	if (WARN_ON_ONCE(entity->parent == NULL))
> cae9aa2c Sylwester Nawrocki 2013-05-08  475  		return;
> cae9aa2c Sylwester Nawrocki 2013-05-08  476  
> cae9aa2c Sylwester Nawrocki 2013-05-08 @477  	mutex_lock(&entity->parent->graph_mutex);
> cae9aa2c Sylwester Nawrocki 2013-05-08  478  	__media_entity_remove_links(entity);
> cae9aa2c Sylwester Nawrocki 2013-05-08 @479  	mutex_lock(&entity->parent->graph_mutex);
> cae9aa2c Sylwester Nawrocki 2013-05-08  480  }
> cae9aa2c Sylwester Nawrocki 2013-05-08  481  EXPORT_SYMBOL_GPL(media_entity_remove_links);
> cae9aa2c Sylwester Nawrocki 2013-05-08  482  
> 
> ---
> 0-DAY kernel build testing backend              Open Source Technology Center
> http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation
> _______________________________________________
> kbuild mailing list
> kbuild@lists.01.org
> https://lists.01.org/mailman/listinfo/kbuild

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-10  9:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20130509232644.GI30128@mwanda>
2013-05-10  9:19 ` [kbuild] [linuxtv-samsung:next/exynos-is 3/17] drivers/media/media-entity.c:477:1-11: second lock on line 479 Sylwester Nawrocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).