From: "Holger Bürger" <buerger@teamnet.de>
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] SOLVED: Re: Motherboard Fujitsu D-3076-S
Date: Thu, 08 Aug 2013 14:59:50 +0000 [thread overview]
Message-ID: <5203B266.5090201@teamnet.de> (raw)
Hi,
problem solved.
Thank you very much.
I will also report this procedure to FUJITSU support, so they can update
the HOWTOs provided under the following link.
ftp://ftp.ts.fujitsu.com/pub/Mainboard-OEM-Sales/Products/Mainboards/Industrial&ExtendedLifetime/D3071-S_D3076-S/IndustrialTools_D307x-S/Linux_SystemMonitoring&Watchdog-Driver/
Regards
Holger B.
Am 08.08.2013 14:32, schrieb Hans de Goede:
> Hi,
>
> On 08/08/2013 01:24 PM, Holger Bürger 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=/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 »show_in_value«:
>> /root/test/sch5636.c:189: Fehler: Implizite Deklaration der Funktion
>> »DIV_ROUND_CLOSEST«
>
> To fix this replace (at line 189):
>
> val = DIV_ROUND_CLOSEST(
> data->in[attr->index] *
> SCH5636_REG_IN_FACTORS[attr->index],
> 255);
>
> With:
>
> val = data->in[attr->index] * SCH5636_REG_IN_FACTORS[attr->index] /
> 255;
>
>
>> /root/test/sch5636.c: In function »sch5636_remove«:
>> /root/test/sch5636.c:392: Warnung: Übergabe des Arguments 1 von
>> »hwmon_device_unregister« von inkompatiblem Zeigertyp
>> /root/test/sch5636.c: In function »sch5636_probe«:
>> /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
reply other threads:[~2013-08-08 14:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5203B266.5090201@teamnet.de \
--to=buerger@teamnet.de \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.