Re: [PATCH 00/20] Manual replacement of all strlcpy in favor of strscpy

2021-02-23 Thread Romain Perier
Le lun. 22 févr. 2021 à 17:36, Shuah Khan a écrit : > > Cool. A quick check shows me 1031 strscpy() calls with no return > checks. All or some of these probably need to be reviewed and add > return checks. Is this something that is in the plan to address as > part of this work? > > thanks, > --

[PATCH 04/20] dma-buf: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 00/20] Manual replacement of all strlcpy in favor of strscpy

2021-02-22 Thread Romain Perier
in case of error). - Then all other cases are automatically replaced by using coccinelle. This series covers manual replacements. [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Romain Perier (20): cgroup: Manual replacement of the deprecated strlcpy() with return

Re: [PATCH v2 2/2] drm: dw-hdmi: gate audio clock from the I2S enablement callbacks

2017-04-24 Thread Romain Perier
Hello, Le 19/04/2017 à 06:51, Archit Taneja a écrit : > > > On 04/14/2017 02:01 PM, Romain Perier wrote: >> Currently, the audio sampler clock is enabled from dw_hdmi_setup() at >> step E. and is kept enabled for later use. This clock should be enabled >> and disabled

Re: [PATCH v2 2/2] drm: dw-hdmi: gate audio clock from the I2S enablement callbacks

2017-04-24 Thread Romain Perier
Hello, > Took the liberty of going ahead with the fixes. Queued both patches to > drm-misc-next. > > Thanks, > Archit You were right. Sorry for the delay, I am back from vacations :) Regards, Romain ___ dri-devel mailing list

[PATCH v2 2/2] drm: dw-hdmi: gate audio clock from the I2S enablement callbacks

2017-04-15 Thread Romain Perier
-off-by: Romain Perier <romain.per...@collabora.com> --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c index 5b328c0..a

[PATCH v2 0/2] drm: dw-hdmi: various improvements

2017-04-15 Thread Romain Perier
- Rebased onto drm-misc-next Romain Perier (2): drm: dw-hdmi: add specific I2S and AHB functions for stream handling drm: dw-hdmi: gate audio clock from the I2S enablement callbacks drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 46 +-- 1 file changed, 38 insertions

[PATCH v2 1/2] drm: dw-hdmi: add specific I2S and AHB functions for stream handling

2017-04-15 Thread Romain Perier
and dw_hdmi_audio_disable calls the corresponding callbacks Signed-off-by: Romain Perier <romain.per...@collabora.com> --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 26 -- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/synop

[PATCH] drm: dw-hdmi: Implement the mode_fixup drm helper

2017-04-07 Thread Romain Perier
checks that this mode is correct from the connector point of view Signed-off-by: Romain Perier <romain.per...@collabora.com> --- drivers/gpu/drm/bridge/dw-hdmi.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/gpu/drm/bridge/dw-hdmi.c b/drivers/gpu/drm/bri

[PATCH 1/2] drm: dw-hdmi: add specific I2S and AHB functions for stream handling

2017-04-07 Thread Romain Perier
and dw_hdmi_audio_disable calls the corresponding callbacks Signed-off-by: Romain Perier <romain.per...@collabora.com> --- drivers/gpu/drm/bridge/dw-hdmi.c | 31 +-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/dw-hd

[PATCH 2/2] drm: dw-hdmi: Gate audio clock from the I2S enablement callbacks

2017-04-07 Thread Romain Perier
-off-by: Romain Perier <romain.per...@collabora.com> --- drivers/gpu/drm/bridge/dw-hdmi.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/bridge/dw-hdmi.c b/drivers/gpu/drm/bridge/dw-hdmi.c index d34e0a5..3bd0807 100644 --- a/drivers/gpu/drm/

[PATCH 0/2] drm: dw-hdmi: various improvements

2017-04-07 Thread Romain Perier
is enabled and disabled. This patches series is the continuity of the following discussion: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-March/493550.html Romain Perier (2): drm: dw-hdmi: add specific I2S and AHB functions for stream handling drm: dw-hdmi: Gate audio clock from

Re: [PATCH 2/2] drm: dw-hdmi: Gate audio clock from the I2S enablement callbacks

2017-04-07 Thread Romain Perier
Hello, Le 07/04/2017 à 16:23, Neil Armstrong a écrit : > On 04/07/2017 04:19 PM, Romain Perier wrote: >> Currently, the audio sampler clock is enabled from dw_hdmi_setup() at >> step E. and is kept enabled for later use. This clock should be enabled >> and disabled along

Re: [PATCH] drm: dw_hdmi: Gate audio sampler clock from the enablement functions

