Skip to contentSkip to conversation

tests

DISCUSSION Jean Delvare 2 participants 6 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hello

I volunteer to test the current CVS version on my different systems before 2.6.4 is released.

Is there something particular you'd want me to test ?

Signature · 2 lines
Jean "Khali" Delvare
http://www.ensicaen.ismra.fr/~delvare/
#1 lore raw

Let's go for a first report.

There is a warning at the end of compilation of i2c:

kernel/i2c-pcf-epp.c:53: warning: `DATA' redefined /usr/src/linux/include/linux/parport_pc.h:16: warning: this is the location of the previous definition

I have no suggestion on how it should be fixed.

There is a warning in the middle of compilation of lm_sensors2:

kernel/chips/smbus-arp.c: In function `smbusarp_contents':
kernel/chips/smbus-arp.c:461: warning: comparison is always 1 due to limited range of data type

("1" may be replaced by "true" depending of the compiler used)

This one is easily fixed by removing the line 461 ("a >= 0 &&") but there is maybe something more complex than just that hidden behind this warning ?

On some systems, the new module lm92 won't compile. I can't say wether this is caused by the version of gcc (egcs-2.91.66) or the version of the kernel (2.2.20). The error is:

kernel/chips/lm92.c:409: parse error before sensors_lm92_exit' kernel/chips/lm92.c: In function __cleanup_module_inline':
kernel/chips/lm92.c:424: warning: return from incompatible pointer type

It is caused by the "__exit" keyword on line 409. Removing "__exit" allowed me to compile the module, but I don't know what the consequences will be, if any.

The new module ds1307 also suffers this problem, but it won't show because it is *not* compiled when running make. I think this is not wanted and that you will want to have a look at what's wrong there.

Ok, that's all for this evening. I'll go on when these ones are fixed.

Signature · 2 lines
Jean "Khali" Delvare
http://www.ensicaen.ismra.fr/~delvare/
#2 lore raw
In reply to Jean Delvare

Here is a fix to a warning emited by the latest sensors-detect script (using perl 5.6.1).
(Warning: Use of "localtime" without parens is ambiguous at /usr/local/sbin/sensors-detect line 3036.)

I don't see why it is ambiguous, but adding the parens makes perl more quiet ;)

Signature · 14 lines
Jean "Khali" Delvare
http://www.ensicaen.ismra.fr/~delvare/
-------------- next part --------------
--- sensors-detect.orig	Mon Jul  1 01:57:34 2002
+++ sensors-detect	Tue Jul  9 23:10:25 2002
@@ -3033,7 +3033,7 @@
 #
 EOT
       print SYSCONFIG
-       "# Generated by sensors-detect on " . scalar localtime . "\n";
+       "# Generated by sensors-detect on " . scalar localtime() . "\n";
       my @modules = grep /^modprobe /, split "\n", $modprobes;
       my $i = 1;
       my $sysconfig = "";
#3 lore raw
In reply to Jean Delvare
Quoted 3 lines

Do you have or want CVS access to help fix these
or you want me to do it?

I don't intend to actually fix anything, since I don't know much about the projects details nor even the basics of driver programming. I could break something. I guess it's safer if the author itself fixes the problem - or at least someone more involved in the project than I am.

Signature · 2 lines
Jean "Khali" Delvare
http://www.ensicaen.ismra.fr/~delvare/
#4 lore raw
In reply to Jean Delvare
Quoted 3 lines

Since you are on a roll with compiling, if you could check compiling against a 2.2 kernel that would be great too.

No problem, this is part of my test suite.

Signature · 2 lines
Jean "Khali" Delvare
http://www.ensicaen.ismra.fr/~delvare/
#5 lore raw
In reply to Jean Delvare

thanks for the offer.
See the CHANGES documents in both sensors and i2c for ideas. Anything we touched or added is a good target.
If you can look for anything broken in the i2c/smbus layer that would be good too.

Quoted 11 lines · Jean Delvare

Hello

I volunteer to test the current CVS version on my different systems before 2.6.4 is released.

Is there something particular you'd want me to test ?

--
Jean "Khali" Delvare
http://www.ensicaen.ismra.fr/~delvare/