Spende

2019-03-21 Thread Victoria , Crown Princess of Sweden , Duchess of Västergötland
-- Mein Name ist Victoria, Kronprinzessin von Schweden, und ich spende Ihnen und Ihrer Familie 750.000 USD. Kommen Sie mit dieser E-Mail zu mir: victoriacrownprincessofswe...@gmail.com für andere Richtlinien. Schöne Grüße. Victoria, Kronprinzessin von Schweden, Herzogin von Västergötland

Re: [PATCH 1/3] staging: erofs: fix error handling when failed to read compresssed data

2019-03-21 Thread Gao Xiang
ping? Hi Chao, could you take some time looking into this series? Thanks, Gao Xiang On 2019/3/19 21:54, Gao Xiang wrote: > Complete read error handling paths for all three kinds of > compressed pages: > > 1) For cache-managed pages, PG_uptodate will be checked since > read_endio will unloc

[PATCH v3] staging: erofs: Use !x or x in place of NULL comparision

2019-03-21 Thread Gao Xiang
From: Bhanusree Pola Test for NULL as !x instead of NULL comparisions. Issue found using coccinelle Semantic patch used to solve the problem is as follows // @@ expression x; statement S; @@ x = (\(kmalloc\|devm_kzalloc\|kmalloc_array\|devm_ioremap\| usb_alloc_urb\|alloc_netdev\|dev_alloc_skb\

[PATCH v2 2/2] staging: iio: ad7780: Add parentheses to macros

2019-03-21 Thread Vladimir Petrigo
- Fix CHECK Macro argument 'wordsize' may be better as '(wordsize)' to avoid precedence issues Signed-off-by: Vladimir Petrigo --- drivers/staging/iio/adc/ad7780.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/adc/ad7780.c b/drivers/staging/iio/adc/ad77

[PATCH v2 0/2] staging: iio: adc: Fix code formatting issues

2019-03-21 Thread Vladimir Petrigo
v1 -> v2 - remove redundant patch for the ad7192.c - fix the issue with diff for the ad7280a.c - fix the redundant parentheses in the patch for ad7780.c Vladimir Petrigo (2): staging: iio: ad7280a: Add parentheses to macros staging: iio: ad7780: Add parentheses to macros drivers/staging/i

[PATCH v2 1/2] staging: iio: ad7280a: Add parentheses to macros

2019-03-21 Thread Vladimir Petrigo
- Fix CHECK Macro argument 'c' may be better as '(c)' to avoid precedence issues - Fix CHECK Macro argument 'd' may be better as '(d)' to avoid precedence issues Signed-off-by: Vladimir Petrigo --- drivers/staging/iio/adc/ad7280a.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) dif

Re: [PATCH 2/3] staging: iio: ad7280a: Add parentheses to macros

2019-03-21 Thread Vladimir Petrigo
On Wed, Mar 20, 2019 at 10:38:06AM +0300, Dan Carpenter wrote: > On Sun, Mar 17, 2019 at 11:53:11PM +0300, Vladimir Petrigo wrote: > > Fix CHECK Macro argument 'c' may be better as '(c)' to > > avoid precedence issues > > > > Signed-off-by: Vladimir Petrigo > > > > diff --git a/drivers/staging/i

Re: [PATCH 3/3] staging: iio: ad7780: Add parentheses to macros

2019-03-21 Thread Vladimir Petrigo
On Wed, Mar 20, 2019 at 10:42:17AM +0300, Dan Carpenter wrote: > On Sun, Mar 17, 2019 at 11:53:12PM +0300, Vladimir Petrigo wrote: > > - Fix CHECK Macro argument 'wordsize' may be better as '(wordsize)' to > > avoid precedence issues > > - Fix CHECK Macro argument reuse 'bits' - possible side-effe

Re: v5.1-rc1 binder_alloc_do_buffer_copy() BUG_ON triggered by selinux-testsuite

