In message: [linux-yocto]: [kernel v5.8/standard/bcm-2xxx-rpi]: drivers: staging: vc04_services: add vchiq instance member struct vchiq_mmal_instance on 02/09/2020 [email protected] wrote:
> From: Limeng <[email protected]> > > Hi Bruce, > > When initialize VCHI_INSTANCE_T instance, it is a local variable > in function vchiq_mmal_init(). In this way, there will be memory > leak if vchiq instance is initialized failed or uninstall vchiq > mmal driver. > Therefore, add a VCHI_INSTANCE_T member struct vchiq_mmal_instance > to save the vchiq instance, so that release vchiq instance if necessary. > > Could you please help to merge the patch into branch > v5.8/standard/bcm-2xxx-rpi, linux-ycoto kernel. merged to 5.8 (both in linux-yocto and linux-yocto-dev). Bruce > > Patches for v5.4 and v5.8 kernel are different, so I send 2 pull requests. > > diffstat info ad below: > > mmal-vchiq.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > > thanks, > Limeng
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9021): https://lists.yoctoproject.org/g/linux-yocto/message/9021 Mute This Topic: https://lists.yoctoproject.org/mt/76642858/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
