[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250214045030.mfegbypq27gdl6sg@vireshk-i7>
Date: Fri, 14 Feb 2025 10:20:30 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Sudeep Holla <sudeep.holla@....com>
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 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 ?
> }
--
viresh
Powered by blists - more mailing lists