[PATCH] selftests: add binderfs selftests

2019-01-16 Thread Christian Brauner
This adds the promised selftest for binderfs. It will verify the following things: - binderfs mounting works - binder device allocation works - performing a binder ioctl() request through a binderfs device works - binder device removal works - binder-control removal fails - binderfs unmounting

Re: [PATCH] staging: rtl8723bs: Fix build error with Clang when inlining is disabled

2019-01-16 Thread Nathan Chancellor
On Wed, Jan 16, 2019 at 09:46:58AM +0100, Greg Kroah-Hartman wrote: > On Tue, Jan 15, 2019 at 11:53:40PM -0700, Nathan Chancellor wrote: > > On Wed, Jan 16, 2019 at 07:42:02AM +0100, Greg Kroah-Hartman wrote: > > > On Tue, Jan 15, 2019 at 11:03:02PM -0700, Nathan Chancellor wrote: > > > > When

[PATCH v2] staging: rtl8723bs: Fix build error with Clang when inlining is disabled

2019-01-16 Thread Nathan Chancellor
When CONFIG_NO_AUTO_INLINE was present in linux-next (which added '-fno-inline-functions' to KBUILD_CFLAGS), an allyesconfig build with Clang failed at the modpost stage: ERROR: "is_broadcast_mac_addr" [drivers/staging/rtl8723bs/r8723bs.ko] undefined! ERROR: "is_zero_mac_addr"

[PATCH v2 3/5] staging: erofs: move shrink accounting inside the function

2019-01-16 Thread Gao Xiang
This patch moves the _global_shrink_cnt accounting from the caller to erofs_workgroup_get(). It's cleaner and it matches erofs_workgroup_put() better. No behavior change. Reviewed-by: Chao Yu Reviewed-by: Dan Carpenter Signed-off-by: Gao Xiang --- change log v2: - fix commit message as Dan

Re: [PATCH 3/5] staging: erofs: decrease the shrink count in erofs_workgroup_get

2019-01-16 Thread Gao Xiang
Hi Dan, On 2019/1/16 18:45, Dan Carpenter wrote: > On Wed, Jan 16, 2019 at 04:59:54PM +0800, Gao Xiang wrote: >> It is more suitable to update in erofs_workgroup_get since >> it's actually the one matched with erofs_workgroup_put. >> > > This patch is fine. No need to resend. > > Reviewed-by:

Re: [PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap

2019-01-16 Thread Brian Starkey
Hi :-) On Tue, Jan 15, 2019 at 12:40:16PM -0600, Andrew F. Davis wrote: > On 1/15/19 12:38 PM, Andrew F. Davis wrote: > > On 1/15/19 11:45 AM, Liam Mark wrote: > >> On Tue, 15 Jan 2019, Andrew F. Davis wrote: > >> > >>> On 1/14/19 11:13 AM, Liam Mark wrote: > On Fri, 11 Jan 2019, Andrew F.

Re: [PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap

2019-01-16 Thread Andrew F. Davis
On 1/16/19 9:19 AM, Brian Starkey wrote: > Hi :-) > > On Tue, Jan 15, 2019 at 12:40:16PM -0600, Andrew F. Davis wrote: >> On 1/15/19 12:38 PM, Andrew F. Davis wrote: >>> On 1/15/19 11:45 AM, Liam Mark wrote: On Tue, 15 Jan 2019, Andrew F. Davis wrote: > On 1/14/19 11:13 AM, Liam

Re: [PATCH 11/14] staging: android: ion: Allow heap name to be null

2019-01-16 Thread Brian Starkey
Hi Andrew, On Fri, Jan 11, 2019 at 12:05:20PM -0600, Andrew F. Davis wrote: > The heap name can be used for debugging but otherwise does not seem > to be required and no other part of the code will fail if left NULL > except here. We can make it required and check for it at some point, > for now

