linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Schlemmer <azarah@gentoo.org>
To: Andrew Morton <akpm@digeo.com>
Cc: KML <linux-kernel@vger.kernel.org>
Subject: Re: [2.5] Update sk98lin driver
Date: 05 May 2003 01:29:07 +0200	[thread overview]
Message-ID: <1052090947.4459.16.camel@nosferatu.lan> (raw)
In-Reply-To: <20030504145038.5b0495b5.akpm@digeo.com>

[-- Attachment #1: Type: text/plain, Size: 1050 bytes --]

On Sun, 2003-05-04 at 23:50, Andrew Morton wrote:

> > Now the problem is that if I try to load it, I get this:
> > 
> > -----------------------------------------
> > sk98lin: Unknown symbol __udivdi3
> > -----------------------------------------
> > 
> > Meaning it linked with libgcc_s.so.  Any ideas why ?
> > 
> 
> This was the fix for the in-kernel driver, so it'll presumably
> fix the updated driver.
> 
> 
> diff -puN drivers/net/sk98lin/h/skgepnm2.h~sk98-build-fix drivers/net/sk98lin/h/skgepnm2.h
> --- 25/drivers/net/sk98lin/h/skgepnm2.h~sk98-build-fix	Thu Mar  6 16:18:07 2003
> +++ 25-akpm/drivers/net/sk98lin/h/skgepnm2.h	Thu Mar  6 16:18:07 2003
> @@ -341,7 +341,7 @@ typedef struct s_PnmiStatAddr {
>  #if SK_TICKS_PER_SEC == 100
>  #define SK_PNMI_HUNDREDS_SEC(t)	(t)
>  #else
> -#define SK_PNMI_HUNDREDS_SEC(t)	(((t) * 100) / (SK_TICKS_PER_SEC))
> +#define SK_PNMI_HUNDREDS_SEC(t)	((((long)t) * 100) / (SK_TICKS_PER_SEC))
>  #endif
>  
>  /*

Thanks, that fixed it =)


-- 

Martin Schlemmer




[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2003-05-04 23:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-04 18:44 [2.5] Update sk98lin driver Martin Schlemmer
2003-05-04 18:54 ` Christoph Hellwig
2003-05-04 18:57 ` Matti Aarnio
2003-05-04 19:35   ` Martin Schlemmer
2003-05-04 21:50 ` Andrew Morton
2003-05-04 23:29   ` Martin Schlemmer [this message]

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=1052090947.4459.16.camel@nosferatu.lan \
    --to=azarah@gentoo.org \
    --cc=akpm@digeo.com \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).