[PATCH] staging: android: formatting change in ashmem.c

2019-02-05 Thread K Hodges
Resolved "Line over 80 characters" warning from checkpatch Signed-off-by: K Hodges --- drivers/staging/android/ashmem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c index 90a8a9f1ac7d..92f42cea5ae4

[PATCH net-next v3 10/12] staging: fsl-dpaa2: ethsw: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
ethsw implements SWITCHDEV_ATTR_ID_PORT_PARENT_ID and we want to get rid of switchdev_ops eventually, ease that migration by implementing a ndo_get_port_parent_id() function which returns what switchdev_port_attr_get() would do. Signed-off-by: Florian Fainelli ---

[PATCH net-next v3 12/12] net: Get rid of SWITCHDEV_ATTR_ID_PORT_PARENT_ID

2019-02-05 Thread Florian Fainelli
Now that we have a dedicated NDO for getting a port's parent ID, get rid of SWITCHDEV_ATTR_ID_PORT_PARENT_ID and convert all callers to use the NDO exclusively. This is a preliminary change to getting rid of switchdev_ops eventually. Signed-off-by: Florian Fainelli --- include/net/switchdev.h

[PATCH net-next v3 03/12] liquidio: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
Liquidio only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID, which makes it a great candidate to be converted to use the ndo_get_port_parent_id() NDO instead of implementing switchdev_port_attr_get(). Signed-off-by: Florian Fainelli --- .../net/ethernet/cavium/liquidio/lio_main.c | 22

[PATCH net-next v3 08/12] rocker: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
mlxsw implements SWITCHDEV_ATTR_ID_PORT_PARENT_ID and we want to get rid of switchdev_ops eventually, ease that migration by implementing a ndo_get_port_parent_id() function which returns what switchdev_port_attr_get() would do. Signed-off-by: Florian Fainelli ---

[PATCH net-next v3 07/12] nfp: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
NFP only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID, which makes it a great candidate to be converted to use the ndo_get_port_parent_id() NDO instead of implementing switchdev_port_attr_get(). Since NFP uses switchdev_port_same_parent_id() convert it to use netdev_port_same_parent_id().

[PATCH net-next v3 11/12] net: dsa: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
DSA implements SWITCHDEV_ATTR_ID_PORT_PARENT_ID and we want to get rid of switchdev_ops eventually, ease that migration by implementing a ndo_get_port_parent_id() function which returns what switchdev_port_attr_get() would do. Signed-off-by: Florian Fainelli --- net/dsa/slave.c | 18

[PATCH net-next v3 09/12] netdevsim: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
netdevsim only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID, which makes it a great candidate to be converted to use the ndo_get_port_parent_id() NDO instead of implementing switchdev_port_attr_get(). Signed-off-by: Florian Fainelli --- drivers/net/netdevsim/netdev.c | 23 ++-

[PATCH net-next v3 06/12] mscc: ocelot: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
Ocelot only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID as a valid switchdev attribute getter, convert it to use ndo_get_port_parent_id() and get rid of the switchdev_ops::switchdev_port_attr_get altogether. Signed-off-by: Florian Fainelli --- drivers/net/ethernet/mscc/ocelot.c | 33

[PATCH net-next v3 05/12] mlxsw: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
mlxsw implements SWITCHDEV_ATTR_ID_PORT_PARENT_ID and we want to get rid of switchdev_ops eventually, ease that migration by implementing a ndo_get_port_parent_id() function which returns what switchdev_port_attr_get() would do. Signed-off-by: Florian Fainelli ---

[PATCH net-next v3 02/12] bnxt: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
BNXT only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID, which makes it a great candidate to be converted to use the ndo_get_port_parent_id() NDO instead of implementing switchdev_port_attr_get(). The conversion is straight forward here since the PF and VF code use the same getter. Since bnxt makes

[PATCH net-next v3 04/12] net/mlx5e: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
mlx5e only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID, which makes it a great candidate to be converted to use the ndo_get_port_parent_id() NDO instead of implementing switchdev_port_attr_get(). Since mlx5e makes use of switchdev_port_parent_id() convert it to use netdev_port_same_parent_id().

[PATCH net-next v3 00/12] net: Introduce ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
Hi all, Based on discussion with Ido and feedback from Jakub there are clearly two classes of users that implement SWITCHDEV_ATTR_ID_PORT_PARENT_ID: - PF/VF drivers which typically only implement return the port's parent ID, yet have to implement switchdev_port_attr_get() just for that -