Re: [PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap

2019-01-16 Thread Andrew F. Davis
On 1/15/19 1:05 PM, Laura Abbott wrote: > On 1/15/19 10:38 AM, Andrew F. Davis wrote: >> On 1/15/19 11:45 AM, Liam Mark wrote: >>> On Tue, 15 Jan 2019, Andrew F. Davis wrote: >>> On 1/14/19 11:13 AM, Liam Mark wrote: > On Fri, 11 Jan 2019, Andrew F. Davis wrote: > >> Buffers may

Re: [PATCH] selftests: add binderfs selftests

2019-01-16 Thread Greg KH
On Wed, Jan 16, 2019 at 06:21:12PM +0200, Christian Brauner wrote: > On January 16, 2019 5:54:50 PM GMT+02:00, Greg KH > wrote: > >On Wed, Jan 16, 2019 at 02:19:03PM +0100, Christian Brauner wrote: > >> This adds the promised selftest for binderfs. It will verify the > >following > >> things: >

Re: [PATCH 14/14] staging: android: ion: Add UNMAPPED heap type and helper

2019-01-16 Thread Andrew F. Davis
On 1/15/19 1:11 PM, Laura Abbott wrote: > On 1/15/19 10:43 AM, Laura Abbott wrote: >> On 1/15/19 7:58 AM, Andrew F. Davis wrote: >>> On 1/14/19 8:32 PM, Laura Abbott wrote: On 1/11/19 10:05 AM, Andrew F. Davis wrote: > The "unmapped" heap is very similar to the carveout heap except >

Re: [PATCH] selftests: add binderfs selftests

2019-01-16 Thread Christian Brauner
On January 16, 2019 5:54:50 PM GMT+02:00, Greg KH wrote: >On Wed, Jan 16, 2019 at 02:19:03PM +0100, Christian Brauner wrote: >> This adds the promised selftest for binderfs. It will verify the >following >> things: >> - binderfs mounting works >> - binder device allocation works >> - performing

Re: [PATCH v2] Staging: fbtft: Switch to the gpio descriptor interface

2019-01-16 Thread Nishad Kamdar
On Tue, Jan 15, 2019 at 04:02:31PM +0100, Greg Kroah-Hartman wrote: > On Tue, Jan 15, 2019 at 10:17:09AM +0530, Nishad Kamdar wrote: > > This switches the fbtft driver to use GPIO descriptors > > rather than numerical gpios: > > > > Utilize the GPIO library's intrinsic handling of OF GPIOs > >

Re: [PATCH 00/14] Misc ION cleanups and adding unmapped heap

2019-01-16 Thread Andrew F. Davis
On 1/15/19 12:58 PM, Laura Abbott wrote: > On 1/15/19 9:47 AM, Andrew F. Davis wrote: >> On 1/14/19 8:39 PM, Laura Abbott wrote: >>> On 1/11/19 10:05 AM, Andrew F. Davis wrote: Hello all, This is a set of (hopefully) non-controversial cleanups for the ION framework and current

Re: [PATCH] staging: rtl8723bs: Fix build error with Clang when inlining is disabled

2019-01-16 Thread Greg Kroah-Hartman
On Wed, Jan 16, 2019 at 06:19:37AM -0700, Nathan Chancellor wrote: > On Wed, Jan 16, 2019 at 09:46:58AM +0100, Greg Kroah-Hartman wrote: > > On Tue, Jan 15, 2019 at 11:53:40PM -0700, Nathan Chancellor wrote: > > > On Wed, Jan 16, 2019 at 07:42:02AM +0100, Greg Kroah-Hartman wrote: > > > > On Tue,

Re: [PATCH] selftests: add binderfs selftests

2019-01-16 Thread Christian Brauner
On January 16, 2019 6:42:20 PM GMT+02:00, Greg KH wrote: >On Wed, Jan 16, 2019 at 06:21:12PM +0200, Christian Brauner wrote: >> On January 16, 2019 5:54:50 PM GMT+02:00, Greg KH > wrote: >> >On Wed, Jan 16, 2019 at 02:19:03PM +0100, Christian Brauner wrote: >> >> This adds the promised selftest

Re: [PATCH 11/14] staging: android: ion: Allow heap name to be null

2019-01-16 Thread Andrew F. Davis
On 1/16/19 9:28 AM, Brian Starkey wrote: > Hi Andrew, > > On Fri, Jan 11, 2019 at 12:05:20PM -0600, Andrew F. Davis wrote: >> The heap name can be used for debugging but otherwise does not seem >> to be required and no other part of the code will fail if left NULL >> except here. We can make it

[PATCH v3] Staging: fbtft: Switch to the gpio descriptor interface

2019-01-16 Thread Nishad Kamdar
This switches the fbtft driver to use GPIO descriptors rather than numerical gpios: Utilize the GPIO library's intrinsic handling of OF GPIOs and polarity. If the line is flagged active low, gpiolib will deal with this. Remove gpios from platform device structure. Neither assign statically

Re: [PATCH] selftests: add binderfs selftests

2019-01-16 Thread Greg KH
On Wed, Jan 16, 2019 at 02:19:03PM +0100, Christian Brauner wrote: > This adds the promised selftest for binderfs. It will verify the following > things: > - binderfs mounting works > - binder device allocation works > - performing a binder ioctl() request through a binderfs device works > -

Re: [PATCH v1] selftests: add binderfs selftests

2019-01-16 Thread shuah
Hi Christian, On 1/16/19 3:27 PM, Christian Brauner wrote: This adds the promised selftest for binderfs. It will verify the following things: - binderfs mounting works - binder device allocation works - performing a binder ioctl() request through a binderfs device works - binder device removal

[PATCH v1] selftests: add binderfs selftests

2019-01-16 Thread Christian Brauner
This adds the promised selftest for binderfs. It will verify the following things: - binderfs mounting works - binder device allocation works - performing a binder ioctl() request through a binderfs device works - binder device removal works - binder-control removal fails - binderfs unmounting

Re: [PATCH] selftests: add binderfs selftests

2019-01-16 Thread Christian Brauner
On Wed, Jan 16, 2019 at 06:57:10PM +0200, Christian Brauner wrote: > On January 16, 2019 6:42:20 PM GMT+02:00, Greg KH > wrote: > >On Wed, Jan 16, 2019 at 06:21:12PM +0200, Christian Brauner wrote: > >> On January 16, 2019 5:54:50 PM GMT+02:00, Greg KH > > wrote: > >> >On Wed, Jan 16, 2019 at

Re: [PATCH v1] selftests: add binderfs selftests

2019-01-16 Thread Christian Brauner
On Wed, Jan 16, 2019 at 11:40:50PM +0100, Greg KH wrote: > On Wed, Jan 16, 2019 at 11:27:45PM +0100, Christian Brauner wrote: > > This adds the promised selftest for binderfs. It will verify the following > > things: > > - binderfs mounting works > > - binder device allocation works > > -

Re: [PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap

2019-01-16 Thread Liam Mark
On Wed, 16 Jan 2019, Andrew F. Davis wrote: > On 1/15/19 1:05 PM, Laura Abbott wrote: > > On 1/15/19 10:38 AM, Andrew F. Davis wrote: > >> On 1/15/19 11:45 AM, Liam Mark wrote: > >>> On Tue, 15 Jan 2019, Andrew F. Davis wrote: > >>> > On 1/14/19 11:13 AM, Liam Mark wrote: > > On Fri, 11

Re: [PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap

2019-01-16 Thread Liam Mark
On Wed, 16 Jan 2019, Andrew F. Davis wrote: > On 1/16/19 9:19 AM, Brian Starkey wrote: > > Hi :-) > > > > On Tue, Jan 15, 2019 at 12:40:16PM -0600, Andrew F. Davis wrote: > >> On 1/15/19 12:38 PM, Andrew F. Davis wrote: > >>> On 1/15/19 11:45 AM, Liam Mark wrote: > On Tue, 15 Jan 2019,

Re: [PATCH v1] selftests: add binderfs selftests

2019-01-16 Thread Greg KH
On Wed, Jan 16, 2019 at 11:27:45PM +0100, Christian Brauner wrote: > This adds the promised selftest for binderfs. It will verify the following > things: > - binderfs mounting works > - binder device allocation works > - performing a binder ioctl() request through a binderfs device works > -

[PATCH v3] Drivers: hv: vmbus: Expose counters for interrupts and full conditions

2019-01-16 Thread Kimberly Brown
Counter values for per-channel interrupts and ring buffer full conditions are useful for investigating performance. Expose counters in sysfs for 2 types of guest to host interrupts: 1) Interrupts caused by the channel's outbound ring buffer transitioning from empty to not empty 2) Interrupts

wohltätige Spende von 2.800.000 euro

2019-01-16 Thread friedrich mayrhofer
Mein Name ist Friedrich Mayrhofer, meine Frau und ich haben im Dezember 2015 eine Jackpot-Lotterie in Höhe von 50 Millionen Dollar gewonnen. Wir spenden die Summe von 2.800.000 Millionen Euro an 5 glückliche Personen, von denen Sie einer der Begünstigten sind. und wir spenden 2.800.000,00 an

RE: [PATCH v3] Drivers: hv: vmbus: Expose counters for interrupts and full conditions

2019-01-16 Thread Dexuan Cui
> From: Kimberly Brown > Sent: Wednesday, January 16, 2019 8:38 PM > To: Michael Kelley ; Long Li > ; Sasha Levin ; > Dexuan Cui > Cc: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger > ; de...@linuxdriverproject.org; > linux-ker...@vger.kernel.org > Subject: [PATCH v3] Drivers: hv: vmbus:

[PATCH v3] binderfs: fix error return code in binderfs_fill_super()

2019-01-16 Thread Wei Yongjun
Fix to return a negative error code -ENOMEM from the new_inode() and d_make_root() error handling cases instead of 0, as done elsewhere in this function. Fixes: 849d540ddfcd ("binderfs: implement "max" mount option") Signed-off-by: Wei Yongjun --- v1 -> v2: move 'ret = -ENOMEM' out of if v2 ->

RE: [PATCH v3] binderfs: fix error return code in binderfs_fill_super()

2019-01-16 Thread weiyongjun (A)
Sorry, please ignore this patch, missing reviewed-by line, I will send a new version. > -Original Message- > From: weiyongjun (A) > Sent: Wednesday, January 16, 2019 6:39 PM > To: gre...@linuxfoundation.org; a...@android.com; tk...@android.com; > m...@android.com;

[PATCH v4] binderfs: fix error return code in binderfs_fill_super()

2019-01-16 Thread Wei Yongjun
Fix to return a negative error code -ENOMEM from the new_inode() and d_make_root() error handling cases instead of 0, as done elsewhere in this function. Fixes: 849d540ddfcd ("binderfs: implement "max" mount option") Signed-off-by: Wei Yongjun Reviewed-by: Christian Brauner --- v1 -> v2: move

Re: [PATCH] staging: comedi: Removed not necessary braces for single block

2019-01-16 Thread Ian Abbott
On 15/01/2019 15:36, Jitendra Khasdev wrote: This patch is used to remove not necessary braces for single if block. Signed-off-by: Jitendra Khasdev --- drivers/staging/comedi/comedi_fops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 3/5] staging: erofs: decrease the shrink count in erofs_workgroup_get

