On Fri, Aug 18, 2017 at 05:57:59PM +0100, Salil Mehta wrote:
> This patch adds the following support to the HNS3 driver:
> 1. Support to change the Maximum Transmission Unit of a
>of a port in the HNS NIC hardware .
Extra space before dot.
> 2. Initializes the supported MTU range for the netd
-support-for-RTS5250S-power-saving/20170820-102051
base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: i386-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
Hi,
On 20/08/2017 at 03:36:30 +0200, Andreas Färber wrote:
> +static int rtd119x_rtc_read_time(struct device *dev, struct rtc_time *tm)
> +{
> + struct rtd119x_rtc *data = dev_get_drvdata(dev);
> + time64_t t;
> + u32 day;
> +
> + day = readl_relaxed(data->base + RTD_RTCDATE_LOW);
Commit-ID: 8fbbe2d7cc478d1544f41f2271787c993c23a4f6
Gitweb: http://git.kernel.org/tip/8fbbe2d7cc478d1544f41f2271787c993c23a4f6
Author: Alexey Dobriyan
AuthorDate: Sat, 19 Aug 2017 12:57:51 +0300
Committer: Thomas Gleixner
CommitDate: Sun, 20 Aug 2017 10:49:05 +0200
genirq/ipi: Fixup ch
Linus,
please pull the latest core-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
core-urgent-for-linus
A fix for the hardlockup watchdog to prevent false positives with extreme
Turbo-Modes which make the perf/NMI watchdog fire faster than the hrtim
Linus,
please pull the latest irq-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
irq-urgent-for-linus
A pile of smallish changes all over the place:
- Add a missing ISB in the GIC V1 driver
- Remove an ACPI version check in the GIC V3 ITS dr
On Sun, 20 Aug 2017 00:17:38 +0530
Arvind Yadav wrote:
> i2c_device_id are not supposed to change at runtime. All functions
> working with i2c_device_id provided by work with
> const i2c_device_id. So mark the non-const structs as const.
>
> Signed-off-by: Arvind Yadav
Applied.
Thanks,
Jonat
On Sun, 20 Aug 2017 00:17:37 +0530
Arvind Yadav wrote:
> i2c_device_id are not supposed to change at runtime. All functions
> working with i2c_device_id provided by work with
> const i2c_device_id. So mark the non-const structs as const.
>
> Signed-off-by: Arvind Yadav
Applied.
Thanks,
Jonat
Linus,
please pull the latest perf-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
perf-urgent-for-linus
Two fixes for the perf subsystem:
- Fix an inconsistency of RDPMC mm struct tagging across exec() which
causes RDPMC to fault.
- Correct t
On Sun, 20 Aug 2017 00:17:36 +0530
Arvind Yadav wrote:
> i2c_device_id are not supposed to change at runtime. All functions
> working with i2c_device_id provided by work with
> const i2c_device_id. So mark the non-const structs as const.
>
> Signed-off-by: Arvind Yadav
Applied to the togreg br
No need to set .owner here. The core will do it.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Fixes: 52cf590518d7 ("input/keyboard: Add support for Dollar Cove TI power
button")
Signed-off-by: Julia Lawall
Signed-off-by: Fengguang Wu
---
dc_ti_pwrbtn.c |1 -
1 file ch
Got it
On 8/17/2017 10:33 PM, David Miller wrote:
>
> You've posted this series 3 times today.
>
> That's way too fast.
>
> You must wait at least one full day for more feedback to come
> your way.
>
> If you just repsin your series for every little small change nobody is
> going to perform a
On 18/08/2017 4:13 PM, Ben Hutchings wrote:
3.16.47-rc1 review patch. If anyone has any objections, please let me know.
Please notice that there's a fix for this patch, here:
6dc06c08bef1 net/mlx4: Fix the check in attaching steering rules
--
From: Talat Batheesh
commit
We will remove all the casting from void *.
Thanks
On 8/18/2017 8:03 AM, David Miller wrote:
> From: Stephen Hemminger
> Date: Thu, 17 Aug 2017 17:45:40 -0700
>
>> On Thu, 17 Aug 2017 19:52:42 +0800
>> Aviad Krawczyk wrote:
>>
>>> + nic_dev = (struct hinic_dev *)netdev_priv(netdev);
>>
>> Si
Linus,
please pull the latest timers-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
timers-urgent-for-linus
A few small fixes for timer drivers:
- Prevent infinite recursion in the arm architected timer driver with
ftrace
- Propagate error co
Nicholas Piggin (2):
locking: Use spin primitives for busy loops
sched/idle: Use spin loop primitives for polling idle
include/linux/bit_spinlock.h| 5 ++---
include/linux/seqlock.h | 9 -
kernel/locking/mcs_spinlock.h | 6 ++
kernel/locking/mutex.c
Commit fd851a3cdc ("spin loop primitives for busy waiting") introduced
a begin/relax/end sequence for busy loops, to improve behaviour with
some architectures.
Convert most of the generic locking primitives over to use these spin
primitives.
Signed-off-by: Nicholas Piggin
---
include/linux/bit_
Signed-off-by: Nicholas Piggin
---
kernel/sched/idle.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c
index 6c23e30c0e5c..b884980da8ef 100644
--- a/kernel/sched/idle.c
+++ b/kernel/sched/idle.c
@@ -11,6 +11,7 @@
#include
#inc
Linus,
please pull the latest x86-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
x86-urgent-for-linus
Another pile of small fixes and updates for x86:
- Plug a hole in the SMAP implementation which misses to clear AC on NMI
entry
- Fix the no
On Fri, 18 Aug 2017, David Daney wrote:
> On 08/18/2017 02:24 AM, Thomas Gleixner wrote:
> > On Thu, 17 Aug 2017, David Daney wrote:
> >
> > > The ThunderX/OCTEON-TX GPIO hardware looks like a PCIe device, with
> > > the interrupt signal from each GPIO line being routed to a dedicated
> > > MSI-X.
This patch updates pio, usb and crypto nodes to make them be
consistent with the binding documents.
Signed-off-by: Ryder Lee
---
arch/arm/boot/dts/mt7623.dtsi | 52 ++-
1 file changed, 27 insertions(+), 25 deletions(-)
diff --git a/arch/arm/boot/dts/mt762
This patch adds devices nodes and updates pinmux setting for the PICe
function block. Just note that PCIe port2 PHY is shared with U3 port.
Signed-off-by: Ryder Lee
---
arch/arm/boot/dts/mt7623.dtsi | 108 ++
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts |
This patch adds the device nodes for the display function block.
Also, we add some missing pin macros in mt7623-pinfunc.h.
Signed-off-by: Ryder Lee
CC: Linus Walleij
---
arch/arm/boot/dts/mt7623.dtsi | 210 ++
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
This patch adds interrupt-names property in audio node so that
binding can be agnostic of the IRQ order [1][2].
Signed-off-by: Ryder Lee
CC: Garlic Tseng
CC: Erin Lo
CC: Sean Wang
---
[1]https://patchwork.kernel.org/patch/9901225/
[2]https://lkml.org/lkml/2017/8/18/292
---
---
arch/arm/boot/d
Commit-ID: 3cf294962df8fcde710eb5e762e0929e2ba49947
Gitweb: http://git.kernel.org/tip/3cf294962df8fcde710eb5e762e0929e2ba49947
Author: Krzysztof Opasiak
AuthorDate: Wed, 5 Jul 2017 19:25:48 +0200
Committer: Thomas Gleixner
CommitDate: Fri, 18 Aug 2017 12:44:42 +0200
posix-cpu-timers: U
The ixgbe driver use the compile check to determine if it can
send TLPs to Root Port with the Relaxed Ordering Attribute set,
this is too inconvenient, now the new flag PCI_DEV_FLAGS_NO_RELAXED_ORDERING
has been added to the kernel and we could check the bit4 in the PCIe
Device Control register to
The new flag PCI_DEV_FLAGS_NO_RELAXED_ORDERING has been added
to indicate that Relaxed Ordering Attributes (RO) should not
be used for Transaction Layer Packets (TLP) targeted toward
these affected Root Port, it will clear the bit4 in the PCIe
Device Control register, so the PCIe device drivers cou
The new flag PCI_DEV_FLAGS_NO_RELAXED_ORDERING has been added
to indicate that Relaxed Ordering Attributes (RO) should not
be used for Transaction Layer Packets (TLP) targeted toward
these affected Root Port, it will clear the bit4 in the PCIe
Device Control register, so the PCIe device drivers cou
On Thu, 17 Aug 2017 16:14:43 +0200
Wolfram Sang wrote:
> So, after revisiting old mail threads, taking part in a similar discussion on
> the USB list, and implementing a not-convincing solution before, here is what
> I
> cooked up to document and ease DMA handling for I2C within Linux. Please ha
On Fri, Aug 18, 2017 at 06:17:15PM +0300, Anton Volkov wrote:
> Hello.
>
> While searching for races in the Linux kernel I've come across
> "drivers/infiniband/hw/mlx5/mlx5_ib.ko" module. Here are questions that I
> came up with while analyzing results. Lines are given using the info from
> Linux v
According to error handling in this function, it is likely that going to
'err_ulpi' was expected here.
Fixes: 605b8652f7f0 ("phy: Add support for Qualcomm's USB HSIC phy")
Signed-off-by: Christophe JAILLET
Reviewed-by: Stephen Boyd
---
v2: rebase after commit 0b56e9a7e835 which has moved from
This patchset is the result of discussion:
https://lkml.org/lkml/2017/7/31/454
First patch introduces MMCF flags for mm_context_t ->flags to separate it from
TIF ones. And second patch moves personality-related setup code from
SET_PERSONALITY() to the helper.
Yury Norov (2):
arm64: introduce se
Currently mm->context.flags field uses thread_info flags which is not
the best idea for many reasons. For example, mm_context_t doesn't need
most of thread_info flags. And it would be difficult to add new mm-related
flag if needed because it may easily interfere with TIF ones.
To deal with it, the
There is some work that should be done after setting the personality.
Currently it's done in the macro, which is not the best idea.
In this patch new arch_setup_new_exec() routine is introduced, and all
setup code is moved there, as suggested by Catalin:
https://lkml.org/lkml/2017/8/4/494
v2:
-
On Fri, 18 Aug 2017 14:42:59 +0700
Abhisit Sangjan wrote:
> Hi Jmondi,
>
> After I removed those cases, I got warnings "no handled in switch".
>
> On Fri, Aug 18, 2017 at 10:15 AM, Abhisit Sangjan
> wrote:
>
> > Hi Jmondi,
> >
> > On Fri, Aug 18, 2017 at 9:58 AM, jmondi wrote:
> >
> >> Hi
On Fri, 18 Aug 2017 22:08:10 -0400
Harinath Nampally wrote:
> This driver supports multiple devices like mma8653, mma8652, mma8452, mma8453
> and
> fxls8471. Almost all these devices have more than one event. Current driver
> design
> hardcodes the event specific information, so only one event
On Friday 04 August 2017 04:37 AM, Bjorn Helgaas wrote:
> On Wed, Aug 02, 2017 at 10:38:21AM +0530, Kishon Vijay Abraham I wrote:
>> Hi,
>>
>> On Monday 31 July 2017 12:04 PM, Varadarajan Narayanan wrote:
>>> v6:
>>> Added 'Reviewed-by: Vivek Gautam ' and fixed
>>> white space issues as menti
Adrian,
On Thursday 17 August 2017 01:53 PM, Adrian Hunter wrote:
> On 17/08/17 10:59, Kishon Vijay Abraham I wrote:
>> Hi Adrian,
>>
>> On Thursday 17 August 2017 12:13 PM, Adrian Hunter wrote:
>>> On 17/08/17 08:57, Kishon Vijay Abraham I wrote:
Hi Adrian,
On Tuesday 15 August 201
On Wed, 19 Jul 2017 17:25:36 +0200
Philipp Zabel wrote:
> Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting
> reset lines") started to transition the reset control request API calls
> to explicitly state whether the driver needs exclusive or shared reset
> control behavior.
On Wed, 19 Jul 2017 17:25:35 +0200
Philipp Zabel wrote:
> Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting
> reset lines") started to transition the reset control request API calls
> to explicitly state whether the driver needs exclusive or shared reset
> control behavior.
Debian's gcc defaults to pie. The global Makefile already defines the -fno-pie
option.
Link UML dynamic kernel image also with -no-pie to fix the build.
Signed-off-by: Thomas Meyer
---
arch/um/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/um/Makefile b/arch/u
When building a dynamic kernel image use relative symbols with MODVERSIONS.
Signed-off-by: Thomas Meyer
---
arch/um/Kconfig.um | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/um/Kconfig.um b/arch/um/Kconfig.um
index 4b2ed5858b2e..e26376ab5452 100644
--- a/arch/um/Kconfig.um
+++ b/arch/u
Target install-man builds them but forget to install.
Signed-off-by: Konstantin Khlebnikov
---
tools/perf/Documentation/Makefile |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/Documentation/Makefile
b/tools/perf/Documentation/Makefile
index 098cfb9ca8f0..db114
* libunwind-x86_64 must be linked before libunwind
* libunwind requires liblzma
* static libunwind conflicts with static libgcc_eh
Signed-off-by: Konstantin Khlebnikov
---
tools/perf/Makefile.config |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tools/perf/Makefile.c
Fix feature test for static libdw: link required dependencies.
Backends of libebl are not statically linked thus libdl is required.
In Debian/Ubuntu libdw-dev includes libebl.a starting from 0.166-1.
Signed-off-by: Konstantin Khlebnikov
---
tools/perf/Makefile.config | 10 +-
1 file c
Fix misprint CAP_IOC_LOCK -> CAP_IPC_LOCK. This capability have nothing
to do with raw tracepoints. This part is about bypassing mlock limits.
Sysctl kernel.perf_event_paranoid = -1 allows raw and ftrace function
tracepoints without CAP_SYS_ADMIN.
Signed-off-by: Konstantin Khlebnikov
---
Docume
On Sat, Aug 19, 2017 at 01:52:12PM +0530, Bhumika Goyal wrote:
> Make these const as they are only stored in the type field of a device
> structure, which is const.
> Done using Coccinelle.
>
> Signed-off-by: Bhumika Goyal
> ---
> drivers/edac/edac_mc_sysfs.c | 8
> drivers/edac/i7core_
On (08/18/17 00:05), Laurent Dufour wrote:
[..]
> + /*
> + * MPOL_INTERLEAVE implies additional check in mpol_misplaced() which
> + * are not compatible with the speculative page fault processing.
> + */
> + pol = __get_vma_policy(vma, address);
> + if (!pol)
> +
The following commits:
commit c815fdebef44 ("wlcore: spi: Populate config firmware data")
commit d776fc86b82f ("wlcore: sdio: Populate config firmware data")
Populated the nvs entry for wilink6 and wilink7 only while it is
still needed for wilink8 as well.
This broke user space backward compatibil
Hi Arnd,
This patch was picked up for linux-next
(I assume it was queued up for 4.14-rc1)
but I see this warning in Linus' tree.
If we are not comfortable with this warning in the 4.13 release,
shall I include this patch in the kbuild/fixes pull request?
(planned this week)
Please let me know yo
2017-08-19 6:54 GMT+09:00 Shuah Khan :
> kselftest-clean isn't in the PHONY target list. Add it.
>
> Signed-off-by: Shuah Khan
> ---
Applied to linux-kbuild/fixes. Thanks!
--
Best Regards
Masahiro Yamada
2017-08-19 6:54 GMT+09:00 Shuah Khan :
> kselftest-clean isn't in the PHONY target list. Add it.
>
> Signed-off-by: Shuah Khan
> ---
Applied to linux-kbuild/fixes. Thanks!
--
Best Regards
Masahiro Yamada
This patch adds support for Fn keys on Asus ROG G752 laptop.
The report descriptor is broken so I fixed it.
Tested on an Asus G752VT.
Signed-off-by: Maxime Bellengé
---
drivers/hid/hid-asus.c | 29 +
drivers/hid/hid-core.c | 2 +-
drivers/hid/hid-ids.h | 1 +
3 fi
2017-08-19 2:36 GMT+02:00 John Stultz :
> On Thu, Aug 17, 2017 at 3:48 PM, Shuah Khan wrote:
>> When a test exits with skip exit code of 4, "make run_destructive_tests"
>> halts testing. Fix run_destructive_tests target to handle error exit codes.
>>
>> Reported-by: John Stultz
>> Signed-off-by:
Hi Arnd,
2017-07-20 16:24 GMT+09:00 Arnd Bergmann :
> On Wed, Jul 19, 2017 at 11:50 PM, wrote:
>> --
>> From: Arnd Bergmann
>> Subject: kbuild: disable -Wformat-truncation warnings by default
>>
>> With x86 allmodconfig, we currently get 233
On 19-08-17, 22:22, Christophe JAILLET wrote:
> If 'dev_pm_opp_set_supported_hw()' fails, 'opp_data->opp_node' refcount
> will be decremented 2 times.
> One, just a few lines above, and another one in the error handling path.
>
> Fix it by simply moving the 'of_node_put' call of the normal path.
>
> I think we cannot use mdio-mux-mmioreg since the register for doing
> the switch is in middle of the "System Control" and shared with
> other functions. This is why we use a sycon/regmap for selecting
> the MDIO.
You could add a mdio-mux-regmap.c.
However, it probably need restructuring of the
Hi Leon
> -Original Message-
> From: Leon Romanovsky [mailto:l...@kernel.org]
> Sent: Sunday, August 20, 2017 8:05 AM
> To: Salil Mehta
> Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); lipeng (Y);
> mehta.salil@gmail.com; net...@vger.kernel.org; linux-
> ker...@vger.kernel.org; linux-r
This driver supports multiple devices like mma8653,
mma8652, mma8452, mma8453 and fxls8471. Almost all
these devices have more than one event.
Current driver design hardcodes the event specific
information, so only one event can be supported by this
driver at any given time
On Sat, 19 Aug 2017 19:10:35 +0100
Ard Biesheuvel wrote:
> To avoid the need for relocating absolute references to tracepoint
> structures at boot time when running relocatable kernels (which may
> take a disproportionate amount of space), add the option to emit
> these tables as relative referen
On Sun, 20 Aug 2017 10:42:54 -0400
Harinath Nampally wrote:
[PATCH V3]...
(I think, I've lost track - but this needs to be in the patch title
so we know which is latest.
> This driver supports multiple devices like mma8653,
> mma8652, mma8452, mma8453 and fxls8471. Almost all
> these
[PATCH V3]...
(I think, I've lost track - but this needs to be in the patch title
so we know which is latest.
ok I will resend it with patch version and change history.
This just missed my pull request for today anyway. There may be time for
another pull towards the end of this week, depending
> +static void rtd119x_rtc_set_enabled(struct device *dev, bool enable)
> +{
> + struct rtd119x_rtc *data = dev_get_drvdata(dev);
> + u32 val;
> +
> + val = readl_relaxed(data->base + RTD_RTCEN);
> + dev_info(dev, "%s: rtcen = 0x%08x\n", __func__, val);
dev_dbg()?
> +static int rt
If 'of_find_device_by_node()' fails at line 153, a NULL pointer
dereference (pdev) will occur in the error handling path.
Just remove the 'devm_iounmap()' call from the error handling path. The
corresponding is managed, there is no need to release explicitly here.
Fixes: 35ef1c20fdb2 ("fsl/qe: Ad
Return 0 instead of 'ret' (which is 0 at this point) to make the code more
explicit.
Also avoid a useless initialization of 'ret'.
Signed-off-by: Christophe JAILLET
---
drivers/soc/fsl/qe/qe_tdm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/soc/fsl/qe/qe_tdm.c
Hi Rob, DT developers,
Any comments for this series?
Thanks.
2017-07-25 11:23 GMT+09:00 Masahiro Yamada :
>
> Masahiro Yamada (3):
> of: remove drivers/of/testcase-data from include search path for CPP
> of: remove arch/$(SRCARCH)/boot/dts from include search path for CPP
> of: search scr
This driver supports multiple devices like mma8653,
mma8652, mma8452, mma8453 and fxls8471. Almost all
these devices have more than one event.
Current driver design hardcodes the event specific
information, so only one event can be supported by this
driver at any given time
On Sun, Aug 20, 2017 at 02:35:58PM +, Salil Mehta wrote:
> Hi Leon
>
> > -Original Message-
> > From: Leon Romanovsky [mailto:l...@kernel.org]
> > Sent: Sunday, August 20, 2017 8:05 AM
> > To: Salil Mehta
> > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); lipeng (Y);
> > mehta.salil
> Acked-by: Alexei Starovoitov
David, Russell, Kees and Daniel, Anything from your side? Is this
patch ready to land in net-next?
Hi,
This is a relatively high-level update of the PM part of admin-guide
adding a description of PM strategies supported by the kernel and
system sleep states.
The old system sleep states document is removed.
Thanks,
Rafael
From: Rafael J. Wysocki
Reorganize the power management part of admin-guide by adding a
description of major power management strategies supported by the
kernel (system-wide and working-state power management) to it and
dividing the rest of the material into the system-wide PM and
working-state P
From: Rafael J. Wysocki
The Documentation/power/states.txt document is now redundant and
sonewhat outdated, so delete it.
Signed-off-by: Rafael J. Wysocki
---
Documentation/power/states.txt | 127 -
1 file changed, 127 deletions(-)
Index: linux-pm/Docu
On 18.08.2017 19:15, Mikko Perttunen wrote:
> Since Tegra186 the Host1x hardware allows syncpoints to be assigned to
> specific channels, preventing any other channels from incrementing
> them.
>
> Enable this feature where available and assign syncpoints to channels
> when submitting a job. Syncp
On 18.08.2017 19:15, Mikko Perttunen wrote:
> The gather filter is a feature present on Tegra124 and newer where the
> hardware prevents GATHERed command buffers from executing commands
> normally reserved for the CDMA pushbuffer which is maintained by the
> kernel driver.
>
> This commit enables
'spi' is known to be NULL, so we dereference a NULL pointer here.
Use 'pr_crit()' instead of 'dev_crit()' to report the message.
Signed-off-by: Christophe JAILLET
---
drivers/net/ieee802154/ca8210.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/net/ieee802154/ca
On Sun, Aug 20, 2017 at 11:19:38AM +0200, Julia Lawall wrote:
> No need to set .owner here. The core will do it.
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> Fixes: 52cf590518d7 ("input/keyboard: Add support for Dollar Cove TI power
> button")
> Signed-off-by: Julia L
On Thu, Aug 17, 2017 at 05:08:01PM +0530, Arvind Yadav wrote:
> serio_device_id are not supposed to change at runtime. All functions
> working with serio_device_id provided by work with
> const serio_device_id. So mark the non-const structs as const.
Applied the lot, thank you.
>
> Arvind Yadav
From: Markus Elfring
Date: Sun, 20 Aug 2017 18:24:56 +0200
Some update suggestions were taken into account
from static source code analysis.
Markus Elfring (8):
Delete 11 error messages for a failed memory allocation
Improve 27 size determinations
One function call less in cifs_lookup() af
From: Markus Elfring
Date: Sun, 20 Aug 2017 14:35:36 +0200
Omit extra messages for a memory allocation failure in these functions.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
fs/cifs/connect.c | 17 -
fs/cifs/sess.c
From: Markus Elfring
Date: Sun, 20 Aug 2017 15:40:55 +0200
Replace the specification of data structures by pointer dereferences
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.
This issue was detec
From: Markus Elfring
Date: Sun, 20 Aug 2017 16:26:44 +0200
The kfree() function was called in up to two cases by the
cifs_lookup() function during error handling even if the passed variable
contained a null pointer.
* Adjust a jump target according to the Linux coding style convention.
* Delete
From: Markus Elfring
Date: Sun, 20 Aug 2017 16:30:06 +0200
Add a jump target so that a bit of exception handling can be better reused
in this function.
Signed-off-by: Markus Elfring
---
fs/cifs/dir.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/cifs/dir.c b/fs/c
From: Markus Elfring
Date: Sun, 20 Aug 2017 16:56:18 +0200
The kfree() function was called in a few cases by the
cifs_mknod() function during error handling even if
the passed variable contained a null pointer.
* Adjust jump targets according to the Linux coding style convention.
* Delete an in
From: Markus Elfring
Date: Sun, 20 Aug 2017 17:17:30 +0200
Return directly after a call of the function "build_path_from_dentry"
failed at the beginning.
Signed-off-by: Markus Elfring
---
fs/cifs/dir.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/fs/cifs/dir.c b/fs
From: Markus Elfring
Date: Sun, 20 Aug 2017 17:20:36 +0200
The local variable "full_path" will be set to an appropriate pointer
a bit later. Thus omit the explicit initialisation at the beginning.
Signed-off-by: Markus Elfring
---
fs/cifs/dir.c | 2 +-
1 file changed, 1 insertion(+), 1 deletio
From: Markus Elfring
Date: Sun, 20 Aug 2017 17:47:44 +0200
The kfree() function was called in a few cases by the
cifs_do_create() function during error handling even if
the passed variable contained a null pointer.
Add a jump target according to the Linux coding style convention.
Signed-off-by:
On Sun, 20 Aug 2017, Dmitry Torokhov wrote:
> On Sun, Aug 20, 2017 at 11:19:38AM +0200, Julia Lawall wrote:
> > No need to set .owner here. The core will do it.
> >
> > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> >
> > Fixes: 52cf590518d7 ("input/keyboard: Add support for
On 20.08.2017 19:24, Dmitry Osipenko wrote:
> On 18.08.2017 19:15, Mikko Perttunen wrote:
>> The gather filter is a feature present on Tegra124 and newer where the
>> hardware prevents GATHERed command buffers from executing commands
>> normally reserved for the CDMA pushbuffer which is maintained
On 18.08.2017 19:15, Mikko Perttunen wrote:
> Since Tegra186 the Host1x hardware allows syncpoints to be assigned to
> specific channels, preventing any other channels from incrementing
> them.
>
> Enable this feature where available and assign syncpoints to channels
> when submitting a job. Syncp
On 20.08.2017 19:44, Dmitry Osipenko wrote:
> On 20.08.2017 19:24, Dmitry Osipenko wrote:
>> On 18.08.2017 19:15, Mikko Perttunen wrote:
>>> The gather filter is a feature present on Tegra124 and newer where the
>>> hardware prevents GATHERed command buffers from executing commands
>>> normally res
From: Sean Wang
MediaTek BTIF controller is the serial interface similar to UART but it
works only as the digital device which is mainly used to communicate with
the connectivity module called CONNSYS inside the SoC which could be mostly
found on those MediaTek SoCs with Bluetooth feature such as
From: Sean Wang
Since v3:
- enhancing the definition of the compatible strings in dt-bindings
Since v2:
- reusing 8250_of since the original driver has almost the same logic
This patchset introduces the support for MediaTek BTIF controller.
MediaTek BTIF controller is the serial interface sim
From: Sean Wang
Document the devicetree bindings in 8250.txt for MediaTek BTIF
controller which could be found on MT7622 and MT7623 SoC.
Signed-off-by: Sean Wang
---
Documentation/devicetree/bindings/serial/8250.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree
On 07/08/2017 14:47, Marc Zyngier wrote:
> On 01/08/17 17:56, Mason wrote:
>
>> +/*
>> + * This controller maps IRQ_MAX input lines to SPI_MAX output lines.
>> + * The output lines are routed to GIC SPI 0 to 23.
>> + * This driver muxes LEVEL_HIGH IRQs onto output line 0,
>> + * and gives every ED
Make these const as they are only used during a copy operation.
Some structures are used as a copy operation inside __init functions, so
make them const and replace __initdata with __initconst to avoid section
conflict error.
Signed-off-by: Bhumika Goyal
---
drivers/video/fbdev/68328fb.c | 2
On Fri, Aug 18, 2017 at 06:16:39PM +0530, Janani S wrote:
> This patch fixes multiple line dereference warning reported
> by checkpatch script.
>
> Signed-off-by: Janani S
> ---
> drivers/staging/wlan-ng/hfa384x_usb.c | 12
> 1 file changed, 4 insertions(+), 8 deletions(-)
>
> diff
On Fri, Aug 18, 2017 at 11:53:41PM +0800, 张树荣 wrote:
> From: Shurong Zhang
>
> Replace hard-coded function names in strings with "%s", __func__
> in the dot11d.c file. Issue found by checkpatch.pl.
>
> Signed-off-by: Shurong Zhang
> ---
> drivers/staging/rtl8192e/dot11d.c | 4 ++--
> 1 fil
On 18.08.2017 19:15, Mikko Perttunen wrote:
> Since Tegra186 the Host1x hardware allows syncpoints to be assigned to
> specific channels, preventing any other channels from incrementing
> them.
>
> Enable this feature where available and assign syncpoints to channels
> when submitting a job. Syncp
On Sun, Aug 20, 2017 at 06:05:05PM +0200, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki
>
> Reorganize the power management part of admin-guide by adding a
> description of major power management strategies supported by the
> kernel (system-wide and working-state power management) to it and
Make this const as it is only used as a copy operation.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal
---
drivers/gpio/gpio-zevio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-zevio.c b/drivers/gpio/gpio-zevio.c
index e23ef7b..3926ce9 100644
--- a/
1 - 100 of 243 matches
Mail list logo