mbox series

[v1,0/2] firmware: meson_sm: cleanup error paths inside probe()

Message ID 20231108125604.162383-1-EABachinin@salutedevices.com (mailing list archive)
Headers show
Series firmware: meson_sm: cleanup error paths inside probe() | expand

Message

Evgeny Bachinin Nov. 8, 2023, 12:56 p.m. UTC
At first, patches series refactors sysfs node creation to avoid extra code
paths. After that, the resource leak in probe error path is fixed.

Evgeny Bachinin (2):
  firmware: meson_sm: refactor serial sysfs entry via dev_groups attrs
  firmware: meson-sm: unmap out_base shmem in error path

 drivers/firmware/meson/meson_sm.c | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

Comments

Neil Armstrong Nov. 27, 2023, 8:02 a.m. UTC | #1
On 08/11/2023 13:56, Evgeny Bachinin wrote:
> At first, patches series refactors sysfs node creation to avoid extra code
> paths. After that, the resource leak in probe error path is fixed.
> 
> Evgeny Bachinin (2):
>    firmware: meson_sm: refactor serial sysfs entry via dev_groups attrs
>    firmware: meson-sm: unmap out_base shmem in error path
> 
>   drivers/firmware/meson/meson_sm.c | 19 ++++++++-----------
>   1 file changed, 8 insertions(+), 11 deletions(-)
> 

Acked-by: Neil Armstrong <neil.armstrong@linaro.org>
Neil Armstrong Nov. 27, 2023, 8:18 a.m. UTC | #2
Hi,

On Wed, 08 Nov 2023 15:56:02 +0300, Evgeny Bachinin wrote:
> At first, patches series refactors sysfs node creation to avoid extra code
> paths. After that, the resource leak in probe error path is fixed.
> 
> Evgeny Bachinin (2):
>   firmware: meson_sm: refactor serial sysfs entry via dev_groups attrs
>   firmware: meson-sm: unmap out_base shmem in error path
> 
> [...]

Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v6.8/drivers)

[1/2] firmware: meson_sm: refactor serial sysfs entry via dev_groups attrs
      https://git.kernel.org/amlogic/c/d397965e584e0f2c6193b927c1e7693d514a6738
[2/2] firmware: meson-sm: unmap out_base shmem in error path
      https://git.kernel.org/amlogic/c/d8385d7433f9c7d718448465e30d6b8c1207b59f

These changes has been applied on the intermediate git tree [1].

The v6.8/drivers branch will then be sent via a formal Pull Request to the Linux SoC maintainers
for inclusion in their intermediate git branches in order to be sent to Linus during
the next merge window, or sooner if it's a set of fixes.

In the cases of fixes, those will be merged in the current release candidate
kernel and as soon they appear on the Linux master branch they will be
backported to the previous Stable and Long-Stable kernels [2].

The intermediate git branches are merged daily in the linux-next tree [3],
people are encouraged testing these pre-release kernels and report issues on the
relevant mailing-lists.

If problems are discovered on those changes, please submit a signed-off-by revert
patch followed by a corrective changeset.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[3] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git