[PATCH net-next v3 01/12] net: Introduce ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
In preparation for getting rid of switchdev_ops, create a dedicated NDO operation for getting the port's parent identifier. There are essentially two classes of drivers that need to implement getting the port's parent ID which are VF/PF drivers with a built-in switch, and pure switchdev drivers

Re: [PATCH 2/2] staging: android: ashmem: Don't allow range_alloc() to fail.

2019-02-05 Thread Tetsuo Handa
Joel Fernandes wrote: > On Tue, Feb 05, 2019 at 07:28:41PM +0900, Tetsuo Handa wrote: > > ashmem_pin() is calling range_shrink() without checking whether > > range_alloc() succeeded. Since memory allocation fault injection might > > force range_alloc() to fail while range_alloc() is called for

Re: [PATCH net-next v2 10/12] staging: fsl-dpaa2: ethsw: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
On 2/5/19 2:13 PM, Florian Fainelli wrote: > ethsw implements SWITCHDEV_ATTR_ID_PORT_PARENT_ID and we want to get rid > of switchdev_ops eventually, ease that migration by implementing a > ndo_get_port_parent_id() function which returns what > switchdev_port_attr_get() would do. > >

[PATCH net-next v2 05/12] mlxsw: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
mlxsw implements SWITCHDEV_ATTR_ID_PORT_PARENT_ID and we want to get rid of switchdev_ops eventually, ease that migration by implementing a ndo_get_port_parent_id() function which returns what switchdev_port_attr_get() would do. Signed-off-by: Florian Fainelli ---

[PATCH net-next v2 12/12] net: Get rid of SWITCHDEV_ATTR_ID_PORT_PARENT_ID

2019-02-05 Thread Florian Fainelli
Now that we have a dedicated NDO for getting a port's parent ID, get rid of SWITCHDEV_ATTR_ID_PORT_PARENT_ID and convert all callers to use the NDO exclusively. This is a preliminary change to getting rid of switchdev_ops eventually. Signed-off-by: Florian Fainelli --- include/net/switchdev.h

[PATCH net-next v2 11/12] net: dsa: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
DSA implements SWITCHDEV_ATTR_ID_PORT_PARENT_ID and we want to get rid of switchdev_ops eventually, ease that migration by implementing a ndo_get_port_parent_id() function which returns what switchdev_port_attr_get() would do. Signed-off-by: Florian Fainelli --- net/dsa/slave.c | 18

[PATCH net-next v2 10/12] staging: fsl-dpaa2: ethsw: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
ethsw implements SWITCHDEV_ATTR_ID_PORT_PARENT_ID and we want to get rid of switchdev_ops eventually, ease that migration by implementing a ndo_get_port_parent_id() function which returns what switchdev_port_attr_get() would do. Signed-off-by: Florian Fainelli ---

[PATCH net-next v2 09/12] netdevsim: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
netdevsim only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID, which makes it a great candidate to be converted to use the ndo_get_port_parent_id() NDO instead of implementing switchdev_port_attr_get(). Signed-off-by: Florian Fainelli --- drivers/net/netdevsim/netdev.c | 22 ++ 1

[PATCH net-next v2 08/12] rocker: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
mlxsw implements SWITCHDEV_ATTR_ID_PORT_PARENT_ID and we want to get rid of switchdev_ops eventually, ease that migration by implementing a ndo_get_port_parent_id() function which returns what switchdev_port_attr_get() would do. Signed-off-by: Florian Fainelli ---

[PATCH net-next v2 07/12] nfp: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
NFP only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID, which makes it a great candidate to be converted to use the ndo_get_port_parent_id() NDO instead of implementing switchdev_port_attr_get(). Since NFP uses switchdev_port_same_parent_id() convert it to use netdev_port_same_parent_id().

[PATCH net-next v2 03/12] liquidio: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
Liquidio only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID, which makes it a great candidate to be converted to use the ndo_get_port_parent_id() NDO instead of implementing switchdev_port_attr_get(). Signed-off-by: Florian Fainelli --- .../net/ethernet/cavium/liquidio/lio_main.c | 22

