2005-05-26 11:51:09

by Gene Heskett

[permalink] [raw]
Subject: 2.6.12-rc5 build failure

Greetings;

Just now, trying to build 2.6.12-rc5, I'm getting this:
CC drivers/char/ipmi/ipmi_devintf.o
drivers/char/ipmi/ipmi_devintf.c: In function `ipmi_new_smi':
drivers/char/ipmi/ipmi_devintf.c:532: warning: passing arg 1 of `class_simple_device_add' from incompatible pointer type
drivers/char/ipmi/ipmi_devintf.c: In function `ipmi_smi_gone':
drivers/char/ipmi/ipmi_devintf.c:537: warning: passing arg 1 of `class_simple_device_remove' makes integer from pointer without a cast
drivers/char/ipmi/ipmi_devintf.c:537: error: too many arguments to function `class_simple_device_remove'
drivers/char/ipmi/ipmi_devintf.c: In function `init_ipmi_devintf':
drivers/char/ipmi/ipmi_devintf.c:558: warning: assignment from incompatible pointer type
drivers/char/ipmi/ipmi_devintf.c:566: warning: passing arg 1 of `class_simple_destroy' from incompatible pointer type
drivers/char/ipmi/ipmi_devintf.c:580: warning: passing arg 1 of `class_simple_destroy' from incompatible pointer type
drivers/char/ipmi/ipmi_devintf.c: In function `cleanup_ipmi':
drivers/char/ipmi/ipmi_devintf.c:591: warning: passing arg 1 of `class_simple_destroy' from incompatible pointer type
make[3]: *** [drivers/char/ipmi/ipmi_devintf.o] Error 1
make[2]: *** [drivers/char/ipmi] Error 2
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2

This is new, rc4 is running fairly well. I thought my .config
had become contaminated, but the IPMI stuff looks ok:

[root@coyote linux-2.6.12-rc5]# grep IPMI .config
# IPMI
CONFIG_IPMI_HANDLER=y
# CONFIG_IPMI_PANIC_EVENT is not set
CONFIG_IPMI_DEVICE_INTERFACE=y
# CONFIG_IPMI_SI is not set
# CONFIG_IPMI_WATCHDOG is not set
# CONFIG_IPMI_POWEROFF is not set

???

--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.34% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.


2005-05-26 12:29:52

by Alexey Dobriyan

[permalink] [raw]
Subject: Re: 2.6.12-rc5 build failure

On Thursday 26 May 2005 15:50, Gene Heskett wrote:
> Just now, trying to build 2.6.12-rc5, I'm getting this:
> CC drivers/char/ipmi/ipmi_devintf.o
> drivers/char/ipmi/ipmi_devintf.c: In function `ipmi_new_smi':
> drivers/char/ipmi/ipmi_devintf.c:532: warning: passing arg 1 of `class_simple_device_add' from incompatible pointer type
> drivers/char/ipmi/ipmi_devintf.c: In function `ipmi_smi_gone':
> drivers/char/ipmi/ipmi_devintf.c:537: warning: passing arg 1 of `class_simple_device_remove' makes integer from pointer without a cast
> drivers/char/ipmi/ipmi_devintf.c:537: error: too many arguments to function `class_simple_device_remove'

Fixed in 2.6.12-rc5-dca79a046b93a81496bb30ca01177fb17f37ab72.

http://kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=dca79a046b93a81496bb30ca01177fb17f37ab72;hp=5daf05fbf73fc199e7a93a818e504856d07c5586

2005-05-26 12:39:55

by Gene Heskett

[permalink] [raw]
Subject: Re: 2.6.12-rc5 build failure

On Thursday 26 May 2005 08:34, Alexey Dobriyan wrote:
>On Thursday 26 May 2005 15:50, Gene Heskett wrote:
>> Just now, trying to build 2.6.12-rc5, I'm getting this:
>> CC drivers/char/ipmi/ipmi_devintf.o
>> drivers/char/ipmi/ipmi_devintf.c: In function `ipmi_new_smi':
>> drivers/char/ipmi/ipmi_devintf.c:532: warning: passing arg 1 of
>> `class_simple_device_add' from incompatible pointer type
>> drivers/char/ipmi/ipmi_devintf.c: In function `ipmi_smi_gone':
>> drivers/char/ipmi/ipmi_devintf.c:537: warning: passing arg 1 of
>> `class_simple_device_remove' makes integer from pointer without a
>> cast drivers/char/ipmi/ipmi_devintf.c:537: error: too many
>> arguments to function `class_simple_device_remove'
>
>Fixed in 2.6.12-rc5-dca79a046b93a81496bb30ca01177fb17f37ab72.
>