2017-03-14 Thread Romain Perier
M Linux wrote: >>>> On Mon, Mar 13, 2017 at 10:27:08AM +0100, Neil Armstrong wrote: >>>>> On 03/10/2017 10:35 AM, Romain Perier wrote: >>>>>> Currently, the audio sampler clock is enabled from dw_hdmi_setup() at >>>>>> step E. a

Re: [PATCH] drm: dw_hdmi: Gate audio sampler clock from the enablement functions

2017-03-11 Thread Romain Perier
Hello, Le 10/03/2017 à 12:15, Russell King - ARM Linux a écrit : > On Fri, Mar 10, 2017 at 11:58:19AM +0100, Romain Perier wrote: >> Hello, >> >> Le 10/03/2017 à 11:27, Russell King - ARM Linux a écrit : >>> I also would not think that it'

Re: [PATCH] drm: dw_hdmi: Gate audio sampler clock from the enablement functions

2017-03-11 Thread Romain Perier
Hello, Le 10/03/2017 à 10:46, Russell King - ARM Linux a écrit : > On Fri, Mar 10, 2017 at 10:35:09AM +0100, Romain Perier wrote: >> Currently, the audio sampler clock is enabled from dw_hdmi_setup() at >> step E. and is kept enabled for later use. This clock should be enabled

[PATCH] drm: dw_hdmi: Gate audio sampler clock from the enablement functions

2017-03-11 Thread Romain Perier
() and dw_hdmi_audio_disable(). Signed-off-by: Romain Perier <romain.per...@collabora.com> --- drivers/gpu/drm/bridge/dw-hdmi.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/bridge/dw-hdmi.c b/drivers/gpu/drm/bridge/dw-hdmi.c index b621fc7..5

[PATCH v2] drm: dw_hdmi: Don't rely on the status of the bridge for updating HPD

2017-03-11 Thread Romain Perier
even if the PHY is partially disabled, information coming from HDMI Transmitter about HPD should be saved for a later use. Signed-off-by: Romain Perier <romain.per...@collabora.com> --- Changes in v2: - I have re-worded the commit message, as suggested by Russel drivers/gpu/drm/bridge/dw-hdmi

Re: [PATCH] drm: dw_hdmi: Gate audio sampler clock from the enablement functions

2017-03-11 Thread Romain Perier
Hello, Le 10/03/2017 à 11:27, Russell King - ARM Linux a écrit : > On Fri, Mar 10, 2017 at 11:21:53AM +0100, Romain Perier wrote: >> Hello, >> >> Le 10/03/2017 à 10:46, Russell King - ARM Linux a écrit : >>> On Fri, Mar 10, 2017 at 10:35:09AM +0100, Romain Perier wr

Re: [PATCH RESEND] drm: dw_hdmi: Don't rely on the status of the bridge for updating HPD

2017-03-09 Thread Romain Perier
Hello, Le 09/03/2017 à 15:28, Jose Abreu a écrit : > Hi Romain, > > > On 08-03-2017 08:15, Romain Perier wrote: >> Currently, the irq handler that monitores changes for HPD anx RX_SENSE >> relies on the status of the bridge for updating the status of the HPD. >>

[PATCH RESEND] drm: dw_hdmi: Don't rely on the status of the bridge for updating HPD

2017-03-08 Thread Romain Perier
even if the PHY is partially disabled, information coming from HDMI Transmitter about HPD should be saved for a later use. Signed-off-by: Romain Perier <romain.per...@collabora.com> --- Note: Due to an email configuration issue, some of my patches were not received on infradead.org or v

[PATCH] drm/rockchip: vop: Correct enabled clocks during setup

2015-09-30 Thread Romain Perier
found that it had something to do with the hclk clock. This patch fixes the issue. Everything works like a charm now. Tested-by: Romain Perier 2015-09-29 13:58 GMT+02:00 Sjoerd Simons : > On Tue, 2015-09-29 at 18:58 +0800, Yakir Yang wrote: >> >> On 09/29/2015 05:55 PM, Y

[PATCH v3 0/14] Add Analogix Core Display Port Driver

2015-08-30 Thread Romain Perier
Hi, Could you rebase your serie onto linux-next or 4.2-rc8 ? it does not apply here... Regards, Romain 2015-08-21 15:16 GMT+02:00 Thierry Reding : > On Fri, Aug 21, 2015 at 08:24:16PM +0900, Jingoo Han wrote: >> On 2015. 8. 21., at PM 7:01, Yakir Yang wrote: >> > >> > Hi Jingoo, >> > >> >> 在