Re: [PATCH v3 11/41] media/v4l2-core/mm: convert put_page() to put_user_page*()

2019-08-07 Thread Sakari Ailus
On Tue, Aug 06, 2019 at 06:33:10PM -0700, john.hubb...@gmail.com wrote: > From: John Hubbard > > For pages that were retained via get_user_pages*(), release those pages > via the new put_user_page*() routines, instead of via put_page() or > release_pages(). > > This is part a tree-wide conversio

Re: [PATCH v3 11/41] media/v4l2-core/mm: convert put_page() to put_user_page*()

2019-08-07 Thread Hans Verkuil
On 8/7/19 3:33 AM, john.hubb...@gmail.com wrote: > From: John Hubbard > > For pages that were retained via get_user_pages*(), release those pages > via the new put_user_page*() routines, instead of via put_page() or > release_pages(). > > This is part a tree-wide conversion, as described in comm

Re: [PATCH 00/34] put_user_pages(): miscellaneous call sites

2019-08-07 Thread Jan Kara
On Fri 02-08-19 12:14:09, John Hubbard wrote: > On 8/2/19 7:52 AM, Jan Kara wrote: > > On Fri 02-08-19 07:24:43, Matthew Wilcox wrote: > > > On Fri, Aug 02, 2019 at 02:41:46PM +0200, Jan Kara wrote: > > > > On Fri 02-08-19 11:12:44, Michal Hocko wrote: > > > > > On Thu 01-08-19 19:19:31, john.hubb.

Re: [PATCH 00/34] put_user_pages(): miscellaneous call sites

2019-08-07 Thread Michal Hocko
On Wed 07-08-19 10:37:26, Jan Kara wrote: > On Fri 02-08-19 12:14:09, John Hubbard wrote: > > On 8/2/19 7:52 AM, Jan Kara wrote: > > > On Fri 02-08-19 07:24:43, Matthew Wilcox wrote: > > > > On Fri, Aug 02, 2019 at 02:41:46PM +0200, Jan Kara wrote: > > > > > On Fri 02-08-19 11:12:44, Michal Hocko w

Re: [PATCH v3 10/41] media/ivtv: convert put_page() to put_user_page*()

2019-08-07 Thread Hans Verkuil
On 8/7/19 3:33 AM, john.hubb...@gmail.com wrote: > From: John Hubbard > > For pages that were retained via get_user_pages*(), release those pages > via the new put_user_page*() routines, instead of via put_page() or > release_pages(). > > This is part a tree-wide conversion, as described in comm

Re: [PATCH v2 1/2] binder: Add default binder devices through binderfs when configured

2019-08-07 Thread Dan Carpenter
On Tue, Aug 06, 2019 at 11:40:05AM -0700, Hridya Valsaraju wrote: > @@ -467,6 +466,9 @@ static int binderfs_fill_super(struct super_block *sb, > void *data, int silent) > int ret; > struct binderfs_info *info; > struct inode *inode = NULL; > + struct binderfs_device device_in

Re: [PATCH 3/6] staging: wilc1000: remove unused members

2019-08-07 Thread Dan Carpenter
On Tue, Aug 06, 2019 at 07:32:08PM +, adham.aboza...@microchip.com wrote: > Hi Dan > > On 8/6/19 5:46 AM, Dan Carpenter wrote: > > External E-Mail > > > > > > On Thu, Jul 25, 2019 at 09:31:34PM +, adham.aboza...@microchip.com > > wrote: > >> From: Adham Abozaeid > >> > >> remove obtainin

Re: [PATCH] staging: isdn: hysdn_procconf_init() remove parantheses from return value

2019-08-07 Thread Dan Carpenter
This driver is going to be deleted soon so we aren't accepting cleanups. Thanks! regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH v2 1/4] iio: adc: ad7606: Add support for AD7606B ADC

2019-08-07 Thread Beniamin Bia
From: Stefan Popa The AD7606B is a 16-bit ADC that supports simultaneous sampling of 8 channels. It is pin compatible to AD7606, but adds extra modes by writing to the register map. The AD7606B can be configured to work in software mode by setting all oversampling pins to high. This mode is sele

[PATCH v2 3/4] dt-bindings: iio: adc: Migrate AD7606 documentation to yaml

2019-08-07 Thread Beniamin Bia
The documentation for ad7606 was migrated to yaml. Signed-off-by: Beniamin Bia --- Changes in v2: -old txt file was deleted .../bindings/iio/adc/adi,ad7606.txt | 66 - .../bindings/iio/adc/adi,ad7606.yaml | 134 ++ MAINTAINERS

[PATCH v2 2/4] MAINTAINERS: Add Beniamin Bia for AD7606 driver

2019-08-07 Thread Beniamin Bia
Add Beniamin Bia as maintainer for AD7606 driver. Signed-off-by: Beniamin Bia --- Changes in v2: -nothing changed MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index ad498428b38c..052d7a8591fb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -895,6 +895,