[PATCH net-next v2 00/12] net: Introduce ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
Hi all, Based on discussion with Ido and feedback from Jakub there are clearly two classes of users that implement SWITCHDEV_ATTR_ID_PORT_PARENT_ID: - PF/VF drivers which typically only implement return the port's parent ID, yet have to implement switchdev_port_attr_get() just for that -

[PATCH net-next v2 04/12] net/mlx5e: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
mlx5e only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID, which makes it a great candidate to be converted to use the ndo_get_port_parent_id() NDO instead of implementing switchdev_port_attr_get(). Since mlx5e makes use of switchdev_port_parent_id() convert it to use netdev_port_same_parent_id().

[PATCH net-next v2 06/12] mscc: ocelot: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
Ocelot only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID as a valid switchdev attribute getter, convert it to use ndo_get_port_parent_id() and get rid of the switchdev_ops::switchdev_port_attr_get altogether. Signed-off-by: Florian Fainelli --- drivers/net/ethernet/mscc/ocelot.c | 33

[PATCH net-next v2 01/12] net: Introduce ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
In preparation for getting rid of switchdev_ops, create a dedicated NDO operation for getting the port's parent identifier. There are essentially two classes of drivers that need to implement getting the port's parent ID which are VF/PF drivers with a built-in switch, and pure switchdev drivers

[PATCH net-next v2 02/12] bnxt: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
BNXT only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID, which makes it a great candidate to be converted to use the ndo_get_port_parent_id() NDO instead of implementing switchdev_port_attr_get(). The conversion is straight forward here since the PF and VF code use the same getter. Since bnxt makes

Re: [PATCH 3/3] staging: rtl8192e: rename members of struct rtllib_device - style

2019-02-05 Thread Himadri Pandya
On 05/02/19 11:52 PM, Greg KH wrote: On Tue, Feb 05, 2019 at 07:22:11PM +0100, Greg KH wrote: On Tue, Feb 05, 2019 at 09:42:39AM -0800, Himadri Pandya wrote: Rename following members of struct rtllib_device to fix checkpatch warning: Avoid CamelCase pDot11dInfo -> dot11d_info

Re: [PATCH 2/3] staging: rtl8192e: rename members of struct rt_dot11d_info - style

2019-02-05 Thread Himadri Pandya
On 05/02/19 11:53 PM, Greg KH wrote: On Tue, Feb 05, 2019 at 09:42:38AM -0800, Himadri Pandya wrote: Rename following members of struct rt_dot11d_info to avoid checkpatch warning: Avoid CamelCase bEnabled -> enabled CountryIelen -> country_len CountryIeBuf ->

Re: [PATCH 1/3] staging: rtl8192e: rename members of struct chnl_txpow_triple - style

2019-02-05 Thread Himadri Pandya
On 05/02/19 11:51 PM, Greg KH wrote: On Tue, Feb 05, 2019 at 09:42:37AM -0800, Himadri Pandya wrote: Rename following members of struct chnl_txpow_triple to avoid checkpatch warning: Avoid CamelCase FirstChnl -> first_chnl NumChnls -> num_chnls We do have vowels, how about

Re: [PATCH] staging: vt6656: Use the correct style for SPDX license Identifier

2019-02-05 Thread Joe Perches
On Tue, 2019-02-05 at 19:44 +0100, Greg Kroah-Hartman wrote: > On Tue, Feb 05, 2019 at 08:36:24PM +0530, Nishad Kamdar wrote: > > This patch corrects the style for SPDX license Identifier in mac.h > > by using "/* */" in place of "//" as per Linux kernel licensing rules. > > Issue found by

Re: [PATCH] staging: vt6656: Use the correct style for SPDX license Identifier

2019-02-05 Thread Greg Kroah-Hartman
On Tue, Feb 05, 2019 at 08:36:24PM +0530, Nishad Kamdar wrote: > This patch corrects the style for SPDX license Identifier in mac.h > by using "/* */" in place of "//" as per Linux kernel licensing rules. > Issue found by checkpatch. > > Signed-off-by: Nishad Kamdar > --- >

Re: [PATCH 2/3] staging: rtl8192e: rename members of struct rt_dot11d_info - style

2019-02-05 Thread Greg KH
On Tue, Feb 05, 2019 at 09:42:38AM -0800, Himadri Pandya wrote: > Rename following members of struct rt_dot11d_info to avoid checkpatch > warning: Avoid CamelCase > > bEnabled -> enabled > CountryIelen -> country_len > CountryIeBuf -> country_buffer >

