Re: [PATCH][RESEND 2] component: enhance handling of devres group for master

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 25, 2018 at 11:06:28PM -0700, bgoswami@xxxxxxxxxxxxxx wrote:
> From: Banajit Goswami <bgoswami@xxxxxxxxxxxxxx>
> 
> The devres group opened for a master is left open-ended (without
> devres_group_close) even after bind() is complete. Similarly, while
> releasing the devres resources for master, the most recently opened
> devres group is selected, and released without identifying the
> targeted group. As the devres group opened before master bind was
> never closed, there may have unintended consequences of releasing
> devres resources that were allocated after master bind() function
> was complete.

... as intended, because this layers on top of the driver model.
You are aware that the driver model leaves its implicit group open
as well?

I think you need to explain why you need this - what is the problem
scenario that you are encountering.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 13.8Mbps down 630kbps up
According to speedtest.net: 13Mbps down 490kbps up
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux