All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Jason Wang <wangborong@cdjrlc.com>
Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org,
	tiwai@suse.com, leon@kernel.org
Subject: Re: [PATCH] ALSA: sparc: no need to initialise statics to 0
Date: Sun, 12 Dec 2021 10:01:15 +0100	[thread overview]
Message-ID: <s5h7dcafb8k.wl-tiwai@suse.de> (raw)
In-Reply-To: <20211212070422.281924-1-wangborong@cdjrlc.com>

On Sun, 12 Dec 2021 08:04:22 +0100,
Jason Wang wrote:
> 
> Static variables do not need to be initialised to 0, because compiler
> will initialise all uninitialised statics to 0. Thus, remove the
> unneeded initializations.
> 
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>

Thanks, applied now.


Takashi

WARNING: multiple messages have this Message-ID (diff)
From: Takashi Iwai <tiwai@suse.de>
To: Jason Wang <wangborong@cdjrlc.com>
Cc: tiwai@suse.com, perex@perex.cz, leon@kernel.org,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: sparc: no need to initialise statics to 0
Date: Sun, 12 Dec 2021 10:01:15 +0100	[thread overview]
Message-ID: <s5h7dcafb8k.wl-tiwai@suse.de> (raw)
In-Reply-To: <20211212070422.281924-1-wangborong@cdjrlc.com>

On Sun, 12 Dec 2021 08:04:22 +0100,
Jason Wang wrote:
> 
> Static variables do not need to be initialised to 0, because compiler
> will initialise all uninitialised statics to 0. Thus, remove the
> unneeded initializations.
> 
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>

Thanks, applied now.


Takashi

  reply	other threads:[~2021-12-12  9:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-12  7:04 [PATCH] ALSA: sparc: no need to initialise statics to 0 Jason Wang
2021-12-12  7:04 ` Jason Wang
2021-12-12  9:01 ` Takashi Iwai [this message]
2021-12-12  9:01   ` Takashi Iwai

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=s5h7dcafb8k.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=leon@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tiwai@suse.com \
    --cc=wangborong@cdjrlc.com \
    /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.