Re: [PATCH 3/3] staging: rtl8192e: rename members of struct rtllib_device - style

2019-02-05 Thread Greg KH
On Tue, Feb 05, 2019 at 07:22:11PM +0100, Greg KH wrote: > On Tue, Feb 05, 2019 at 09:42:39AM -0800, Himadri Pandya wrote: > > Rename following members of struct rtllib_device to fix checkpatch > > warning: Avoid CamelCase > > > > pDot11dInfo -> dot11d_info > > bGlobalDomain ->

Re: [PATCH 3/3] staging: rtl8192e: rename members of struct rtllib_device - style

2019-02-05 Thread Greg KH
On Tue, Feb 05, 2019 at 09:42:39AM -0800, Himadri Pandya wrote: > Rename following members of struct rtllib_device to fix checkpatch > warning: Avoid CamelCase > > pDot11dInfo -> dot11d_info > bGlobalDomain -> global_domain > IbssStartChnl -> ibss_start_chnl Why the use of

Re: [PATCH 1/3] staging: rtl8192e: rename members of struct chnl_txpow_triple - style

2019-02-05 Thread Greg KH
On Tue, Feb 05, 2019 at 09:42:37AM -0800, Himadri Pandya wrote: > Rename following members of struct chnl_txpow_triple to avoid > checkpatch warning: Avoid CamelCase > > FirstChnl -> first_chnl > NumChnls -> num_chnls We do have vowels, how about "first_channel" and "num_channels"?

[PATCH 2/3] staging: rtl8192e: rename members of struct rt_dot11d_info - style

2019-02-05 Thread Himadri Pandya
Rename following members of struct rt_dot11d_info to avoid checkpatch warning: Avoid CamelCase bEnabled -> enabled CountryIelen -> country_len CountryIeBuf -> country_buffer CountryIeSrcAddr -> country_src_addr CountryIeWatchdog -> country_watchdog

[PATCH 3/3] staging: rtl8192e: rename members of struct rtllib_device - style

2019-02-05 Thread Himadri Pandya
Rename following members of struct rtllib_device to fix checkpatch warning: Avoid CamelCase pDot11dInfo -> dot11d_info bGlobalDomain -> global_domain IbssStartChnl -> ibss_start_chnl Signed-off-by: Himadri Pandya --- drivers/staging/rtl8192e/dot11d.c | 58

[PATCH 1/3] staging: rtl8192e: rename members of struct chnl_txpow_triple - style

2019-02-05 Thread Himadri Pandya
Rename following members of struct chnl_txpow_triple to avoid checkpatch warning: Avoid CamelCase FirstChnl -> first_chnl NumChnls -> num_chnls MaxTxPwrInDbm -> max_tx_power Signed-off-by: Himadri Pandya --- drivers/staging/rtl8192e/dot11d.c | 16

[PATCH v3 4/4] staging: iio: ad7780: moving ad7780 out of staging

2019-02-05 Thread Renato Lui Geh
Move ad7780 ADC driver out of staging and into the mainline. The ad7780 is a sigma-delta analog to digital converter. This driver provides reading voltage values and status bits from both the ad778x and ad717x series. Its interface also allows writing on the FILTER and GAIN GPIO pins on the

[PATCH v3 3/4] staging: iio: ad7780: add SPDX identifier

2019-02-05 Thread Renato Lui Geh
Add SPDX identifier (GPL-2.0) to the AD7780 driver. Signed-off-by: Renato Lui Geh --- drivers/staging/iio/adc/ad7780.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/iio/adc/ad7780.c b/drivers/staging/iio/adc/ad7780.c index 7804cd2b273e..163e3c983598 100644

[PATCH v3 2/4] staging: iio: ad7780: move regulator to after GPIO init

2019-02-05 Thread Renato Lui Geh
To maintain consistency between ad7780_probe and ad7780_remove orders, regulator initialization has been moved to after GPIO initializations. Signed-off-by: Renato Lui Geh --- drivers/staging/iio/adc/ad7780.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-)

[PATCH v3 1/4] staging: iio: ad7780: add gain & filter gpio support

2019-02-05 Thread Renato Lui Geh
Previously, the AD7780 driver only supported gpio for the 'powerdown' pin. This commit adds suppport for the 'gain' and 'filter' pin. Signed-off-by: Renato Lui Geh Signed-off-by: Giuliano Belinassi Co-developed-by: Giuliano Belinassi --- Changes in v3: - Renamed ad7780_chip_info's

