* linux-next: build failure after merge of the jdelvare-hwmon tree
@ 2011-07-16 7:06 Stephen Rothwell
2011-07-16 15:33 ` Jean Delvare
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2011-07-16 7:06 UTC (permalink / raw)
To: Jean Delvare; +Cc: linux-next, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 670 bytes --]
Hi Jean,
After merging the jdelvare-hwmon tree, today's linux-next build (x86_64
allmodconfig) failed like this:
drivers/hwmon/max1111.c: In function 'max1111_remove':
drivers/hwmon/max1111.c:213:2: error: incompatible type for argument 1 of 'mutex_destroy'
include/linux/mutex-debug.h:21:13: note: expected 'struct mutex *' but argument is of type 'struct mutex'
Caused by commit d2fbca2996a8 ("hwmon: (max1111) Fix race condition
causing NULL pointer exception"). Missing '&'?
I have used the jdelvare-hwmon tree from next-20110707 for today.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-next: build failure after merge of the jdelvare-hwmon tree
2011-07-16 7:06 linux-next: build failure after merge of the jdelvare-hwmon tree Stephen Rothwell
@ 2011-07-16 15:33 ` Jean Delvare
0 siblings, 0 replies; 2+ messages in thread
From: Jean Delvare @ 2011-07-16 15:33 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linux-next, linux-kernel
Hi Stephen,
On Sat, 16 Jul 2011 17:06:01 +1000, Stephen Rothwell wrote:
> After merging the jdelvare-hwmon tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/hwmon/max1111.c: In function 'max1111_remove':
> drivers/hwmon/max1111.c:213:2: error: incompatible type for argument 1 of 'mutex_destroy'
> include/linux/mutex-debug.h:21:13: note: expected 'struct mutex *' but argument is of type 'struct mutex'
>
> Caused by commit d2fbca2996a8 ("hwmon: (max1111) Fix race condition
> causing NULL pointer exception"). Missing '&'?
Oh, right, good catch. It went unnoticed so far because mutex_destroy
resolves to nothing unless CONFIG_DEBUG_MUTEXES=y. I plan to submit a
patch turning the empty implementation of mutex_destroy to an inline
function, so that this kind of problem gets caught earlier.
> I have used the jdelvare-hwmon tree from next-20110707 for today.
Problem is fixed now, thanks.
--
Jean Delvare
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-16 15:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-16 7:06 linux-next: build failure after merge of the jdelvare-hwmon tree Stephen Rothwell
2011-07-16 15:33 ` Jean Delvare
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).