All of lore.kernel.org
 help / color / mirror / Atom feed
From: "John W. Linville" <linville@tuxdriver.com>
To: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Cc: Hong Kong Phoey <hongkongphoey@gmail.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] DM9000 network driver
Date: Fri, 18 Mar 2005 10:55:01 -0500	[thread overview]
Message-ID: <20050318155459.GB9136@tuxdriver.com> (raw)
In-Reply-To: <20050318152554.GH17865@csclub.uwaterloo.ca>

On Fri, Mar 18, 2005 at 10:25:54AM -0500, Lennart Sorensen wrote:
> On Fri, Mar 18, 2005 at 08:41:52PM +0530, Hong Kong Phoey wrote:

> > switch(foo) {
> > 
> >   case 1:
> >              f1();
> >   case2 :
> >              f2();
> > };
> > 
> > could well become
> > 
> > void (*func)[] = { f1, f2 };
> > 
> > func(i);
> 
> Ewww!

My thoughts exactly...there might be a place for something like that,
but I don't think this is it...

John
-- 
John W. Linville
linville@tuxdriver.com

  reply	other threads:[~2005-03-18 15:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-18 13:31 [PATCH] DM9000 network driver Sascha Hauer
2005-03-18 15:11 ` Hong Kong Phoey
2005-03-18 15:25   ` Lennart Sorensen
2005-03-18 15:55     ` John W. Linville [this message]
2005-03-18 16:02     ` Dmitry Torokhov
2005-03-18 16:04     ` linux-os
2005-03-18 16:21 ` Alan Cox
2005-03-18 16:58   ` Ben Dooks
2005-03-18 17:29     ` Sascha Hauer

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=20050318155459.GB9136@tuxdriver.com \
    --to=linville@tuxdriver.com \
    --cc=hongkongphoey@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lsorense@csclub.uwaterloo.ca \
    --cc=s.hauer@pengutronix.de \
    /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.