Aarrrhhggg... Thats about 150 chars longer than I can copy-paste here.

I'll wait for rc6 I think.

>http://kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2
>.6.git;a=commitdiff;h=dca79a046b93a81496bb30ca01177fb17f37ab72;hp=5d
>af05fbf73fc199e7a93a818e504856d07c5586 -
>To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in the body of a message to [email protected]
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/

--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.34% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.

2005-05-26 19:38:49

by Miles Lane

[permalink] [raw]
Subject: Re: 2.6.12-rc5 build failure

Alexey Dobriyan wrote:
>
> Fixed in 2.6.12-rc5-dca79a046b93a81496bb30ca01177fb17f37ab72.
>
> http://kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdif \
> f;h=dca79a046b93a81496bb30ca01177fb17f37ab72;hp=5daf05fbf73fc199e7a93a818e504856d07c55 \
> 86

Why does the GitWeb interface lack a link to have a patch saved as a
text file? Cutting and pasting isn't working for me with this patch.
Also, saving the webpage as text from Firefox 1.0.4 also fails to give
me a working patch.

I get this patch error:

patching file drivers/char/ipmi/ipmi_devintf.c
patch: **** malformed patch at line 4: " interface. Other values will
set the major device number"

What's up with this?

Thanks,
MIles

2005-05-27 12:43:47

by Romano Giannetti

[permalink] [raw]
Subject: Re: 2.6.12-rc5 build failure

On Thu, May 26, 2005 at 08:39:51AM -0400, Gene Heskett wrote:
>
> Aarrrhhggg... Thats about 150 chars longer than I can copy-paste here.
>
> I'll wait for rc6 I think.
>
> >http://kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2
> >.6.git;a=commitdiff;h=dca79a046b93a81496bb30ca01177fb17f37ab72;hp=5d
> >af05fbf73fc199e7a93a818e504856d07c5586 -

It would be nice to add a "shortlink this patch" feature to gitweb...have a
link like http://kernel.org/git/gitweb.cgi?slink=someASCIIhashof40char...

Romano


--
Romano Giannetti - Univ. Pontificia Comillas (Madrid, Spain)
Electronic Engineer - phone +34 915 422 800 ext 2416 fax +34 915 596 569

2005-05-27 13:00:50

by Gene Heskett

[permalink] [raw]
Subject: Re: 2.6.12-rc5 build failure

On Friday 27 May 2005 08:43, Romano Giannetti wrote:
>On Thu, May 26, 2005 at 08:39:51AM -0400, Gene Heskett wrote:
>> Aarrrhhggg... Thats about 150 chars longer than I can copy-paste
>> here.
>>
>> I'll wait for rc6 I think.
>>
>> >http://kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linu
>> >x-2
>> > .6.git;a=commitdiff;h=dca79a046b93a81496bb30ca01177fb17f37ab72;h
>> >p=5d af05fbf73fc199e7a93a818e504856d07c5586 -
>
>It would be nice to add a "shortlink this patch" feature to
> gitweb...have a link like
> http://kernel.org/git/gitweb.cgi?slink=someASCIIhashof40char...
>
>Romano

OT probably... So how does one go about getting 'gitweb'?

I now see a couple of .git files in the snapshots dir that I grabbed
this morning:

[amanda@coyote src]$ ls -l |grep .git
-rw-r--r-- 1 root root 66398 May 26 09:01 patch-2.6.12-rc5-git1.gz
-rw-r--r-- 1 root root 196014 May 27 2005 patch-2.6.12-rc5-git2.gz

Do these include that fix?

--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.35% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.