mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Xiaoke Wang" <xkernel.wang@foxmail.com>
To: gregkh <gregkh@linuxfoundation.org>,
	"dan.carpenter" <dan.carpenter@oracle.com>
Cc: nsaenz <nsaenz@kernel.org>,
	bcm-kernel-feedback-list <bcm-kernel-feedback-list@broadcom.com>,
	linux-rpi-kernel <linux-rpi-kernel@lists.infradead.org>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	linux-staging <linux-staging@lists.linux.dev>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] staging: mmal-vchiq: add a check for the return of vmalloc()
Date: Wed, 16 Mar 2022 00:23:05 +0800	[thread overview]
Message-ID: <tencent_84264ACEFF062098CC35B9C01C7A1464E108@qq.com> (raw)
In-Reply-To: <YjCwagaijyA2oO8r@kroah.com>

On Tue, 15 Mar 2022 16:27:38 +0100, Greg KH wrote:
&gt; Your change just crashed the kernel :(
&gt;
&gt; Please be more careful

I am sorry. I ever been told that vfree(NULL) or kfree(NULL) is safe,
so I just jump to the tag `err_free` in this version.
I will resend one by adding a new proper tag.
And in fact, I did not find where -&gt;bulk_scratch is used.

Regards,
Xiaoke Wang

  parent reply	other threads:[~2022-03-15 16:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-15 14:42 xkernel.wang
2022-03-15 15:27 ` Greg KH
2022-03-15 15:53   ` Dan Carpenter
2022-03-15 16:23   ` Xiaoke Wang [this message]
2022-03-16 14:08     ` gregkh

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=tencent_84264ACEFF062098CC35B9C01C7A1464E108@qq.com \
    --to=xkernel.wang@foxmail.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=dan.carpenter@oracle.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=nsaenz@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

all inboxes | Powered by JetHome®