2019-03-21 Thread Paul Moore
On Thu, Mar 21, 2019 at 11:48 AM Todd Kjos wrote: > On Thu, Mar 21, 2019 at 2:50 AM Ondrej Mosnacek wrote: > > > > On Thu, Mar 21, 2019 at 12:26 AM Todd Kjos wrote: > > > I can send you a patch tomorrow (I won't be able to test it though). > > > > So, I was a bit quicker than you and I think I m

[PATCH] Staging: comedi: ni_mio_common.c: Added blank line after declarations

2019-03-21 Thread Arash Fotouhi
Added blank line after declarations. Signed-off-by: Arash Fotouhi --- drivers/staging/comedi/drivers/ni_mio_common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/comedi/drivers/ni_mio_common.c b/drivers/staging/comedi/drivers/ni_mio_common.c index 5edf59a..c6aff8f 10064

Help on testing ad5933 driver

2019-03-21 Thread Marcelo Schmitt
Hello, would anyone mind helping me test ad5933 driver on actual hardware? I went through this (https://oslongjourney.github.io/linux-kernel/experiment-one-iio-dummy/) tutorial so I was able to load iio_simple_dummy driver, create and inspect some dummy devices. Now, as Jonathan has asked me, I w

[PATCH] staging: ralink-gdma: Change uint32_t to u32

2019-03-21 Thread Bharath Vedartham
This is a follow up on my previous patch. Change occurences of the stdint type uint32_t to its shortened type u32. This fixed the checkpatch.pl warning: "Prefer u32 over uint32_t". Signed-off-by: Bharath Vedartham --- drivers/staging/ralink-gdma/ralink-gdma.c | 10 +- 1 file changed, 5

[PATCH v2] staging: ralink-gdma: Prefer u32 over uint32_t

2019-03-21 Thread Bharath Vedartham
Fix the checkpatch.pl warning: "Prefer u32 over uint32_t". Signed-off-by: Bharath Vedartham --- drivers/staging/ralink-gdma/ralink-gdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ralink-gdma/ralink-gdma.c b/drivers/staging/ralink-gdma/ralink-gdma.c ind

Re: [PATCH] staging: ralink-gdma: Prefer u32 over uint32_t

2019-03-21 Thread Greg KH
On Fri, Mar 22, 2019 at 12:18:58AM +0530, Bharath Vedartham wrote: > On Thu, Mar 21, 2019 at 07:46:09PM +0100, Greg KH wrote: > > On Fri, Mar 22, 2019 at 12:07:10AM +0530, Bharath Vedartham wrote: > > > Change uint32_t to u32 > > > > That says _what_ you did, but _why_ are you doing this? That's

Re: [PATCH] staging: ralink-gdma: Prefer u32 over uint32_t

2019-03-21 Thread Bharath Vedartham
On Thu, Mar 21, 2019 at 07:46:09PM +0100, Greg KH wrote: > On Fri, Mar 22, 2019 at 12:07:10AM +0530, Bharath Vedartham wrote: > > Change uint32_t to u32 > > That says _what_ you did, but _why_ are you doing this? That's the main > content a changelog text should have in it. > > thanks, > > greg

Re: [PATCH] staging: ralink-gdma: Prefer u32 over uint32_t

2019-03-21 Thread Greg KH
On Fri, Mar 22, 2019 at 12:07:10AM +0530, Bharath Vedartham wrote: > Change uint32_t to u32 That says _what_ you did, but _why_ are you doing this? That's the main content a changelog text should have in it. thanks, greg k-h ___ devel mailing list de.

[PATCH v5 2/2] staging: iio: ad5933: move out of staging

2019-03-21 Thread Marcelo Schmitt
Move ad5933 impedance-analyzer driver from staging to mainline. The ad5933 is a high precision impedance converter system solution that combines an on-board frequency generator with an analog-to-digital converter (ADC). This driver was designed to be compatible with both ad5933 and ad5934 chips. S

[PATCH v5 1/2] staging: iio: ad5933: change attributes to match ABI

2019-03-21 Thread Marcelo Schmitt
Change device attributes' names to match ABI documentation. Names were chosen such that they tend to be similar to existing ABI so it should be easier to standardize them when necessary. Signed-off-by: Marcelo Schmitt --- .../staging/iio/impedance-analyzer/ad5933.c | 24 +-- 1

[PATCH v5 0/2] staging: iio: ad5933: move out of staging

2019-03-21 Thread Marcelo Schmitt
This series of patches makes device attributes' names equal to ABI documentation and move ad5933 driver out of staging. More precisely: It changes device attributes' names to match or be similar to existing ABI. It moves the ad5933 driver from staging directory to iio main drivers directory. Marce

[PATCH] staging: ralink-gdma: Prefer u32 over uint32_t

2019-03-21 Thread Bharath Vedartham
Change uint32_t to u32 Signed-off-by: Bharath Vedartham --- drivers/staging/ralink-gdma/ralink-gdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ralink-gdma/ralink-gdma.c b/drivers/staging/ralink-gdma/ralink-gdma.c index d78042e..2c19287 100644 --- a/dri

Re: pidfd design

2019-03-21 Thread Andy Lutomirski
On Wed, Mar 20, 2019 at 12:40 PM Daniel Colascione wrote: > > On Wed, Mar 20, 2019 at 12:14 PM Christian Brauner > wrote: > > > > On Wed, Mar 20, 2019 at 11:58:57AM -0700, Andy Lutomirski wrote: > > > On Wed, Mar 20, 2019 at 11:52 AM Christian Brauner > > > wrote: > > > > > > > > You're misund

Re: [PATCH] spi: mt7621: Move SPI driver out of staging

2019-03-21 Thread Mark Brown
On Thu, Mar 14, 2019 at 12:52:12PM +0100, Stefan Roese wrote: This looks pretty good, a few trivial issues below but nothing major I think. > +config SPI_MT7621 > + tristate "MediaTek MT7621 SPI Controller" > + depends on RALINK > + help > + This selects a driver for the MediaTe

[PATCH 14/14] staging: most: Documentation: update driver documentation

2019-03-21 Thread Christian Gromm
This patch updates the driver documentation files to reflect the latest changes regarding configfs. Signed-off-by: Christian Gromm --- .../most/Documentation/ABI/configfs-most.txt | 204 + .../staging/most/Documentation/driver_usage.txt| 131 +++-- 2 files c

[PATCH 13/14] staging: most: configfs: rename config attributes

2019-03-21 Thread Christian Gromm
This patch introduces attribute names that are more self explaining. Signed-off-by: Christian Gromm --- drivers/staging/most/configfs.c | 98 - 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/drivers/staging/most/configfs.c b/drivers/stagin

[PATCH 06/14] staging: most: core: make sysfs attributes read-only

2019-03-21 Thread Christian Gromm
This patch changes the access flags of the channel attributes to read-only. This is needed, because configuration is done via configfs. Signed-off-by: Christian Gromm --- drivers/staging/most/core.c | 122 +++- 1 file changed, 7 insertions(+), 115 deletion

[PATCH 11/14] staging: most: configfs: make create attributes write-only

2019-03-21 Thread Christian Gromm
Reading the create attribute that triggers the creation of a link to a certain channel is not necessary. Hence, it is being removed. Signed-off-by: Christian Gromm --- drivers/staging/most/configfs.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/stag

[PATCH 04/14] staging: most: sound: introduce new sound adapter management

2019-03-21 Thread Christian Gromm
This patch adapts the sound card management to the configfs changes. Signed-off-by: Christian Gromm --- drivers/staging/most/sound/sound.c | 41 +- 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/drivers/staging/most/sound/sound.c b/drivers/st

[PATCH 10/14] staging: most: allow speculative configuration

2019-03-21 Thread Christian Gromm
This patch makes the driver accept a link confiiguration eventhough no device is attached to the bus. Instead the configuration is being applied as soon as a device is being registered with the core. Signed-off-by: Christian Gromm --- drivers/staging/most/configfs.c| 63 +

[PATCH 09/14] staging: most: core: remove attribute add_link

2019-03-21 Thread Christian Gromm
This patch removes the driver attribute add_link. It is not needed, because the link management is now done via configfs. Signed-off-by: Christian Gromm --- drivers/staging/most/core.c | 61 - 1 file changed, 61 deletions(-) diff --git a/drivers/stagi

[PATCH 12/14] staging: most: configfs: add code for link removal

2019-03-21 Thread Christian Gromm
This patch adds code that cleans up established links whenever the destroy attribute is set or if the config_item (directory) is being removed. Signed-off-by: Christian Gromm --- drivers/staging/most/configfs.c | 41 + 1 file changed, 37 insertions(+), 4 d

[PATCH 08/14] staging: most: usb: remove prefix from description tag

2019-03-21 Thread Christian Gromm
This patch cuts off the usb_device prefix of the description string. It is not needed, as the interface type is already available with the interface attribute of a channel. Signed-off-by: Christian Gromm --- drivers/staging/most/usb/usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH 02/14] staging: most: change signature of function probe_channel

2019-03-21 Thread Christian Gromm
This patch adds the param argument to the function parameter of the call-back probe_channel. This parameter is needed to configure the channels of an attached device. Signed-off-by: Christian Gromm --- drivers/staging/most/cdev/cdev.c | 2 +- drivers/staging/most/core.c| 6 -- driv

[PATCH 00/14] staging: most: switch to configfs

2019-03-21 Thread Christian Gromm
This patch set makes the driver provide its configuration interface via configfs. The configuration interface is being switched to simplify the process of setting up the driver and to introduce the new feature of speculative configuration. Christian Gromm (14): staging: most: add new file config

[PATCH 05/14] staging: most: enable configfs support

2019-03-21 Thread Christian Gromm
This patch enables the configfs functionality of the driver by registering the configfs subsystems and compiling the configfs part of the sources. Signed-off-by: Christian Gromm --- drivers/staging/most/Makefile | 1 + drivers/staging/most/cdev/cdev.c | 6 ++ drivers/staging/most/co

[PATCH 01/14] staging: most: add new file configfs.c

2019-03-21 Thread Christian Gromm
This patch adds the file configfs.c to the driver directory. The file registers the necessary subsystems with configfs in order to move the driver configuration from sysfs to configfs. Signed-off-by: Christian Gromm --- drivers/staging/most/configfs.c | 659 ++

[PATCH 03/14] staging: most: core: add configfs interface functions

2019-03-21 Thread Christian Gromm
This patch adds the core's interface to configfs file. Signed-off-by: Christian Gromm --- drivers/staging/most/core.c | 142 drivers/staging/most/core.h | 17 +- 2 files changed, 158 insertions(+), 1 deletion(-) diff --git a/drivers/staging/most

[PATCH 07/14] staging: most: core: use device description as name

2019-03-21 Thread Christian Gromm
This patch uses the device description to clearly identity a device attached to the bus. It is needed as the currently useed mdevX notation is not sufficiant in case more than one network interface controller is being used at the same time. Signed-off-by: Christian Gromm --- drivers/staging/most

Re: v5.1-rc1 binder_alloc_do_buffer_copy() BUG_ON triggered by selinux-testsuite

2019-03-21 Thread Ondrej Mosnacek
On Thu, Mar 21, 2019 at 12:26 AM Todd Kjos wrote: > I can send you a patch tomorrow (I won't be able to test it though). So, I was a bit quicker than you and I think I managed to fix the test myself :) See: https://github.com/SELinuxProject/selinux-testsuite/pull/50/commits/b559c3f54eae6130cb9e7

Re: [PATCH v2] staging: rtlwifi: Fix potential NULL pointer dereference of kzalloc

2019-03-21 Thread Dan Carpenter
On Tue, Mar 19, 2019 at 03:15:08PM -0500, Aditya Pakki wrote: > phydm.internal is allocated using kzalloc which is used multiple > times without a check for NULL pointer. This patch avoids such a > scenario. > > -- > v1: Patch collision with different things, fix as per Greg > Signed-off-by: Adity