public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jedi/Sector One <lkml@pureftpd.org>
To: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] 4/4: DM: dm-raid1.c: Use fixed-size arrays
Date: Wed, 30 Jun 2004 22:27:58 +0159	[thread overview]
Message-ID: <20040630202820.GA13408@c9x.org> (raw)
In-Reply-To: <200406302207.56348.mbuesch@freenet.de>

On Wed, Jun 30, 2004 at 10:07:53PM +0200, Michael Buesch wrote:
> Quoting Kevin Corry <kevcorry@us.ibm.com>:
> > -	struct io_region from, to[ms->nr_mirrors - 1], *dest;
> 
> Heh? Could someone please explain how this could compile?

  Such a dynamic allocation on the stack is a GCC extension, implemented for
a very long time.

  I guess this is not very different from alloca().
  

      reply	other threads:[~2004-06-30 20:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-30 19:52 [PATCH] 0/4: Device-Mapper: Minor cleanups and fixes Kevin Corry
2004-06-30 19:57 ` [PATCH] 1/4: DM: kcopyd.c: Remove unused include Kevin Corry
2004-06-30 19:57 ` [PATCH] 2/4: DM: kcopyd.c: make client_add() return void Kevin Corry
2004-06-30 19:58 ` [PATCH] 3/4: DM: dm-raid1.c: Enforce max of 9 mirrors Kevin Corry
2004-06-30 19:58 ` [PATCH] 4/4: DM: dm-raid1.c: Use fixed-size arrays Kevin Corry
2004-06-30 20:07   ` Michael Buesch
2004-06-30 20:28     ` Jedi/Sector One [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=20040630202820.GA13408@c9x.org \
    --to=lkml@pureftpd.org \
    --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