[PATCH v3 0/4] staging: iio: ad7780: move out of staging

2019-02-05 Thread Renato Lui Geh
This series of patches adds user input to ad7780 'gain' & 'filter' gpio pins, moves regulator initialization to after gpio initialization to maintain consistency between probe and remove, adds SPDX to the driver's license, and moves the ad7780 to the mainline. Renato Lui Geh (4): staging: iio:

Re: [PATCH 2/3] sched/wait: introduce wait_event_freezable_hrtimeout

2019-02-05 Thread Joel Fernandes
On Fri, Feb 01, 2019 at 06:38:35AM +0100, Hugo Lefeuvre wrote: > introduce wait_event_freezable_hrtimeout, an interruptible and freezable > version of wait_event_hrtimeout. > > Among others this helper will allow for simplifications in > staging/android/vsoc.c. > > Signed-off-by: Hugo Lefeuvre

Re: [PATCH 1/3] sched/wait: use freezable_schedule when possible

2019-02-05 Thread Joel Fernandes
On Fri, Feb 01, 2019 at 06:38:05AM +0100, Hugo Lefeuvre wrote: > Replace schedule(); try_to_freeze() by freezable_schedule(). > > Tasks calling freezable_schedule() set the PF_FREEZER_SKIP flag > before calling schedule(). Unlike tasks calling schedule(); > try_to_freeze() tasks calling

Re: [PATCH 1/2] staging: android: ashmem: Don't call fallocate() with ashmem_mutex held.

2019-02-05 Thread Joel Fernandes
On Tue, Feb 05, 2019 at 07:28:40PM +0900, Tetsuo Handa wrote: > syzbot is hitting lockdep warnings [1][2][3]. This patch tries to fix > the warning by eliminating ashmem_shrink_scan() => {shmem|vfs}_fallocate() > sequence. > > [1] >

Re: [PATCH 2/2] staging: android: ashmem: Don't allow range_alloc() to fail.

2019-02-05 Thread Joel Fernandes
On Tue, Feb 05, 2019 at 07:28:41PM +0900, Tetsuo Handa wrote: > ashmem_pin() is calling range_shrink() without checking whether > range_alloc() succeeded. Since memory allocation fault injection might > force range_alloc() to fail while range_alloc() is called for only once > for one ioctl()

[PATCH] staging: vt6656: Use the correct style for SPDX license Identifier

2019-02-05 Thread Nishad Kamdar
This patch corrects the style for SPDX license Identifier in mac.h by using "/* */" in place of "//" as per Linux kernel licensing rules. Issue found by checkpatch. Signed-off-by: Nishad Kamdar --- drivers/staging/vt6656/mac.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Need this for your photos?

2019-02-05 Thread Stacy
Need to retouch your photos? Deep etching or masking for your photos? We are the studio who can do those service for your photos. Please send photos to start Thanks, Stacy Ingolsdtadt Seevedtal ___ devel mailing list

Re: [PATCH 02/12] bnxt: Implement ndo_get_port_parent_id()

2019-02-05 Thread kbuild test robot
Hi Florian, I love your patch! Yet something to improve: [auto build test ERROR on net/master] [also build test ERROR on v5.0-rc4 next-20190205] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCH v12 00/13] media: staging/imx7: add i.MX7 media driver

2019-02-05 Thread Hans Verkuil
On 2/4/19 1:00 PM, Rui Miguel Silva wrote: > Hi, > This series introduces the Media driver to work with the i.MX7 SoC. it uses > the > already existing imx media core drivers but since the i.MX7, contrary to > i.MX5/6, do not have an IPU and because of that some changes in the imx media > core

Re: [PATCH v12 00/13] media: staging/imx7: add i.MX7 media driver

2019-02-05 Thread Rui Miguel Silva
Hi Sakari, On Tue 05 Feb 2019 at 11:14, Sakari Ailus wrote: Hi Rui, On Mon, Feb 04, 2019 at 12:00:26PM +, Rui Miguel Silva wrote: Hi, This series introduces the Media driver to work with the i.MX7 SoC. it uses the already existing imx media core drivers but since the i.MX7, contrary to

Re: [PATCH 12/12] net: Get rid of SWITCHDEV_ATTR_ID_PORT_PARENT_ID

