Re: build issue #552 for v2.6.27-rc2-325-g796aade:drivers/watchdog/pcwd.c : incompatible pointer type

From: Randy Dunlap
Date: Sat Aug 09 2008 - 18:05:29 EST


On Sat, 9 Aug 2008 21:54:05 +0200 Toralf Förster wrote:

> Hello,
>
> the build (.config attached) failed, make ends with :
> ...
> CC drivers/w1/slaves/w1_ds2433.o
> CC drivers/w1/slaves/w1_ds2760.o
> LD drivers/w1/slaves/built-in.o
> LD drivers/w1/built-in.o
> CC drivers/watchdog/pcwd.o
> drivers/watchdog/pcwd.c: In function 'pcwd_open':
> drivers/watchdog/pcwd.c:703: warning: passing argument 2 of 'test_and_set_bit' from incompatible pointer type
> drivers/watchdog/pcwd.c: In function 'pcwd_close':
> drivers/watchdog/pcwd.c:723: warning: passing argument 2 of 'clear_bit' from incompatible pointer type
> CC drivers/watchdog/mixcomwd.o
> CC drivers/watchdog/pcwd_pci.o
> CC drivers/watchdog/wdt_pci.o
> CC drivers/watchdog/acquirewdt.o
> CC drivers/watchdog/advantechwdt.o
> CC drivers/watchdog/alim7101_wdt.o
> drivers/watchdog/alim7101_wdt.c:424: warning: 'alim7101_pci_tbl' defined but not used
> CC drivers/watchdog/ibmasr.o
> CC drivers/watchdog/iTCO_wdt.o
> CC drivers/watchdog/iTCO_vendor_support.o
> drivers/watchdog/iTCO_vendor_support.c:247: error: expected identifier or '(' before '{' token
> drivers/watchdog/iTCO_vendor_support.c:249: error: expected identifier or '(' before '{' token
> drivers/watchdog/iTCO_vendor_support.c:257: error: expected identifier or '(' before '{' token
> drivers/watchdog/iTCO_vendor_support.c:258: error: expected identifier or '(' before '{' token
> drivers/watchdog/iTCO_vendor_support.c:266: error: expected identifier or '(' before '{' token
> drivers/watchdog/iTCO_vendor_support.c:267: error: expected identifier or '(' before '{' token
> drivers/watchdog/iTCO_vendor_support.c:275: error: expected identifier or '(' before '{' token
> drivers/watchdog/iTCO_vendor_support.c:276: error: expected identifier or '(' before '{' token
> drivers/watchdog/iTCO_vendor_support.c:282:39: error: macro "iTCO_vendor_check_noreboot_on" passed 1 arguments, but takes just 0
> drivers/watchdog/iTCO_vendor_support.c:283: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> make[2]: *** [drivers/watchdog/iTCO_vendor_support.o] Error 1
> make[1]: *** [drivers/watchdog] Error 2
> make: *** [drivers] Error 2
>
> The build was made with :
> $>make randconfig; make clean; make
>
> Here's the config:

Looks the same as reported on 8/8 with patch:
http://marc.info/?l=linux-kernel&m=121818422630481&w=2

---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/