[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2024013044-relay-jolt-35d0@gregkh>
Date: Tue, 30 Jan 2024 09:13:04 -0800
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Markus Elfring <Markus.Elfring@....de>
Cc: Dan Carpenter <dan.carpenter@...aro.org>, linux-fpga@...r.kernel.org,
kernel-janitors@...r.kernel.org, Moritz Fischer <mdf@...nel.org>,
Tom Rix <trix@...hat.com>, Wu Hao <hao.wu@...el.com>,
Xu Yilun <yilun.xu@...el.com>, LKML <linux-kernel@...r.kernel.org>,
Kunwu Chan <chentao@...inos.cn>
Subject: Re: fpga: dfl: fme: Return directly after a failed devm_kasprintf()
call in fme_perf_pmu_register()
On Tue, Jan 30, 2024 at 06:09:14PM +0100, Markus Elfring wrote:
> >> Thus return directly after a failed devm_kasprintf() call.
> >>
> >> Fixes: 724142f8c42a7 ("fpga: dfl: fme: add performance reporting support")
> >
> > This basically doesn't affect runtime because perf_pmu_register() checks
> > for NULL so no need for a Fixes tag.
>
> I suggest to clarify this view a bit more also according to statements
> like the following.
>
> 1. https://elixir.bootlin.com/linux/v6.8-rc2/source/kernel/events/core.c#L11532
> perf_pmu_register:
> …
> pmu->name = name;
> …
>
> 2. https://elixir.bootlin.com/linux/v6.8-rc2/source/kernel/events/core.c#L11472
> pmu_dev_alloc:
> …
> ret = dev_set_name(pmu->dev, "%s", pmu->name);
> …
>
>
> Regards,
> Markus
Hi,
This is the semi-friendly patch-bot of Greg Kroah-Hartman.
Markus, you seem to have sent a nonsensical or otherwise pointless
review comment to a patch submission on a Linux kernel developer mailing
list. I strongly suggest that you not do this anymore. Please do not
bother developers who are actively working to produce patches and
features with comments that, in the end, are a waste of time.
thanks,
greg k-h's patch email bot
Powered by blists - more mailing lists