virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Greg KH <gregkh@suse.de>
Cc: "K. Y. Srinivasan" <kys@microsoft.com>,
	linux-kernel@vger.kernel.org, devel@linuxdriverproject.org,
	virtualization@lists.osdl.org
Subject: Re: [PATCH] Staging: hv: vmbus: Show the modalias in /sys/bus/vmbus/devices/*/
Date: Fri, 2 Sep 2011 18:38:20 +0200	[thread overview]
Message-ID: <20110902163820.GA25353@aepfle.de> (raw)
In-Reply-To: <20110902163550.GA5508@suse.de>

On Fri, Sep 02, Greg KH wrote:

> On Fri, Sep 02, 2011 at 06:25:56PM +0200, Olaf Hering wrote:

> > +#define VMBUS_ALIAS_LEN ((sizeof((struct hv_vmbus_device_id *)0)->guid) * 2)

> > +	char alias_name[VMBUS_ALIAS_LEN + 1];
> 
> Is that too big to put on the stack?  64 bytes, right?  Hm, maybe not.

16 * 2 + 1 = 33 bytes.

Olaf

  reply	other threads:[~2011-09-02 16:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-02 16:25 [PATCH] Staging: hv: vmbus: Show the modalias in /sys/bus/vmbus/devices/*/ Olaf Hering
2011-09-02 16:35 ` Greg KH
2011-09-02 16:38   ` Olaf Hering [this message]
2011-09-02 17:53   ` KY Srinivasan
2011-09-02 18:12     ` Greg KH
2011-09-02 17:50 ` KY Srinivasan

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=20110902163820.GA25353@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=devel@linuxdriverproject.org \
    --cc=gregkh@suse.de \
    --cc=kys@microsoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=virtualization@lists.osdl.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;
as well as URLs for NNTP newsgroup(s).