2019-01-16 Thread Dan Carpenter
On Wed, Jan 16, 2019 at 04:59:54PM +0800, Gao Xiang wrote: > It is more suitable to update in erofs_workgroup_get since > it's actually the one matched with erofs_workgroup_put. > This patch is fine. No need to resend. Reviewed-by: Dan Carpenter But for future reference, I found the commit

Re: [PATCH 3/5] staging: erofs: decrease the shrink count in erofs_workgroup_get

2019-01-16 Thread Chao Yu
On 2019/1/16 16:59, Gao Xiang wrote: > It is more suitable to update in erofs_workgroup_get since > it's actually the one matched with erofs_workgroup_put. > > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks, ___ devel mailing list

Re: [PATCH 4/5] staging: erofs: staticize erofs_shrink_count, erofs_shrink_scan

2019-01-16 Thread Chao Yu
On 2019/1/16 16:59, Gao Xiang wrote: > Move erofs_shrinker_info to utils.c and therefore > no need to globalize erofs_shrink_count and erofs_shrink_scan. > > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks, ___ devel mailing list

Re: [PATCH 5/5] staging: erofs: drop the extern prefix for function definitions

2019-01-16 Thread Chao Yu
On 2019/1/16 16:59, Gao Xiang wrote: > Fix all `CHECK: extern prototypes should be avoided in .h files' > reported by checkpatch.pl. > > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks, ___ devel mailing list de...@linuxdriverproject.org

Service for photos

2019-01-16 Thread Susan
We are a photo studio specially for image editing solutions. No matter you want photos background cutting out , or clipping path for your photos, or even retouching. We are the one who can help. Please contact us today if you need anything. Thanks, Susan

Re: [PATCH -next v2] binderfs: fix error return code in binderfs_fill_super()

2019-01-16 Thread Christian Brauner
On Wed, Jan 16, 2019 at 08:34:02AM +, Wei Yongjun wrote: > Fix to return a negative error code -ENOMEM from the new_inode() and > d_make_root() error handling cases instead of 0, as done elsewhere in > this function. > > Fixes: 3ad20fe393b3 ("binder: implement binderfs") This should be:

Re: [PATCH] staging: rtl8723bs: Fix build error with Clang when inlining is disabled

2019-01-16 Thread Greg Kroah-Hartman
On Tue, Jan 15, 2019 at 11:53:40PM -0700, Nathan Chancellor wrote: > On Wed, Jan 16, 2019 at 07:42:02AM +0100, Greg Kroah-Hartman wrote: > > On Tue, Jan 15, 2019 at 11:03:02PM -0700, Nathan Chancellor wrote: > > > When CONFIG_NO_AUTO_INLINE was present in linux-next (which added > > >

Re: [PATCH 1/5] staging: erofs: sunset erofs_workstation_cleanup_all

2019-01-16 Thread Chao Yu
On 2019/1/16 16:59, Gao Xiang wrote: > There is only one user calling erofs_workstation_cleanup_all, > and it is no likely that more users will use in that way > in the future. > > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks, ___ devel

[PATCH -next v2] binderfs: fix error return code in binderfs_fill_super()

2019-01-16 Thread Wei Yongjun
Fix to return a negative error code -ENOMEM from the new_inode() and d_make_root() error handling cases instead of 0, as done elsewhere in this function. Fixes: 3ad20fe393b3 ("binder: implement binderfs") Signed-off-by: Wei Yongjun --- v1 -> v2: move 'ret = -ENOMEM' out of if ---

Re: [PATCH -next v2] binderfs: fix error return code in binderfs_fill_super()

2019-01-16 Thread Christian Brauner
On Wed, Jan 16, 2019 at 09:41:08AM +0100, Christian Brauner wrote: > On Wed, Jan 16, 2019 at 08:34:02AM +, Wei Yongjun wrote: > > Fix to return a negative error code -ENOMEM from the new_inode() and > > d_make_root() error handling cases instead of 0, as done elsewhere in > > this function. >

Re: [PATCH -next] binderfs: fix error return code in binderfs_fill_super()

2019-01-16 Thread Dan Carpenter
On Wed, Jan 16, 2019 at 07:25:47AM +0100, Christian Brauner wrote: > On Wed, Jan 16, 2019 at 03:01:04AM +, Wei Yongjun wrote: > > Fix to return a negative error code -ENOMEM from the new_inode() and > > d_make_root() error handling cases instead of 0, as done elsewhere in > > this function. >

[PATCH 5/5] staging: erofs: drop the extern prefix for function definitions

2019-01-16 Thread Gao Xiang
Fix all `CHECK: extern prototypes should be avoided in .h files' reported by checkpatch.pl. Signed-off-by: Gao Xiang --- drivers/staging/erofs/internal.h | 47 +-- drivers/staging/erofs/unzip_vle.h | 24 ++-- 2 files changed, 33

