Re: [linux-sunxi] [PATCH 4/4] media: cedrus: hevc: Add support for multiple slices

2019-10-27 Thread Jernej Škrabec
Dne sobota, 26. oktober 2019 ob 19:47:03 CET je Jernej Skrabec napisal(a): > Now that segment address is available, support for multi-slice frames > can be easily added. > > Signed-off-by: Jernej Skrabec > --- > .../staging/media/sunxi/cedrus/cedrus_h265.c | 21 +++ >

[PATCH 4/4] staging: rtl8188eu: replace tabs with spaces - style

2019-10-27 Thread Michael Straube
Replace tabs with spaces where appropriate to cleanup whitespace. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_sta_mgt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c

[PATCH 3/4] staging: rtl8188eu: remove return variable from rtw_init_bcmc_stainfo

2019-10-27 Thread Michael Straube
Remove variable res, that is used to store the return value, from rtw_init_bcmc_stainfo. Instead return _FAIL or _SUCCESS directly and remove the now unneeded exit label. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_sta_mgt.c | 7 ++- 1 file changed, 2

[PATCH 2/4] staging: rtl8188eu: reduce indentation level in _rtw_free_sta_priv

2019-10-27 Thread Michael Straube
Reduce indentation level in _rtw_free_sta_priv by returning early if pstapriv is NULL. Also clears a line over 80 characters checkpatch warning. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_sta_mgt.c | 43 ++-- 1 file changed, 21 insertions(+), 22

[PATCH 1/4] staging: rtl8188eu: remove exit label from rtw_alloc_stainfo

2019-10-27 Thread Michael Straube
Remove exit label from rtw_alloc_stainfo and simply return NULL instead of goto exit. Suggested-by: Joe Perches Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_sta_mgt.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git