[PATCH v2 4/4] dt-bindings: iio: adc: Add AD7606B ADC documentation

2019-08-07 Thread Beniamin Bia
Documentation for AD7606B Analog to Digital Converter and software mode was added. Signed-off-by: Beniamin Bia --- Changes in v2: -nothing changed Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devic

Re: [PATCH v2 1/2] binder: Add default binder devices through binderfs when configured

2019-08-07 Thread Christian Brauner
On Wed, Aug 07, 2019 at 02:02:05PM +0300, Dan Carpenter wrote: > On Tue, Aug 06, 2019 at 11:40:05AM -0700, Hridya Valsaraju wrote: > > @@ -467,6 +466,9 @@ static int binderfs_fill_super(struct super_block *sb, > > void *data, int silent) > > int ret; > > struct binderfs_info *info; > >

Why is this WiFi booster so popular across the World?

2019-08-07 Thread Gregory
Internet providers make big money by overcharging you for faster internet lines. Could this little device really be the one solution that we've all been waiting for? Frequency: 2.4Ghz Wireless Rate: 300Mbps Interface: 1 10/100Mbps WAN/LAN RJ45 Ports Amazing new technology find out here! http://

This Selfie trend is going viral worldwide...

2019-08-07 Thread Kenneth Cook
This Selfie Drone Is Putting Drone Companies Out Of Business. The Idea Is Genius! Check it out here: http://bit.ly/2YvKF1t ——- If you'd prefer not to receive future emails, Unsubscribe Here http://bit.ly/itr4fgy 11041 Santa Monica Blvd. #301 Los Angeles, CA 90025 ___

High-Speed WiFi Booster Takes the World By Storm

2019-08-07 Thread Margaret Nelson
Internet providers make big money by overcharging you for faster internet lines. Could this little device really be the one solution that we've all been waiting for? Frequency: 2.4Ghz Wireless Rate: 300Mbps Interface: 1 10/100Mbps WAN/LAN RJ45 Ports Amazing new technology find out here! http://

Re: [PATCH 00/34] put_user_pages(): miscellaneous call sites

2019-08-07 Thread Ira Weiny
On Wed, Aug 07, 2019 at 10:46:49AM +0200, Michal Hocko wrote: > On Wed 07-08-19 10:37:26, Jan Kara wrote: > > On Fri 02-08-19 12:14:09, John Hubbard wrote: > > > On 8/2/19 7:52 AM, Jan Kara wrote: > > > > On Fri 02-08-19 07:24:43, Matthew Wilcox wrote: > > > > > On Fri, Aug 02, 2019 at 02:41:46PM +

Best tech gadget you'll want in 2019

2019-08-07 Thread Harold Schneider
This Selfie Drone Is Putting Drone Companies Out Of Business. The Idea Is Genius! Check it out here: http://bit.ly/2YvKF1t ——- If you'd prefer not to receive future emails, Unsubscribe Here http://bit.ly/itr4fgy 11041 Santa Monica Blvd. #301 Los Angeles, CA 90025 ___

Re: [PATCH 00/34] put_user_pages(): miscellaneous call sites

2019-08-07 Thread John Hubbard
On 8/7/19 7:36 PM, Ira Weiny wrote: On Wed, Aug 07, 2019 at 10:46:49AM +0200, Michal Hocko wrote: On Wed 07-08-19 10:37:26, Jan Kara wrote: On Fri 02-08-19 12:14:09, John Hubbard wrote: On 8/2/19 7:52 AM, Jan Kara wrote: On Fri 02-08-19 07:24:43, Matthew Wilcox wrote: On Fri, Aug 02, 2019 at

Slow internet? Don't miss out on this WiFi booster

2019-08-07 Thread Thelma Jennings
Internet providers make big money by overcharging you for faster internet lines. Could this little device really be the one solution that we've all been waiting for? Frequency: 2.4Ghz Wireless Rate: 300Mbps Interface: 1 10/100Mbps WAN/LAN RJ45 Ports Amazing new technology find out here! http://

Why is this WiFi booster so popular across the World?

2019-08-07 Thread Justin
Internet providers make big money by overcharging you for faster internet lines. Could this little device really be the one solution that we've all been waiting for? Frequency: 2.4Ghz Wireless Rate: 300Mbps Interface: 1 10/100Mbps WAN/LAN RJ45 Ports Amazing new technology find out here! http://

Re: [PATCH v3 38/41] powerpc: convert put_page() to put_user_page*()

2019-08-07 Thread Michael Ellerman
Hi John, john.hubb...@gmail.com writes: > diff --git a/arch/powerpc/mm/book3s64/iommu_api.c > b/arch/powerpc/mm/book3s64/iommu_api.c > index b056cae3388b..e126193ba295 100644 > --- a/arch/powerpc/mm/book3s64/iommu_api.c > +++ b/arch/powerpc/mm/book3s64/iommu_api.c > @@ -203,6 +202,7 @@ static voi