[PATCH 4/5] staging: erofs: staticize erofs_shrink_count, erofs_shrink_scan

2019-01-16 Thread Gao Xiang
Move erofs_shrinker_info to utils.c and therefore no need to globalize erofs_shrink_count and erofs_shrink_scan. Signed-off-by: Gao Xiang --- drivers/staging/erofs/internal.h | 5 + drivers/staging/erofs/super.c| 6 -- drivers/staging/erofs/utils.c| 14 ++ 3 files

[PATCH 2/5] staging: erofs: localize erofs_workgroup_get

2019-01-16 Thread Gao Xiang
Staticize erofs_workgroup_get since no external user out of utils.c directly calls erofs_workgroup_get. Signed-off-by: Gao Xiang --- drivers/staging/erofs/internal.h | 21 - drivers/staging/erofs/utils.c| 19 +++ 2 files changed, 19 insertions(+), 21

[PATCH 3/5] staging: erofs: decrease the shrink count in erofs_workgroup_get

2019-01-16 Thread Gao Xiang
It is more suitable to update in erofs_workgroup_get since it's actually the one matched with erofs_workgroup_put. Signed-off-by: Gao Xiang --- drivers/staging/erofs/utils.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/drivers/staging/erofs/utils.c

[PATCH 1/5] staging: erofs: sunset erofs_workstation_cleanup_all

2019-01-16 Thread Gao Xiang
There is only one user calling erofs_workstation_cleanup_all, and it is no likely that more users will use in that way in the future. Signed-off-by: Gao Xiang --- Hi, These 5 patches are all cleanup patches, no logic change. Thanks, Gao Xiang drivers/staging/erofs/internal.h | 5 -

Re: [PATCH 2/5] staging: erofs: localize erofs_workgroup_get

2019-01-16 Thread Chao Yu
On 2019/1/16 16:59, Gao Xiang wrote: > Staticize erofs_workgroup_get since no external user > out of utils.c directly calls erofs_workgroup_get. > > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks, ___ devel mailing list