Re: [PATCH] drm/mipi-dbi: Make mipi_dbi_command_stackbuf() data parameter const

2020-03-21 Thread Sam Ravnborg
On Fri, Mar 20, 2020 at 01:35:31PM +0100, Noralf Trønnes wrote: > > > Den 20.03.2020 13.28, skrev Sam Ravnborg: > > Hi Noralf. > > > > On Mon, Mar 16, 2020 at 05:42:49PM +0100, Geert Uytterhoeven wrote: > >> mipi_dbi_command_stackbuf() copies the passed buffer data, so it can be > >> const. > >>

Re: [PATCH] drm/mipi-dbi: Make mipi_dbi_command_stackbuf() data parameter const

2020-03-20 Thread Noralf Trønnes
Den 20.03.2020 13.28, skrev Sam Ravnborg: > Hi Noralf. > > On Mon, Mar 16, 2020 at 05:42:49PM +0100, Geert Uytterhoeven wrote: >> mipi_dbi_command_stackbuf() copies the passed buffer data, so it can be >> const. >> >> Signed-off-by: Geert Uytterhoeven > > OK to merge? > Looks good to me and bu

Re: [PATCH] drm/mipi-dbi: Make mipi_dbi_command_stackbuf() data parameter const

2020-03-20 Thread Sam Ravnborg
Hi Noralf. On Mon, Mar 16, 2020 at 05:42:49PM +0100, Geert Uytterhoeven wrote: > mipi_dbi_command_stackbuf() copies the passed buffer data, so it can be > const. > > Signed-off-by: Geert Uytterhoeven OK to merge? Looks good to me and build did not break. Sam > --- > drivers/gpu/drm/d

[PATCH] drm/mipi-dbi: Make mipi_dbi_command_stackbuf() data parameter const

2020-03-16 Thread Geert Uytterhoeven
mipi_dbi_command_stackbuf() copies the passed buffer data, so it can be const. Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/drm_mipi_dbi.c | 3 ++- include/drm/drm_mipi_dbi.h | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_mipi_dbi.c b/d