[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z7NEGG3DKiMUEu83@bogus>
Date: Mon, 17 Feb 2025 14:13:44 +0000
From: Sudeep Holla <sudeep.holla@....com>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 06/18] firmware: arm_ffa: Refactor addition of
partition information into XArray
On Fri, Feb 14, 2025 at 10:20:30AM +0530, Viresh Kumar wrote:
> On 31-01-25, 11:24, Sudeep Holla wrote:
> > @@ -1461,39 +1480,18 @@ static int ffa_setup_partitions(void)
> > !(tpbuf->properties & FFA_PARTITION_AARCH64_EXEC))
> > ffa_mode_32bit_set(ffa_dev);
> >
> > - info = kzalloc(sizeof(*info), GFP_KERNEL);
> > - if (!info) {
> > + if (ffa_xa_add_partition_info(ffa_dev->vm_id)) {
> > ffa_device_unregister(ffa_dev);
> > continue;
> > }
> > - rwlock_init(&info->rw_lock);
> > - ret = xa_insert(&drv_info->partition_info, tpbuf->id,
> > - info, GFP_KERNEL);
> > - if (ret) {
> > - pr_err("%s: failed to save partition ID 0x%x - ret:%d\n",
> > - __func__, tpbuf->id, ret);
> > - ffa_device_unregister(ffa_dev);
> > - kfree(info);
> > - }
> > +
>
> Why extra blank line here ?
>
Spurious for sure, no idea how I managed that though. Dropped it now.
--
Regards,
Sudeep
Powered by blists - more mailing lists