[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ftvih5huvc72a76s7fe4zisrqtaax5tcgoukqoi2bkz47zcrq2@4fixszonixgl>
Date: Thu, 7 Mar 2024 08:13:55 +0100
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
To: Thorsten Scherer <t.scherer@...elmann.de>
Cc: linux-kernel@...r.kernel.org,
Pengutronix Kernel Team <kernel@...gutronix.de>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH 2/4] siox: Provide a devm variant of siox_master_alloc()
Hello,
On Mon, Feb 19, 2024 at 08:46:30AM +0100, Uwe Kleine-König wrote:
> +struct siox_master *devm_siox_master_alloc(struct device *dev,
> + size_t size)
> +{
> + struct siox_master *smaster;
> + int ret;
> +
> + smaster = siox_master_alloc(dev, size);
> + if (!smaster)
> + return NULL;
> +
> + ret = devm_add_action_or_reset(dev, devm_siox_master_put, smaster);
> + if (ret)
> + return NULL;
> +
> + return smaster;
> +}
Here is missing an EXPORT_SYMBOL_GPL for devm_siox_master_alloc(). I
squashed this into to commit I created. Find the fixed commit at
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git siox/for-next
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists