[no subject]

2017-01-01 Thread Alexander Alemayhu

[no subject]

2017-01-01 Thread Alexander Alemayhu

[PATCH] android: uapi: trivial comment changes

2017-01-01 Thread Alexander Alemayhu
o s/interupted/interrupted/g o s/The the/The/g Signed-off-by: Alexander Alemayhu CC: Greg Kroah-Hartman CC: Arve Hjønnevåg --- include/uapi/linux/android/binder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/android/binder.h b/include/uapi/linux/a

[PATCH 1/2 linux-next] ext4: check inode permissions in ext4_ioctl()

2017-01-01 Thread Fabian Frederick
According to other FS like UDF, ioctl has to check if inode is readable before proceeding otherwise permissions updated between file opening and ioctl are ignored. Set operations were already protected but nothing around get like EXT4_IOC_GETVERSION This patch applies the same test than udf_ioctl

[PATCH 2/2 linux-next] ext4: return -EACCES on inode_owner_or_capable() error

2017-01-01 Thread Fabian Frederick
like other cases in ext4_ioctl() Signed-off-by: Fabian Frederick --- fs/ext4/ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index 4f113e6..5654ccd 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c @@ -501,7 +501,7 @@ long ext4_ioctl

Re: [PATCH v6 7/9] i2c: i2c-mux-simple: new driver

2017-01-01 Thread Jonathan Cameron
On 30/11/16 08:17, Peter Rosin wrote: > This is a generic simple i2c mux that uses the generic multiplexer > subsystem to do the muxing. > > The user can select if the mux is to be mux-locked and parent-locked > as described in Documentation/i2c/i2c-topology. > > Signed-off-by: Peter Rosin Looks

[PATCH v2] drivers: remoteproc: constify rproc_ops structures

2017-01-01 Thread Bhumika Goyal
Declare rproc_ops structures as const as they are only passed as an argument to the function rproc_alloc. This argument is of type const, so rproc_ops structures having this property can be declared const too. Done using Coccinelle: @r1 disable optional_qualifier @ identifier i; position p; @@ sta

Re: [PATCH v6 8/9] dt-bindings: mux-adg792a: document devicetree bindings for ADG792A/G mux

2017-01-01 Thread Jonathan Cameron
On 30/11/16 08:17, Peter Rosin wrote: > Analog Devices ADG792A/G is a triple 4:1 mux. > > Signed-off-by: Peter Rosin Few comments inline. Worth adding anything about the gpio (output pins) to the binding at this stage as well? Would certainly be nice to support them. Jonathan > --- > .../devi

[PATCH V2 1/2 linux-next] ext4: check inode permissions in ext4_ioctl()

2017-01-01 Thread Fabian Frederick
According to other FS like UDF, ioctl has to check if inode is readable before proceeding otherwise permissions updated between file opening and ioctl are ignored. Set operations were already protected but nothing around get like EXT4_IOC_GETVERSION This patch applies the same test than udf_ioctl

[PATCH V2 2/2 linux-next] ext4: return -EACCES on inode_owner_or_capable() error

2017-01-01 Thread Fabian Frederick
like other cases in ext4_ioctl() Signed-off-by: Fabian Frederick --- fs/ext4/ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index f665c02..3926657 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c @@ -504,7 +504,7 @@ long ext4_ioctl

Re: Stopping watchdog in watchdog driver remove functions

2017-01-01 Thread Wim Van Sebroeck
Hi Guenter, > I noticed that several watchdog drivers stop the watchdog in trhe driver > remove function. > A non-exhaustive list of drivers doing that is > > drivers/watchdog/bcm7038_wdt.c > drivers/watchdog/cadence_wdt.c > drivers/watchdog/imgpdc_wdt.c > drivers/watchdo

Re: [PATCH v6 9/9] misc: mux-adg792a: add mux controller driver for ADG792A/G

2017-01-01 Thread Jonathan Cameron
On 30/11/16 08:17, Peter Rosin wrote: > Analog Devices ADG792A/G is a triple 4:1 mux. > > Signed-off-by: Peter Rosin Looks pretty good. Some minor suggestions inline. This convinced me of two things: 1. Need a separate subsystem directory for muxes - having them under misc is going to lead to lo

Re: [PATCH v6 0/9] mux controller abstraction and iio/i2c muxes

2017-01-01 Thread Jonathan Cameron
On 30/11/16 08:16, Peter Rosin wrote: > Hi! Just a quick note to encourage people to take a look at this series if they have the time (I can't talk as it took me almost exactly a month to take a proper look). It actually ended up a good deal simpler than I expected so I'm falling on the side of th

Re: [PATCH] scsi: mpt3sas: fix hang on ata passthru commands

2017-01-01 Thread Bart Van Assche
On Sat, 2016-12-31 at 15:19 -0800, James Bottomley wrote: > On Thu, 2016-12-29 at 00:02 -0800, Christoph Hellwig wrote: > > On Wed, Dec 28, 2016 at 11:30:24PM -0500, Jason Baron wrote: > > > Add a new parameter to scsi_internal_device_block() to decide > > > whether or not to invoke scsi_wait_for_

Re: Stopping watchdog in watchdog driver remove functions

2017-01-01 Thread Andy Shevchenko
On Sun, Jan 1, 2017 at 1:14 PM, Wim Van Sebroeck wrote: >> Given that, does it even make sense to stop the watchdog in the remove >> function ? >> Should it even be permitted ? > > From an API point of view: if WDIOF_MAGICCLOSE is being used then the watchdog > _SHOULD_ continue to run when the w

Re: [PATCH] scsi: mpt3sas: fix hang on ata passthru commands

2017-01-01 Thread Jason Baron
On 01/01/2017 09:22 AM, Bart Van Assche wrote: > On Sat, 2016-12-31 at 15:19 -0800, James Bottomley wrote: >> On Thu, 2016-12-29 at 00:02 -0800, Christoph Hellwig wrote: >>> On Wed, Dec 28, 2016 at 11:30:24PM -0500, Jason Baron wrote: Add a new parameter to scsi_internal_device_block() to de

Re: [PATCH v6 7/9] i2c: i2c-mux-simple: new driver

2017-01-01 Thread Andy Shevchenko
On Wed, Nov 30, 2016 at 10:17 AM, Peter Rosin wrote: > This is a generic simple i2c mux that uses the generic multiplexer > subsystem to do the muxing. > +static const struct of_device_id i2c_mux_of_match[] = { > + { .compatible = "i2c-mux-simple,parent-locked", > + .data = (void *)

[PATCH] coccinelle: check that dmi_system_id structures are null terminated

2017-01-01 Thread Julia Lawall
Add dmi_system_id to the list of types for which top-level arrays are checked to be null terminated. Signed-off-by: Julia Lawall --- scripts/coccinelle/misc/of_table.cocci | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/scripts/coccinelle/misc/of_tab

undefined reference to `pps_unregister_source'

2017-01-01 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 238d1d0f79f619d75c2cc741d6770fb0986aef24 commit: ee84595a91c60d33cbf1d5b941b04a3ee6cf7ce0 afs, rxrpc: Update the MAINTAINERS file date: 2 weeks ago config: x86_64-randconfig-s1-01012230 (attached as .confi

[PATCH] firmware: google: add __ro_after_init to memconsole_bin_attr

2017-01-01 Thread Bhumika Goyal
The object memconsole_bin_attr of type bin_attribute structure is not modified after getting initialized by memconsole_init. Apart from getting referenced in init it is also passed as an argument to the functions sysfs_{remove/create}_bin_file but both the arguments are of type const struct bin_att

Re: [PATCH] scsi: mpt3sas: fix hang on ata passthru commands

2017-01-01 Thread David Miller
From: Bart Van Assche Date: Sun, 1 Jan 2017 14:22:11 + > My recommendation is to revert commit 18f6084a989b ("scsi: mpt3sas: Fix > secure erase premature termination"). Since the mpt3sas driver uses the > single-queue approach and since the SCSI core unlocks the block layer > request queue lo

[PATCH 0/5] staging-Lustre: Fine-tuning for some function implementations

2017-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 1 Jan 2017 17:10:10 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (5): llite: Use seq_puts() in three functions mgc: Combine two seq_printf() calls into one call in lprocfs_mgc_rd_ir_state() obdclass:

[PATCH 1/5] staging/lustre/llite: Use seq_puts() in three functions

2017-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 1 Jan 2017 15:30:45 +0100 A string which did not contain a data format specification should be put into a sequence. Thus use the corresponding function "seq_puts" so that the data output will be a bit more efficient in these functions. This issue was detected by u

[PATCH 2/5] staging/lustre/mgc: Combine two seq_printf() calls into one call in lprocfs_mgc_rd_ir_state()

2017-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 1 Jan 2017 15:40:29 +0100 Some data were printed into a sequence by two separate function calls. Print the same data by a single function call instead. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/staging/l

[PATCH] video: fbdev: maxinefb: add __initdata to maxinefb_fix

2017-01-01 Thread Bhumika Goyal
The object maxinefb_fix of type fb_fix_screeninfo is never referenced after initialization by maxinefb_init. In the init function, the object and one of its fields is only stored into another variable. So, the object and its fields are never referenced anywhere after initialization and therefore ad

[PATCH 3/5] staging/lustre/obdclass: Use seq_putc() in four functions

2017-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 1 Jan 2017 16:12:23 +0100 A few single characters (line breaks) should be put into a sequence. Thus use the corresponding function "seq_putc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/staging/lustre/lus

[PATCH 4/5] staging/lustre/obdclass: Combine two seq_printf() calls into one call in lprocfs_rd_state()

2017-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 1 Jan 2017 16:26:36 +0100 Some data were printed into a sequence by two separate function calls. Print the same data by a single function call instead. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/staging/l

[PATCH 5/5] staging/lustre/obdclass: Use seq_puts() in three functions

2017-01-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 1 Jan 2017 16:45:32 +0100 A string which did not contain a data format specification should be put into a sequence. Thus use the corresponding function "seq_puts" so that the data output will be a bit more efficient in these functions. This issue was detected by u

arch/xtensa/include/asm/initialize_mmu.h:41: Error: invalid register 'atomctl' for 'wsr' instruction

2017-01-01 Thread kbuild test robot
Hi Pete, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 238d1d0f79f619d75c2cc741d6770fb0986aef24 commit: d0b73b488c55df905ea8faaad079f8535629ed26 xtensa: Add config files for Diamond 233L - Rev C processor variant

arch/mips/vdso/elf.S:1:0: error: '-march=r3000' requires '-mfp32'

2017-01-01 Thread kbuild test robot
Hi Alex, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 238d1d0f79f619d75c2cc741d6770fb0986aef24 commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO date: 1 year, 2 months ago

Re: Stopping watchdog in watchdog driver remove functions

2017-01-01 Thread Guenter Roeck
On 01/01/2017 03:14 AM, Wim Van Sebroeck wrote: Hi Guenter, I noticed that several watchdog drivers stop the watchdog in trhe driver remove function. A non-exhaustive list of drivers doing that is drivers/watchdog/bcm7038_wdt.c drivers/watchdog/cadence_wdt.c drivers/wat

Re: [PATCH] net: socket: don't set sk_uid to garbage value in ->setattr()

2017-01-01 Thread David Miller
From: Lorenzo Colitti Date: Sun, 1 Jan 2017 16:57:23 +0900 > On Sat, Dec 31, 2016 at 8:42 AM, Eric Biggers wrote: >> ->setattr() was recently implemented for socket files to sync the socket >> inode's uid to the new 'sk_uid' member of struct sock. It does this by >> copying over the ia_uid memb

Re: [PATCH] net: stmmac: remove unused duplicate property snps,axi_all

2017-01-01 Thread David Miller
From: Niklas Cassel Date: Fri, 30 Dec 2016 13:56:46 +0100 > From: Niklas Cassel > > For core revision 3.x Address-Aligned Beats is available in two registers. > The DT property snps,aal was created for AAL in the DMA bus register, > which is a read/write bit. > The DT property snps,axi_all was

arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2017-01-01 Thread kbuild test robot
Hi Guenter, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 238d1d0f79f619d75c2cc741d6770fb0986aef24 commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier date

Re: Still OOM problems with 4.9er kernels

2017-01-01 Thread Gerhard Wiesinger
On 23.12.2016 03:55, Minchan Kim wrote: On Fri, Dec 09, 2016 at 04:52:07PM +0100, Gerhard Wiesinger wrote: On 09.12.2016 14:40, Michal Hocko wrote: On Fri 09-12-16 08:06:25, Gerhard Wiesinger wrote: Hello, same with latest kernel rc, dnf still killed with OOM (but sometimes better). ./update

Re: [BUG] 4.9 - kernel oops when pptp connection is established and the kernel doesn't have pptp modules compiled

2017-01-01 Thread Ian Kumlien
On Fri, Dec 30, 2016 at 11:48 PM, Ian Kumlien wrote: > Hi, > > Been fighting with "crash" to get it to help me to analyze my crash > dumps... This is the output from vmcore-dmesg. > > This is 100% reproducible... > > Config that lets the connection trough but crashes the kernel: > # CONFIG_NF_CONN

Re: [PATCH] scsi: mpt3sas: fix hang on ata passthru commands

2017-01-01 Thread James Bottomley
On Sun, 2017-01-01 at 11:33 -0500, David Miller wrote: > From: Bart Van Assche > Date: Sun, 1 Jan 2017 14:22:11 + > > > My recommendation is to revert commit 18f6084a989b ("scsi: mpt3sas: Fix > > secure erase premature termination"). Since the mpt3sas driver uses the > > single-queue approach

cc1: error: '-march=r3900' requires '-mfp32'

2017-01-01 Thread kbuild test robot
Hi James, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 238d1d0f79f619d75c2cc741d6770fb0986aef24 commit: 034827c727f7f3946a18355b63995b402c226c82 MIPS: Fix -mabi=64 build of vdso.lds date: 3 months ago config: m

[PATCH v2 1/2] net: mdio: add mdio45_ethtool_ksettings_get

2017-01-01 Thread Philippe Reynes
There is a function in mdio for the old ethtool api gset. We add a new function mdio45_ethtool_ksettings_get for the new ethtool api glinksettings. Signed-off-by: Philippe Reynes --- Changelog: v2: - simplify the code of ef4_ethtool_get_link_ksettings (feedback from Bert Kenward) drivers/net/

[PATCH v2 2/2] net: sfc: falcon: use new api ethtool_{get|set}_link_ksettings

2017-01-01 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- Changelog: v2: - simplify the code of ef4_ethtool_get_link_ksettings (feedback from Bert Kenward) drivers/net/ethernet/sfc/falcon/efx.c |2

[PATCH] net: dec: de2104x: use new api ethtool_{get|set}_link_ksettings

2017-01-01 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/dec/tulip/de2104x.c | 91 +- 1 files changed, 51 insertions(+), 40 deletions(-) diff --git a/drivers/n

[PATCH] net: dec: uli526x: use new api ethtool_{get|set}_link_ksettings

2017-01-01 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/dec/tulip/uli526x.c | 41 + 1 files changed, 24 insertions(+), 17 deletions(-) diff --git a/drivers/ne

Re: wlcore: fix spelling mistake in wl1271_warning

2017-01-01 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > trivial fix to spelling mistake of function name in wl1271_warning, > should be dynamic_ps_timeout instead of dyanmic_ps_timeout. > > Signed-off-by: Colin Ian King Patch applied to wireless-drivers-next.git, thanks. a60db8e70313 wlcore: fix sp

Re: [V3] rtlwifi: fix spelling mistake: "encrypiton" -> "encryption"

2017-01-01 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in RT_TRACE message > > Signed-off-by: Colin Ian King Patch applied to wireless-drivers-next.git, thanks. e16e558e83ed rtlwifi: fix spelling mistake: "encrypiton" -> "encryption" -- https://patchwork.kernel.or

collect2: error: ld returned 1 exit status

2017-01-01 Thread kbuild test robot
Hi Linus, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 238d1d0f79f619d75c2cc741d6770fb0986aef24 commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM date: 5 months ago config: um-al

[PATCH] net: dec: winbond-840: use new api ethtool_{get|set}_link_ksettings

2017-01-01 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/dec/tulip/winbond-840.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/de

[PATCH] net: dlink: dl2k: use new api ethtool_{get|set}_link_ksettings

2017-01-01 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. The previous implementation of set_settings was modifying the value of speed and duplex, but with the new API, it's not possible. The structure ethtool_link_ksettings is defined as const. Si

[PATCH] net: dlink: sundance: use new api ethtool_{get|set}_link_ksettings

2017-01-01 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/dlink/sundance.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/dlink/sun

Nokia N900 sound driver and ECI GPIOs

2017-01-01 Thread Pali Rohár
Hi! I'm looking at original Maemo N900 2.6.28 sound driver and GPIOs which controls A/V jack detection. For reference source code of that driver can be found e.g. at alsa-devel ML [1] [2] or in my linux-n900 git tree, branch v2.6.28-nokia [3]. In that sound/soc/omap/rx51.c code is function rx51_

[PATCH V7 0/4] Add driver for GE B850v3 LVDS/DP++ Bridge

2017-01-01 Thread Peter Senna Tschudin
The series adds a driver that creates a drm_bridge and a drm_connector for the LVDS to DP++ display bridge of the GE B850v3. There are two physical bridges on the video signal pipeline: a STDP4028(LVDS to DP) and a STDP2690(DP to DP++). The hardware and firmware made it complicated for this bindi

[PATCH V7 1/4] Documentation/devicetree/bindings: b850v3_lvds_dp

2017-01-01 Thread Peter Senna Tschudin
Devicetree bindings documentation for the GE B850v3 LVDS/DP++ display bridge. Cc: Martyn Welch Cc: Martin Donnelly Cc: Javier Martinez Canillas Cc: Enric Balletbo i Serra Cc: Philipp Zabel Cc: Rob Herring Cc: Fabio Estevam Signed-off-by: Peter Senna Tschudin --- There was an Acked-by from

[PATCH V7 4/4] dts/imx6q-b850v3: Use GE B850v3 LVDS/DP++ Bridge

2017-01-01 Thread Peter Senna Tschudin
Configures the GE B850v3 LVDS/DP++ bridge on the dts file. Cc: Martyn Welch Cc: Martin Donnelly Cc: Javier Martinez Canillas Cc: Enric Balletbo i Serra Cc: Philipp Zabel Cc: Rob Herring Cc: Fabio Estevam Signed-off-by: Peter Senna Tschudin --- arch/arm/boot/dts/imx6q-b850v3.dts | 30 +

[PATCH V7 3/4] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2017-01-01 Thread Peter Senna Tschudin
Add a driver that create a drm_bridge and a drm_connector for the LVDS to DP++ display bridge of the GE B850v3. There are two physical bridges on the video signal pipeline: a STDP4028(LVDS to DP) and a STDP2690(DP to DP++). The hardware and firmware made it complicated for this binding to compris

[PATCH V7 2/4] MAINTAINERS: Add entry for GE B850v3 LVDS/DP++ Bridge

2017-01-01 Thread Peter Senna Tschudin
Update the MAINTAINERS file for the GE B850v3 LVDS/DP++ Bridge. Cc: Martyn Welch Cc: Martin Donnelly Cc: Daniel Vetter Cc: Enric Balletbo i Serra Cc: Philipp Zabel Cc: Rob Herring Cc: Fabio Estevam CC: David Airlie CC: Thierry Reding CC: Thierry Reding CC: Archit Taneja Signed-off-by: P

nouveau_drm.c:undefined reference to `nouveau_led_suspend'

2017-01-01 Thread kbuild test robot
Hi Martin, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 238d1d0f79f619d75c2cc741d6770fb0986aef24 commit: 8d021d71b3247937a26ffdf313fd53a9d58778b7 drm/nouveau/drm/nouveau: add a LED driver for the NVIDIA logo date

Re: [PATCH] perf/core: introduce context per CPU event list

2017-01-01 Thread David Carrillo-Cisneros
On Sun, Jan 1, 2017 at 12:20 PM, David Carrillo-Cisneros wrote: > From: Mark Rutland > > On Thu, Nov 10, 2016 at 05:26:32PM +0100, Peter Zijlstra wrote: >> On Thu, Nov 10, 2016 at 02:10:37PM +, Mark Rutland wrote: >> >> > Sure, that sounds fine for scheduling (including big.LITTLE). >> > >> >

Warning: You tried to send an email with blocked content

2017-01-01 Thread Service Desk
The UCL E-Mail Virus Protection System has been triggered by a message you sent. One or more of the original e-mail attachments have been removed and replaced with this message. * The attachment may have contained a virus or malware * The attachment may have an extension of a type unacceptable f

Re: [PATCH v2] fscrypt: Factor out bio specific functions

2017-01-01 Thread Theodore Ts'o
On Mon, Dec 19, 2016 at 12:25:32PM +0100, Richard Weinberger wrote: > That way we can get rid of the direct dependency on CONFIG_BLOCK. > > Reported-by: Arnd Bergmann > Reported-by: Randy Dunlap > Suggested-by: Christoph Hellwig > Fixes: d475a507457b ("ubifs: Add skeleton for fscrypto") > Signe

Re: [PATCH] mm: cma: print allocation failure reason and bitmap status

2017-01-01 Thread Michal Nazarewicz
On Fri, Dec 30 2016, Michal Hocko wrote: > On Fri 30-12-16 16:24:46, Jaewon Kim wrote: > [...] >> >From 7577cc94da3af27907aa6eec590d2ef51e4b9d80 Mon Sep 17 00:00:00 2001 >> From: Jaewon Kim >> Date: Thu, 29 Dec 2016 11:00:16 +0900 >> Subject: [PATCH] mm: cma: print allocation failure reason and bi

Re: Nokia N900 sound driver and ECI GPIOs

2017-01-01 Thread Pavel Machek
Hi! > I'm looking at original Maemo N900 2.6.28 sound driver and GPIOs which > controls A/V jack detection. > > For reference source code of that driver can be found e.g. at alsa-devel > ML [1] [2] or in my linux-n900 git tree, branch v2.6.28-nokia [3]. > > In that sound/soc/omap/rx51.c code is

[PATCH 2/2] blackfin: ezbrd: Remove non-functional DSA/KSZ8893M code

2017-01-01 Thread Florian Fainelli
There is no in tree driver for the KSZ8893M switch driver, so just get rid of the code in that board file. Signed-off-by: Florian Fainelli --- arch/blackfin/mach-bf518/boards/ezbrd.c | 47 - 1 file changed, 47 deletions(-) diff --git a/arch/blackfin/mach-bf518/bo

[PATCH 0/2] blackfin: Remove dead DSA code

2017-01-01 Thread Florian Fainelli
Hi all, This patch series removes dead DSA code in the blackfin board specific code. There is no in tree driver for the KSZ8893M, and clearly this would not compile anymore. Preparatory patch to help remove the legacy DSA platform device code from the tree. Florian Fainelli (2): blackfin: tcm-

[PATCH 1/2] blackfin: tcm-bf518: Remove dsa.h inclusion

2017-01-01 Thread Florian Fainelli
Nothing in that file uses definitions from that header, so just get rid of it. Signed-off-by: Florian Fainelli --- arch/blackfin/mach-bf518/boards/tcm-bf518.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/blackfin/mach-bf518/boards/tcm-bf518.c b/arch/blackfin/mach-bf518/boards/tcm-bf5

drivers/auxdisplay/img-ascii-lcd.c:384: undefined reference to `devm_ioremap_resource'

2017-01-01 Thread kbuild test robot
Hi Paul, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 238d1d0f79f619d75c2cc741d6770fb0986aef24 commit: 0cad855fbd083ee5fd0584a47c2aaa7dca936fd4 auxdisplay: img-ascii-lcd: driver for simple ASCII LCD displays date

Linux 4.10-rc2

2017-01-01 Thread Linus Torvalds
Hey, it's been a really slow week between Christmas Day and New Years Day, and I am not complaining at all. It does mean that rc2 is ridiculously and unrealistically small. I almost decided to skip rc2 entirely, but a small little meaningless release every once in a while never hurt anybody. So he

Re: [BUG] 4.9 - kernel oops when pptp connection is established and the kernel doesn't have pptp modules compiled

2017-01-01 Thread Ian Kumlien
Sorry, after further inspection, it seems like the choice of skb_header_pointer is wrong and skb isn't always populated. It seems like the code has suffered from bitrot since all the surrounding code is actually fixed. This fixes it as well: diff --git a/net/core/flow_dissector.c b/net/core/flow_d

Re: [PATCH] jump label: pass kbuild_cflags when checking for asm goto support

2017-01-01 Thread David Lin
+Cc: Steven Rostedt +Cc: Will Deacon On Fri, Dec 9, 2016 at 4:46 PM, David Lin wrote: > Some versions of ARM GCC compiler such as Android toolchain throws in a > '-fpic' flag by default. This causes the gcc-goto check script to fail > although some config would have '-fno-pic' flag in the KBUIL

[PATCH] Update pptp handling to avoid null pointer deref.

2017-01-01 Thread Ian Kumlien
__skb_flow_dissect can be called with a skb or a data packet, either can be NULL. All calls seems to have been moved to __skb_header_pointer except the pptp handling which is still calling skb_header_pointer. skb_header_pointer will use skb->data and thus: [ 109.556866] BUG: unable to handle kern

Auto-conversion of watchdog drivers to use devm functions

2017-01-01 Thread Guenter Roeck
Hi Wim, With heavy support by Julia Lawall, I created a number of coccinelle scripts to auto-convert watchdog platform drivers to use devm functions. The result is quite impressive - many drivers won't even need remove functions anymore after the conversion. Question is now how to submit the pat

[PATCH] drm: nouveau: fix build when LEDS_CLASS=m

2017-01-01 Thread Randy Dunlap
From: Randy Dunlap Fix build errors in nouveau driver when CONFIG_LEDS_CLASS=m and CONFIG_DRM_NOUVEAU=y. If LEDS_CLASS is enabled, DRM_NOUVEAU is restricted to the same kconfig value as LEDS_CLASS. drivers/built-in.o: In function `nouveau_do_suspend': nouveau_drm.c:(.text+0x2030b1): undefined re

drivers/mtd/nand/oxnas_nand.c:102: undefined reference to `devm_ioremap_resource'

2017-01-01 Thread kbuild test robot
Hi Neil, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0c744ea4f77d72b3dcebb7a8f2684633ec79be88 commit: 668592492409498afc277da41e84799e1d2255c2 mtd: nand: Add OX820 NAND Support date: 2 months ago config: um-al

[GIT PULL] Openrisc fixes for 4.10

2017-01-01 Thread Stafford Horne
Hi Linus, Please pull the below for Openrisc, There was nothing much interesting here except a build fix pointed out by the test robots. Highlights: - Defined _text symbol for fix build error -Stafford The following changes since commit 7ce7d89f48834cefece7804d38fc5d85382edf77: Linux 4.10

[PATCH 8/8] ARM: dts: kirkwood-rd88f6281: Utilize new DSA binding

2017-01-01 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/kirkwood-rd88f6281-z0.dts | 11 arch/arm/boot/dts/kirkwood-rd88f62

[PATCH 0/8] ARM: dts: Switch to new DSA binding

2017-01-01 Thread Florian Fainelli
Hi all, This patch series converts the in-tree users to utilize the new (relatively) DSA binding that was introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. In about 2-3 releases we may consider removing the ol

[PATCH 2/8] ARM: dts: armada-38x: Utilize new DSA binding

2017-01-01 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/armada-385-linksys.dtsi | 52 ++- 1 file change

[PATCH 7/8] ARM: dts: kirkwood-mv88f6281gtw-ge: Utilize new DSA binding

2017-01-01 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts | 49 ++ 1 file change

[PATCH 3/8] ARM: dts: armada-388-clearfog: Utilize new DSA binding

2017-01-01 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/armada-388-clearfog.dts | 65 +++ 1 file change

[PATCH 6/8] ARM: dts: kirkwood-linksys-viper: Utilize new DSA binding

2017-01-01 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/kirkwood-linksys-viper.dts | 49 1 file change

[PATCH 4/8] ARM: dts: armada-xp-linksys-mamba: Utilize new DSA binding

2017-01-01 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 53 +++ 1 file change

[PATCH 5/8] ARM: dts: kirkwood-dir665: Utilize new DSA binding

2017-01-01 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/kirkwood-dir665.dts | 49 +++ 1 file change

[PATCH 1/8] ARM: dts: armada-370-rd: Utilize new DSA binding

2017-01-01 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/armada-370-rd.dts | 44 + 1 file change

[PATCH] taint/module: Fix problems when out-of-kernel driver defines true or false

2017-01-01 Thread Larry Finger
Commit 7fd8329ba502 ("taint/module: Clean up global and module taint flags handling") used the key words true and false as character members of a new struct. These names cause problems when out-of-kernel modules such as VirtualBox include their own definitions of true and false. Fixes: 7fd8329ba50

RE: [RFC] memcpy_nocache() and memcpy_writethrough()

2017-01-01 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Al Viro > Sent: Friday, December 30, 2016 8:26 PM > Subject: [RFC] memcpy_nocache() and memcpy_writethrough() > ... > Why does pmem need writethrough warranties, anyw

[PATCH] auxdisplay: img-ascii-lcd: don't build without HAS_IOMEM

2017-01-01 Thread Randy Dunlap
From: Randy Dunlap Fix build error when the driver is built for arch/um, which does not support HAS_IOMEM. Furthermore, the in-tree SYSCON drivers also require HAS_IOMEM. drivers/built-in.o: In function `img_ascii_lcd_probe': drivers/auxdisplay/img-ascii-lcd.c:384: undefined reference to `devm_

[PATCH] mtd: nand: oxnas_nand: fix build errors on arch/um, require HAS_IOMEM

2017-01-01 Thread Randy Dunlap
From: Randy Dunlap Fix build errors on arch/um, which does not support HAS_IOMEM, while the oxnas_nand.c driver uses interfaces that are supplied by HAS_IOMEM. (loadable module build:) ERROR: "devm_ioremap_resource" [drivers/mtd/nand/oxnas_nand.ko] undefined! or (built-in build:) drivers/built-i

Re: [PATCH] drop_monitor: add missing call to genlmsg_end

2017-01-01 Thread David Miller
From: Reiter Wolfgang Date: Sat, 31 Dec 2016 21:11:57 +0100 > Update nlmsg_len field with genlmsg_end to enable userspace processing > using nlmsg_next helper. Also adds error handling. > > Signed-off-by: Reiter Wolfgang Applied and queued up for -stable, thanks.

Re: [PATCH] Update pptp handling to avoid null pointer deref.

2017-01-01 Thread David Miller
From: Ian Kumlien Date: Mon, 2 Jan 2017 00:19:36 +0100 > __skb_flow_dissect can be called with a skb or a data packet, either > can be NULL. All calls seems to have been moved to __skb_header_pointer > except the pptp handling which is still calling skb_header_pointer. > > skb_header_pointer wi

Re: [PATCH 0/9] dmaengine: stm32-dma: Bug fixes and improvements series

2017-01-01 Thread Vinod Koul
On Tue, Dec 13, 2016 at 02:40:42PM +0100, M'boumba Cedric Madianga wrote: > This patchset adds bug fixes reported by devices using STM32 DMA and some > improvements mainly linked to dmaengine framework evolution. So you should order fixes first and then new additions. Fixes go in for current rele

Re: [PATCH] dmaengine: Convert ID allocation to an IDA

2017-01-01 Thread Vinod Koul
On Thu, Dec 15, 2016 at 08:57:51AM -0800, Matthew Wilcox wrote: > From: Matthew Wilcox > > dmaengine currently uses an IDR to allocate DMA IDs, but it only needs > to know whether IDs are in use or not; the ID to pointer functionality > of the IDR is unused. That means it can use the more space-

Re: [PATCH] dmaengine: ti-dma-crossbar: Add some 'of_node_put()' in error path.

2017-01-01 Thread Vinod Koul
On Mon, Dec 19, 2016 at 06:33:51AM +0100, Christophe JAILLET wrote: > Add some missing 'of_node_put()' in early exit error path. Applied, Thanks -- ~Vinod

Re: [RFC] memcpy_nocache() and memcpy_writethrough()

2017-01-01 Thread Al Viro
On Mon, Jan 02, 2017 at 02:35:36AM +, Elliott, Robert (Persistent Memory) wrote: > > -Original Message- > > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > > ow...@vger.kernel.org] On Behalf Of Al Viro > > Sent: Friday, December 30, 2016 8:26 PM > > Subject: [RFC] memc

Re: [PATCH] drivers: misc: mic: constify mbus_hw_ops structures

2017-01-01 Thread Vinod Koul
On Tue, Dec 20, 2016 at 04:26:17PM +0530, Bhumika Goyal wrote: > The fields of structure mbus_hw_ops are never modified after > initialization, so declare these structures as const. Add a const > annotation to all its initializations and uses like function arguments > and pointers. > Used Coccinell

Re: [PATCH] Wrong domain name in the email address

2017-01-01 Thread Vinod Koul
On Tue, Dec 20, 2016 at 07:07:35PM +0530, Amit Kumar wrote: > cudeaurora.org is used in place of codeaurora.org > in the contact field. Please ensure you use right subsystem tags. applied after fixing that -- ~Vinod

Re: [PATCH] mm: cma: print allocation failure reason and bitmap status

2017-01-01 Thread Jaewon Kim
On 2017년 01월 02일 06:59, Michal Nazarewicz wrote: > On Fri, Dec 30 2016, Michal Hocko wrote: >> On Fri 30-12-16 16:24:46, Jaewon Kim wrote: >> [...] >>> >From 7577cc94da3af27907aa6eec590d2ef51e4b9d80 Mon Sep 17 00:00:00 2001 >>> From: Jaewon Kim >>> Date: Thu, 29 Dec 2016 11:00:16 +0900 >>> Subje

Re: [PATCH] taint/module: Fix problems when out-of-kernel driver defines true or false

2017-01-01 Thread Christoph Hellwig
On Sun, Jan 01, 2017 at 08:25:25PM -0600, Larry Finger wrote: > Commit 7fd8329ba502 ("taint/module: Clean up global and module taint > flags handling") used the key words true and false as character members > of a new struct. These names cause problems when out-of-kernel modules > such as VirtualBo

[REGRESSION] Kernel panic in firmware_request since v4.9

2017-01-01 Thread Ben Gamari
Hello everyone, After a recent upgrade to 4.10-rc2 I noticed that my wireless adapter didn't come up due to a kernel panic in the firmware class induced by iwlwifi, BUG: unable to handle kernel NULL pointer dereference at 0038 IP: _request_firmware+0x995/0xa40 PGD 0

Re: [PATCH V2] Xen: ARM: Zero reserved fields of xatp before making hypervisor call

2017-01-01 Thread Juergen Gross
On 28/12/16 01:47, Jiandi An wrote: > Ensure all reserved fields of xatp are zero before making > hypervisor call to XEN in xen_map_device_mmio(). > xenmem_add_to_physmap_one() in XEN fails the mapping request if > extra.res reserved field in xatp is not zero for XENMAPSPACE_dev_mmio > request. >

Re: [PATCH 1/2] arm64:dt:ls1046a: Add TMU device tree support for LS1046A

2017-01-01 Thread Shawn Guo
On Thu, Dec 08, 2016 at 11:28:25AM +0800, Jia Hongtao wrote: > Also add nodes and properties for thermal management support. > > Signed-off-by: Jia Hongtao "arm64: dts: ls1046a: ..." for subject prefix please. Also, since we have ls1046a in prefix, the 'for LS1046A' is not needed. > --- > arc

surface3_button.c:undefined reference to `i2c_del_driver'

2017-01-01 Thread kbuild test robot
Hi Benjamin, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0c744ea4f77d72b3dcebb7a8f2684633ec79be88 commit: 1a64b719d3ae0e4fb939d9a9e31abb60b4ce4eb1 platform/x86: Introduce button support for the Surface 3 date:

Re: [PATCH 2/2] arm64:dt:ls1012a: Add TMU device tree support for LS1012A

2017-01-01 Thread Shawn Guo
On Thu, Dec 08, 2016 at 11:28:26AM +0800, Jia Hongtao wrote: > Also add nodes and properties for thermal management support. > > Signed-off-by: Jia Hongtao > --- > Depend on patch "[v3] arm64: Add DTS support for FSL's LS1012A SoC". > https://patchwork.kernel.org/patch/9462399/ Please send me th

  1   2   >