[PATCH] staging: gasket: Convert get_user_pages*() --> pin_user_pages*()

2020-05-31 Thread Souptick Joarder
In 2019, we introduced pin_user_pages*() and now we are converting get_user_pages*() to the new API as appropriate. [1] & [2] could be referred for more information. [1] Documentation/core-api/pin_user_pages.rst [2] "Explicit pinning of user-space pages": https://lwn.net/Articles/807108/

[PATCH 2/2] media: atomisp comment an unused code

2020-05-31 Thread Mauro Carvalho Chehab
There's a different table for some BYT variants that depend on something inside a FIXME ifdef. Place this also inside it, just to shut up a clang-11 warning. Reported-by: kbuild test robot Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 8

[PATCH 1/2] media: atomisp: get rid of a left-over wrapper function

2020-05-31 Thread Mauro Carvalho Chehab
The abstraction layer for kvfree() was removed, but there is still a left-over code there. Reported-by: kbuild test robot Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/media/atomisp/pci/sh_css.c | 8 1 file changed, 8 deletions(-) diff --git

Re: [PATCH] staging: gasket: Convert get_user_pages*() --> pin_user_pages*()

2020-05-31 Thread Dan Carpenter
On Sun, May 31, 2020 at 12:53:11PM +0530, Souptick Joarder wrote: > In 2019, we introduced pin_user_pages*() and now we are converting > get_user_pages*() to the new API as appropriate. [1] & [2] could > be referred for more information. > > [1] Documentation/core-api/pin_user_pages.rst > > [2]

[PATCH] staging:rtl8712: avoid skb_clone after skb allocation fail

2020-05-31 Thread Ivan Safonov
The skb allocated when out of memory is likely to be discarded during subsequent processing. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8712/rtl8712_recv.c | 29 ++ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git

[PATCH v2] staging:r8723bs: remove wrappers around skb_clone() and remove unnecessary in_interrupt() call

2020-05-31 Thread Ivan Safonov
Wrappers around skb_clone() do not simplify the driver code. The skb_clone() is always called from an interrupt handler, so use GFP_ATOMIC allocation only. Signed-off-by: Ivan Safonov --- Changes in v2: - in_interrupt() removal has been described.

Re: [PATCH] staging:r8723bs: remove wrappers around skb_clone()

2020-05-31 Thread Ivan Safonov
On 5/31/20 8:36 PM, Joe Perches wrote: On Sun, 2020-05-31 at 20:28 +0300, Ivan Safonov wrote: On 5/31/20 7:15 PM, Joe Perches wrote: On Sun, 2020-05-31 at 19:08 +0300, Ivan Safonov wrote: Wrappers around skb_clone() do not simplify the driver code. [] -inline struct sk_buff

[PATCH] staging: kpc2000: kpc_dma: Convert get_user_pages() --> pin_user_pages()

2020-05-31 Thread Souptick Joarder
In 2019, we introduced pin_user_pages*() and now we are converting get_user_pages*() to the new API as appropriate. [1] & [2] could be referred for more information. When pin_user_pages() returns numbers of partially mapped pages, those pages were not unpinned as part of error handling. Fixed it

Re: [PATCH] staging: fbtft: fb_st7789v: make HSD20_IPS numeric and not a string

2020-05-31 Thread Sam Ravnborg
Hi Colin/Greg. On Thu, May 21, 2020 at 02:50:38PM +0100, Colin King wrote: > From: Colin Ian King > > Currently HSD20_IPS is defined as "true" and will always result in a > non-zero result even if it is defined as "false" because it is an array > and that will never be zero. Fix this by

Re: [PATCH] staging:r8723bs: remove wrappers around skb_clone()

2020-05-31 Thread Joe Perches
On Sun, 2020-05-31 at 20:28 +0300, Ivan Safonov wrote: > On 5/31/20 7:15 PM, Joe Perches wrote: > > On Sun, 2020-05-31 at 19:08 +0300, Ivan Safonov wrote: > > > Wrappers around skb_clone() do not simplify the driver code. > > [] > > > -inline struct sk_buff *_rtw_skb_clone(struct sk_buff *skb) > >

[PATCH] staging:r8723bs: remove wrappers around skb_clone()

2020-05-31 Thread Ivan Safonov
Wrappers around skb_clone() do not simplify the driver code. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8723bs/include/osdep_service.h | 3 --- drivers/staging/rtl8723bs/os_dep/osdep_service.c | 5 - drivers/staging/rtl8723bs/os_dep/recv_linux.c | 2 +- 3 files changed, 1

