Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: "Ilya A. Volynets-Evenbakh" <ilya@total-knowledge.com>
To: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Subject: Get rid of a warning
Date: Sat, 23 Jul 2005 14:49:03 -0700	[thread overview]
Message-ID: <42E2BB4F.7080301@total-knowledge.com> (raw)

void functions shouldn't return values ;-)

-- 
Ilya A. Volynets-Evenbakh
Total Knowledge. CTO
http://www.total-knowledge.com


Index: arch/mips/au1000/pb1000/init.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/au1000/pb1000/init.c,v
retrieving revision 1.10
diff -u -r1.10 init.c
--- arch/mips/au1000/pb1000/init.c      18 Nov 2003 01:17:46 -0000      1.10
+++ arch/mips/au1000/pb1000/init.c      23 Jul 2005 15:38:21 -0000
@@ -65,5 +65,4 @@
                memsize = simple_strtol(memsize_str, NULL, 0);
        }
        add_memory_region(0, memsize, BOOT_MEM_RAM);
-       return 0;
 }

             reply	other threads:[~2005-07-23 21:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-23 21:49 Ilya A. Volynets-Evenbakh [this message]
2005-07-23 22:34 ` Get rid of a warning 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=42E2BB4F.7080301@total-knowledge.com \
    --to=ilya@total-knowledge.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.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