[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <129e1b9d-ed1c-4dcf-86eb-7fee32bbcd7c@redhat.com>
Date: Tue, 20 Feb 2024 11:25:14 +0100
From: Marco Pagani <marpagan@...hat.com>
To: Xu Yilun <yilun.xu@...ux.intel.com>
Cc: Moritz Fischer <mdf@...nel.org>, Wu Hao <hao.wu@...el.com>,
Xu Yilun <yilun.xu@...el.com>, Tom Rix <trix@...hat.com>,
linux-fpga@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] fpga: remove redundant checks for bridge ops
On 2024-02-18 05:04, Xu Yilun wrote:
> On Thu, Feb 01, 2024 at 04:57:12PM +0100, Marco Pagani wrote:
>> Commit 0d70af3c2530 ("fpga: bridge: Use standard dev_release for class
>> driver") introduced a check in fpga_bridge_register() that prevents
>> registering a bridge without ops, making checking on every call
>> redundant.
>>
>> v2:
>> - removed ops check also in state_show()
>
> Don't put the history in changelog.
You're right, sorry.
>
> I could fix it.
> Acked-by: Xu Yilun <yilun.xu@...el.com>
>
Yes, please.
>>
>> Signed-off-by: Marco Pagani <marpagan@...hat.com>
> ---
> v2:
> - XXXX
>
> This way the history could be discarded when apply.
>
>> ---
>> drivers/fpga/fpga-bridge.c | 8 ++++----
>> 1 file changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/drivers/fpga/fpga-bridge.c b/drivers/fpga/fpga-bridge.c
>> index a024be2b84e2..79c473b3c7c3 100644
>> --- a/drivers/fpga/fpga-bridge.c
>> +++ b/drivers/fpga/fpga-bridge.c
[...]
Thanks,
Marco
Powered by blists - more mailing lists