Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Jeroen Vreeken <pe1rxq@amsat.org>
Cc: linux-mips@linux-mips.org
Subject: Re: sparse and mips
Date: Mon, 28 Feb 2005 12:11:20 +0000	[thread overview]
Message-ID: <20050228121120.GA11719@linux-mips.org> (raw)
In-Reply-To: <422256A3.2030407@amsat.org>

On Mon, Feb 28, 2005 at 12:24:19AM +0100, Jeroen Vreeken wrote:

> I tried compiling my switch driver with sparse to see if I did some 
> stupid casts and got a lot of warnings.... (attached below)
> Are others using sparse with mips kernels and getting the same?
> Or has nobody taken the time to fix it up?
> (The byteorder stuff should creap up everywhere or not?)

Not to my knowledge.  I always meant to as a preventive maintenance meassure
but somehow there was always something more important to do ...

> include/asm/byteorder.h:27:4: warning: "MIPS, but neither __MIPSEB__, 
> nor __MIPSEL__???"
> include/linux/kernel.h:200:2: warning: "Please fix asm/byteorder.h"

A result of sparse not knowing about MIPS yet.

> include/linux/aio_abi.h:59:2: warning: edit for your odd byteorder.

Same.

The others don't really make sense at the first look.

73,

  Ralf

  reply	other threads:[~2005-02-28 12:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-27 23:24 sparse and mips Jeroen Vreeken
2005-02-28 12:11 ` Ralf Baechle [this message]
2005-02-28 12:29   ` Geert Uytterhoeven
2005-02-28 14:00     ` Jeroen Vreeken
2005-03-03 10:46       ` Ralf Baechle
2005-03-03 11:38         ` Ulrich Eckhardt
2005-03-03 11:50           ` Ralf Baechle

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=20050228121120.GA11719@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=linux-mips@linux-mips.org \
    --cc=pe1rxq@amsat.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