2019-02-05 Thread kbuild test robot
Hi Florian, I love your patch! Yet something to improve: [auto build test ERROR on net/master] [also build test ERROR on next-20190205] [cannot apply to v5.0-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [PATCH v12 00/13] media: staging/imx7: add i.MX7 media driver

2019-02-05 Thread Sakari Ailus
Hi Rui, On Mon, Feb 04, 2019 at 12:00:26PM +, Rui Miguel Silva wrote: > Hi, > This series introduces the Media driver to work with the i.MX7 SoC. it uses > the > already existing imx media core drivers but since the i.MX7, contrary to > i.MX5/6, do not have an IPU and because of that some

[PATCH] staging: sm750fb: Rename setDisplayControl to set_display_control - style

2019-02-05 Thread Jin Chen
Fix checkpatch.pl warning: CHECK: Avoid CamelCase: Signed-off-by: Jin Chen --- drivers/staging/sm750fb/ddk750_display.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_display.c b/drivers/staging/sm750fb/ddk750_display.c index

[PATCH] staging: wlan-ng: formatting change in cfg80211.c

2019-02-05 Thread K Hodges
Resolve "Line over 80 characters" warning from checkpatch Signed-off-by: K Hodges --- drivers/staging/wlan-ng/cfg80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c index

[PATCH 2/2] staging: android: ashmem: Don't allow range_alloc() to fail.

2019-02-05 Thread Tetsuo Handa
ashmem_pin() is calling range_shrink() without checking whether range_alloc() succeeded. Since memory allocation fault injection might force range_alloc() to fail while range_alloc() is called for only once for one ioctl() request, make range_alloc() not to fail. Signed-off-by: Tetsuo Handa ---

[PATCH 1/2] staging: android: ashmem: Don't call fallocate() with ashmem_mutex held.

2019-02-05 Thread Tetsuo Handa
syzbot is hitting lockdep warnings [1][2][3]. This patch tries to fix the warning by eliminating ashmem_shrink_scan() => {shmem|vfs}_fallocate() sequence. [1] https://syzkaller.appspot.com/bug?id=87c399f6fa6955006080b24142e2ce7680295ad4 [2]

Re: [PATCH 02/12] bnxt: Implement ndo_get_port_parent_id()

2019-02-05 Thread kbuild test robot
Hi Florian, I love your patch! Yet something to improve: [auto build test ERROR on net/master] [also build test ERROR on v5.0-rc4 next-20190205] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCH 09/12] netdevsim: Implement ndo_get_port_parent_id()

2019-02-05 Thread kbuild test robot
Hi Florian, I love your patch! Yet something to improve: [auto build test ERROR on net/master] [also build test ERROR on next-20190205] [cannot apply to v5.0-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [PATCH 09/12] netdevsim: Implement ndo_get_port_parent_id()

2019-02-05 Thread kbuild test robot
Hi Florian, I love your patch! Yet something to improve: [auto build test ERROR on net/master] [also build test ERROR on next-20190205] [cannot apply to v5.0-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [PATCH 12/12] net: Get rid of SWITCHDEV_ATTR_ID_PORT_PARENT_ID

2019-02-05 Thread kbuild test robot
Hi Florian, I love your patch! Yet something to improve: [auto build test ERROR on net/master] [also build test ERROR on next-20190205] [cannot apply to v5.0-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [PATCH] Staging: rtl8723bs: remove some dead code

2019-02-05 Thread Hans de Goede
Hi, On 04-02-19 19:24, Dan Carpenter wrote: "psecnetwork" is the address of >sec_bss. Since ->sec_bss isn't the first member of the struct that means that "psecnetwork" can't be NULL. We can just remove this dead code. Signed-off-by: Dan Carpenter Thanks, LGTM: Reviewed-by: Hans de Goede

Re: [PATCH 12/12] net: Get rid of SWITCHDEV_ATTR_ID_PORT_PARENT_ID

2019-02-05 Thread Ido Schimmel
On Mon, Feb 04, 2019 at 03:36:33PM -0800, Florian Fainelli wrote: > Now that we have a dedicated NDO for getting a port's parent ID, get rid > of SWITCHDEV_ATTR_ID_PORT_PARENT_ID and convert all callers to use the > NDO exclusively. This is a preliminary change to getting rid of > switchdev_ops