This Selfie trend is going viral worldwide...

2019-08-07 Thread Ellen
This Selfie Drone Is Putting Drone Companies Out Of Business. The Idea Is Genius! Check it out here: http://bit.ly/2YvKF1t ——- If you'd prefer not to receive future emails, Unsubscribe Here http://bit.ly/itr4fgy 11041 Santa Monica Blvd. #301 Los Angeles, CA 90025 ___

[PATCH 04/10] staging: rtl8712: r8712_recv_entry(): Change return type

2019-08-07 Thread Nishka Dasgupta
Change return type of r8712_recv_entry from s32 to void as its return value is never used. Modify or remove return statements accordingly. Signed-off-by: Nishka Dasgupta --- drivers/staging/rtl8712/recv_osdep.h | 2 +- drivers/staging/rtl8712/rtl871x_recv.c | 5 ++--- 2 files changed, 3 insert

[PATCH 07/10] staging: rtl8712: init_drv_sw(): Change return values

2019-08-07 Thread Nishka Dasgupta
Change return values of init_drv_sw from _SUCCESS and _FAIL to 0 and -ENOMEM. Change return type from u8 to int to allow this. Add a return variable to streamline return of error codes of called functions. Modify call site to check for non-zero return value instead of _FAIL. Signed-off-by: Nishka

[PATCH 02/10] staging: rtl8712: recv_indicatepkt_reorder(): Change return values

2019-08-07 Thread Nishka Dasgupta
Change return values of recv_indicatepkt_reorder from _SUCCESS/_FAIL to 0/-ENOMEM and -EINVAL. Within recv_indicatepkt_reorder, modify comparison to true and use the respective value directly. Modify call site of recv_indicatepkt_reorder to check for the new return values. Signed-off-by: Nishka Da

[PATCH 09/10] staging: rtl8712: Remove while loop and check_cmd_fifo()

2019-08-07 Thread Nishka Dasgupta
Remove while loop as it only runs while the function check_cmd_fifo returns _FAIL, whereas check_cmd_fifo always returns _SUCCESS (and hence this loop will never run). Remove now unused function check_cmd_fifo. Signed-off-by: Nishka Dasgupta --- drivers/staging/rtl8712/rtl8712_cmd.c | 12 ---

[PATCH 08/10] staging: rtl8712: r8712_free_drv_sw(): Change return type

2019-08-07 Thread Nishka Dasgupta
Change return type of r8712_free_drv_sw from u8 to void and remove its return statement as it always returns the same value (_SUCCESS) and even this value is never stored, checked or otherwise used. Signed-off-by: Nishka Dasgupta --- drivers/staging/rtl8712/os_intfs.c | 3 +-- drivers/staging/

[PATCH 03/10] staging: rtl8712: r8712_wlanhdr_to_ethhdr(): Change return values

2019-08-07 Thread Nishka Dasgupta
Change return values of r8712_wlanhdr_to_ethhdr from _SUCCESS/_FAIL to 0/-ENOMEM. Modify the function containing a call site of r8712_wlanhdr_to_ethhdr so that it compares the return value to 0/-ENOMEM instead of _SUCCESS/_FAIL. Change the return type of r8712_wlanhdr_to_ethhdr from sint to int to

[PATCH 05/10] staging: rtl8712: recvbuf2recvframe(): Change return type

2019-08-07 Thread Nishka Dasgupta
Change return type of recvbuf2recvframe from int to void as its return value is never used. Modify or remove return statements accordingly. Signed-off-by: Nishka Dasgupta --- drivers/staging/rtl8712/rtl8712_recv.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/d

[PATCH 10/10] staging: rtl8712: r8712_xmit_classifier(): Change return values and type

2019-08-07 Thread Nishka Dasgupta
Change return values of r8712_xmit_classifier from _SUCCESS and _FAIL to 0 and -EINVAL respectively. Modify call site to check for non-zero return values instead of _FAIL. Change return type from sint to int. Signed-off-by: Nishka Dasgupta --- drivers/staging/rtl8712/rtl8712_xmit.c | 2 +- drive

[PATCH 06/10] staging: rtl8712: init_default_value(): Change return type

2019-08-07 Thread Nishka Dasgupta
Change return type of init_default_value from u8 to void as it always returns _SUCCESS. Remove now-unnecessary return statement. Modify call site to simply call the function. Signed-off-by: Nishka Dasgupta --- drivers/staging/rtl8712/os_intfs.c | 6 ++ 1 file changed, 2 insertions(+), 4 dele

[PATCH 01/10] staging: rtl8712: amsdu_to_msdu(): Change return type

2019-08-07 Thread Nishka Dasgupta
Change return type of amsdu_to_msdu from int to void as it always returns _SUCCESS. Remove return statement as well. As this return value was never anything other than _SUCCESS, remove the if-branch that depends on the return value not being _SUCCESS. Remove local variable that was only used in the