From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Date: Thu, 08 Aug 2013 12:32:45 +0000 Subject: Re: [lm-sensors] Motherboard Fujitsu D-3076-S Message-Id: <52038FED.3020308@redhat.com> List-Id: References: <52035CE7.3060103@teamnet.de> In-Reply-To: <52035CE7.3060103@teamnet.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lm-sensors@vger.kernel.org Hi, On 08/08/2013 01:24 PM, Holger B=FCrger wrote: > Hi, > > >> Yes you can simply remove the line in question, and the 2 lines remove >> it, so remove the following lines: > > But I have more errors then. Yes, it now passes building sch56xx-common.c, and moves on to another file which has other issues. > > make -C /lib/modules/2.6.18-348.el5/build M=3D/root/test modules > > > make[1]: Entering directory `/usr/src/kernels/2.6.18-348.12.1.el5-i686' > > > CC [M] /root/test/sch56xx-common.o > CC [M] /root/test/sch5636.o > /root/test/sch5636.c: In function =BBshow_in_value=AB: > /root/test/sch5636.c:189: Fehler: Implizite Deklaration der Funktion > =BBDIV_ROUND_CLOSEST=AB To fix this replace (at line 189): val =3D DIV_ROUND_CLOSEST( data->in[attr->index] * SCH5636_REG_IN_FACTORS[attr->index= ], 255); With: val =3D data->in[attr->index] * SCH5636_REG_IN_FACTORS[attr->index] / 255; > /root/test/sch5636.c: In function =BBsch5636_remove=AB: > /root/test/sch5636.c:392: Warnung: =DCbergabe des Arguments 1 von > =BBhwmon_device_unregister=AB von inkompatiblem Zeigertyp > /root/test/sch5636.c: In function =BBsch5636_probe=AB: > /root/test/sch5636.c:505: Warnung: Zuweisung von inkompatiblem Zeigertyp These 2 warnings can be ignored. You likely need to make the same change in sch5627.c Regards, Hans _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors