All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Carpenter <error27@gmail.com>
To: Jinank Jain <jinankjain@linux.microsoft.com>
Cc: Tianyu.Lan@microsoft.com, linux-hyperv@vger.kernel.org
Subject: Re: [bug report] x86/hyperv: Add Write/Read MSR registers via ghcb page
Date: Tue, 17 Jan 2023 14:06:37 +0300	[thread overview]
Message-ID: <Y8aBPTJN9WvLjM1M@kadam> (raw)
In-Reply-To: <Y8Z/ycimio0p1cQP@kadam>

On Tue, Jan 17, 2023 at 02:00:25PM +0300, Dan Carpenter wrote:
> On Tue, Jan 17, 2023 at 04:26:13PM +0530, Jinank Jain wrote:
> > Does making 0 as the default value makes sense?
> > 
> 
> That would silence the warning, and most distros are going to enable
> the config to zero it out anyway so it has no impact on runtime.

The config to zero out stack variables. CONFIG_INIT_STACK_ALL_ZERO.

regards,
dan carpenter


      reply	other threads:[~2023-01-17 11:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-16  8:37 [bug report] x86/hyperv: Add Write/Read MSR registers via ghcb page Dan Carpenter
2023-01-17 10:56 ` Jinank Jain
2023-01-17 11:00   ` Dan Carpenter
2023-01-17 11:06     ` Dan Carpenter [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=Y8aBPTJN9WvLjM1M@kadam \
    --to=error27@gmail.com \
    --cc=Tianyu.Lan@microsoft.com \
    --cc=jinankjain@linux.microsoft.com \
    --cc=linux-hyperv@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 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.