public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Bart Van Assche <bvanassche@acm.org>
To: Zhu Yanjun <yanjun.zhu@linux.dev>,
	Jason Gunthorpe <jgg@nvidia.com>,
	Leon Romanovsky <leonro@nvidia.com>
Cc: linux-rdma@vger.kernel.org,
	Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>,
	"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>
Subject: Re: [PATCH] RDMA/srpt: Make slab cache names unique
Date: Mon, 7 Oct 2024 09:11:39 -0700	[thread overview]
Message-ID: <874b5624-2ada-4ffb-adea-64b1b377b18d@acm.org> (raw)
In-Reply-To: <3108a1da-3eb3-4b9d-8063-eab25c7c2f29@linux.dev>

On 10/7/24 2:51 AM, Zhu Yanjun wrote:
>> +    char cache_name[32];
> 
> The local variable cache_name is not zeroed.

I think that there are millions of local variables in the Linux kernel
that are not zero-initialized.

Bart.

      parent reply	other threads:[~2024-10-07 16:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-04 17:37 [PATCH] RDMA/srpt: Make slab cache names unique Bart Van Assche
2024-10-07  2:44 ` Shinichiro Kawasaki
2024-10-07  9:51 ` Zhu Yanjun
2024-10-07 14:06   ` Jens Axboe
2024-10-07 16:14     ` Bart Van Assche
2024-10-07 16:28       ` Jens Axboe
2024-10-07 16:52         ` Bart Van Assche
2024-10-07 16:55           ` Jason Gunthorpe
2024-10-07 17:16             ` Bart Van Assche
2024-10-07 17:20           ` Jens Axboe
2024-10-07 17:22             ` Jason Gunthorpe
2024-10-07 17:25               ` Jens Axboe
2024-10-07 16:11   ` Bart Van Assche [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=874b5624-2ada-4ffb-adea-64b1b377b18d@acm.org \
    --to=bvanassche@acm.org \
    --cc=jgg@nvidia.com \
    --cc=leonro@nvidia.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=shinichiro.kawasaki@wdc.com \
    --cc=yanjun.zhu@linux.dev \
    /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