public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Jesper Juhl <juhl-lkml@dif.dk>
Cc: Andrew Morton <akpm@osdl.org>,
	digilnux@dgii.com, linux-kernel@vger.kernel.org
Subject: Re: [patch] 2.6.9-rc1-mm2: char/pcxx.c doesn't compile
Date: Tue, 31 Aug 2004 22:17:20 +0200	[thread overview]
Message-ID: <20040831201720.GP3466@fs.tum.de> (raw)
In-Reply-To: <Pine.LNX.4.61.0408312215240.2702@dragon.hygekrogen.localhost>

On Tue, Aug 31, 2004 at 10:18:10PM +0200, Jesper Juhl wrote:
> On Tue, 31 Aug 2004, Adrian Bunk wrote:
> 
> >  static void pcxxpoll(unsigned long dummy)
> >  {
> > @@ -1995,6 +1982,7 @@
> >  	volatile struct board_chan *bc;
> >  	unsigned long flags;
> >  	int mflag = 0;
> > +	int mstat;
> >  
> >  	if(ch)
> >  		bc = ch->brdchan;
> > @@ -2069,6 +2057,7 @@
> >  	pcxxparam(tty,ch);
> >  	memoff(ch);
> >  	restore_flags(flags);
> > +	return 0;
> >  }
> 
> since pcxxpoll is declared with a void return, return 0; here seems 
> pointless. A simple return;  or just falling off the end of the function 
> should be fine as far as I can see.

These two chunks are _not_ in pcxxpoll.

It might look this way in the diff output, but we are already 500 lines 
and many functions below pcxxpoll.

> Jesper Juhl <juhl-lkml@dif.dk>

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  reply	other threads:[~2004-08-31 20:24 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-31  6:54 2.6.9-rc1-mm2 Andrew Morton
2004-08-31  8:51 ` 2.6.9-rc1-mm2 Inconsistent kallsyms Helge Hafting
2004-08-31  9:02   ` Andrew Morton
2004-09-01 10:45     ` Helge Hafting
2004-08-31 11:05   ` Paulo Marques
2004-08-31 12:04 ` 2.6.9-rc1-mm2: tdfxfb_lib causes compile error Adrian Bunk
2004-08-31 17:21 ` 2.6.9-rc1-mm2 (compile stats) John Cherry
2004-08-31 17:41 ` [patch] 2.6.9-rc1-mm2: char/pcxx.c doesn't compile Adrian Bunk
2004-08-31 20:18   ` Jesper Juhl
2004-08-31 20:17     ` Adrian Bunk [this message]
2004-08-31 20:27       ` Jesper Juhl
2004-08-31 17:47 ` 2.6.9-rc1-mm2: why is DIGIEPCA marked BROKEN? Adrian Bunk
2004-08-31 19:57   ` Christoph Hellwig
2004-08-31 19:59     ` Adrian Bunk
2004-08-31 18:53 ` 2.6.9-rc1-mm2 Martin J. Bligh
2004-08-31 19:16   ` 2.6.9-rc1-mm2 Gene Heskett
2004-08-31 19:45     ` 2.6.9-rc1-mm2 Martin J. Bligh
2004-08-31 19:26   ` 2.6.9-rc1-mm2 Andrew Morton
2004-08-31 18:54 ` 2.6.9-rc1-mm2 Gene Heskett
2004-08-31 19:41   ` 2.6.9-rc1-mm2 Sam Ravnborg
2004-09-01 17:35     ` 2.6.9-rc1-mm2 Tom Rini
2004-09-01 19:23       ` 2.6.9-rc1-mm2 Sam Ravnborg
2004-08-31 22:13 ` 2.6.9-rc1-mm2 Rick Lindsley
2004-09-01 21:07   ` 2.6.9-rc1-mm2: IP_NF_COMPAT_IPCHAINS compilation broken Adrian Bunk
2004-09-01  7:15 ` 2.6.9-rc1-mm2 Andre Eisenbach
2004-09-01  7:25   ` 2.6.9-rc1-mm2 William Lee Irwin III
2004-09-01  9:15     ` 2.6.9-rc1-mm2 Andre Eisenbach

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=20040831201720.GP3466@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=akpm@osdl.org \
    --cc=digilnux@dgii.com \
    --cc=juhl-lkml@dif.dk \
    --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