RE: [PATCH] mmc: core: Apply trim broken quirk to R1J57L

2021-01-27 Thread Wang, Xiaolei
-Original Message- From: Bough Chen Sent: Wednesday, January 27, 2021 3:36 PM To: Ulf Hansson ; Wang, Xiaolei ; Fabio Estevam Cc: Pali Rohár ; Lee Jones ; linux-...@vger.kernel.org; Linux Kernel Mailing List Subject: RE: [PATCH] mmc: core: Apply trim broken quirk to R1J57L

RE: [PATCH] mmc: core: Apply trim broken quirk to R1J57L

2021-01-21 Thread Wang, Xiaolei
-esdhc-imx.c Thanks Xiaolei -Original Message- From: Ulf Hansson Sent: Wednesday, January 20, 2021 9:41 PM To: Wang, Xiaolei Cc: Pali Rohár ; Lee Jones ; linux-...@vger.kernel.org; Linux Kernel Mailing List Subject: Re: [PATCH] mmc: core: Apply trim broken quirk to R1J57L [Please note

RE: [PATCH v3] regmap: debugfs: Fix a memory leak when calling regmap_attach_dev

2020-12-30 Thread Wang, Xiaolei
r check result in a memory leak? if (!map->debugfs_name) kfree(map->debugfs_name); This null pointer check is not in the memory leak Thanks xiaolei -Original Message- From: Markus Elfring Sent: Wednesday, December 30, 2020 8:02 PM To: Wang, Xiaolei ; kernel-janit...@vger.kernel.org

RE: [PATCH v3] regmap: debugfs: Fix a memory leak when calling regmap_attach_dev

2020-12-30 Thread Wang, Xiaolei
Message- From: Markus Elfring Sent: Wednesday, December 30, 2020 5:49 PM To: Wang, Xiaolei ; kernel-janit...@vger.kernel.org Cc: linux-kernel@vger.kernel.org; David Lechner ; Greg Kroah-Hartman ; Mark Brown ; Rafael J. Wysocki ; Julia Lawall Subject: Re: [PATCH v3] regmap: debugfs: Fix a me

RE: regmap: debugfs: fix a memory leak when calling regmap_attach_dev

2020-12-27 Thread Wang, Xiaolei
: Markus Elfring Sent: Sunday, December 27, 2020 9:40 PM To: Wang, Xiaolei ; kernel-janit...@vger.kernel.org Cc: linux-kernel@vger.kernel.org; Greg Kroah-Hartman ; Mark Brown ; Rafael J. Wysocki Subject: Re: regmap: debugfs: fix a memory leak when calling regmap_attach_dev > Do you mean so? &g

RE: [PATCH] regmap: debugfs: fix a memory leak when calling regmap_attach_dev

2020-12-27 Thread Wang, Xiaolei
} … > I propose to add another null pointer check together with corresponding > exception handling. Which one do you mean by "another null point"? Do you mean that if the call "regmap_debugfs_init" function is repeated, it returns directly? Regards, Xiaolei