Re: [PATCH] staging:r8723bs: remove wrappers around skb_clone()

2020-05-31 Thread Joe Perches
On Sun, 2020-05-31 at 19:08 +0300, Ivan Safonov wrote: > Wrappers around skb_clone() do not simplify the driver code. [] > -inline struct sk_buff *_rtw_skb_clone(struct sk_buff *skb) > -{ > - return skb_clone(skb, in_interrupt() ? GFP_ATOMIC : GFP_KERNEL); > -} > - [] > diff --git

Re: [PATCH] staging:r8723bs: remove wrappers around skb_clone()

2020-05-31 Thread Ivan Safonov
On 5/31/20 7:15 PM, Joe Perches wrote: On Sun, 2020-05-31 at 19:08 +0300, Ivan Safonov wrote: Wrappers around skb_clone() do not simplify the driver code. [] -inline struct sk_buff *_rtw_skb_clone(struct sk_buff *skb) -{ - return skb_clone(skb, in_interrupt() ? GFP_ATOMIC : GFP_KERNEL);

[PATCH] staging: gasket: replace symbolic permissions

2020-05-31 Thread Rodolfo C. Villordo
WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using octal permissions '0444'. + .attr = __ATTR(_name, S_IRUGO, _show_function, NULL), \ warning detected by checkpatch.pl Signed-off-by: Rodolfo C. Villordo --- drivers/staging/gasket/gasket_sysfs.h |

Re: [PATCH] staging: kpc2000: kpc_dma: Convert get_user_pages() --> pin_user_pages()

2020-05-31 Thread John Hubbard
On 2020-05-31 10:51, Souptick Joarder wrote: In 2019, we introduced pin_user_pages*() and now we are converting get_user_pages*() to the new API as appropriate. [1] & [2] could be referred for more information. When pin_user_pages() returns numbers of partially mapped pages, those pages were

[driver-core:debugfs_cleanup] BUILD SUCCESS ffba49a91bd0f50ced6bde4746301519880289b5

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup branch HEAD: ffba49a91bd0f50ced6bde4746301519880289b5 debugfs: remove return value of debugfs_create_devm_seqfile() elapsed time: 5360m configs tested: 79 configs skipped: 1 The following

[staging:staging-testing] BUILD SUCCESS 77f55d1305c11fb729b88f2c3f7881ba0831fa6f

2020-05-31 Thread kbuild test robot
randconfig-a006-20200529 i386 randconfig-a003-20200529 i386 randconfig-a005-20200529 i386 randconfig-a004-20200531 i386 randconfig-a003-20200531 i386 randconfig-a006-20200531 i386 randconfig-a002-20200531

Re: [PATCH v11 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver

2020-05-31 Thread Hsin-Yi Wang
On Fri, May 15, 2020 at 2:53 PM Xin Ji wrote: > + > +static int anx7625_bridge_attach(struct drm_bridge *bridge) Latest drm_bridge api: int (*attach)(struct drm_bridge *bridge, enum drm_bridge_attach_flags flags);

Cursos Bonificables JUNIO 2020 (Empleados activos y en ERTE)

2020-05-31 Thread foesco14
Cursos Bonificables JUNIO 2020 (Empleados activos y en ERTE) Buenos días Se encuentra abierto el plazo de inscripción de Cursos Bonificables para empleados en activo y en situación de ERTE (JUNIO 2020) Todos los cursos son totalmente Bonificables con cargo al Crédito de Formación 2020 que

[driver-core:readfile] BUILD SUCCESS fcc5337507797b60284d349f00dda426aa053f1f

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git readfile branch HEAD: fcc5337507797b60284d349f00dda426aa053f1f selftests: add readfile(2) selftests elapsed time: 3734m configs tested: 142 configs skipped: 7 The following configs have been built

Re: [PATCH] staging: qlge: qlge_main.c: fixed spaces coding style issues

2020-05-31 Thread Benjamin Poirier
On 2020-05-29 17:17 +0200, Jil Rouceau wrote: > Fixed the missing spaces before and after binary operators. > > Signed-off-by: Jil Rouceau This patch does not apply cleanly. I think your base tree is missing commit ec269f1250c6 ("staging: qlge: Remove unnecessary spaces in qlge_main.c").