'cdev->os_desc_req' has been allocated with 'usb_ep_alloc_request' so
'usb_ep_free_request' should be used to free it.
Signed-off-by: Christophe JAILLET
---
drivers/usb/gadget/composite.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/composite.c b/drivers
From: Markus Elfring
Date: Sat, 16 Jul 2016 08:28:13 +0200
The drm_gem_object_unreference_unlocked() function tests whether
its argument is NULL and then returns immediately.
Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Ma
'cdev->os_desc_req' has been allocated with 'usb_ep_alloc_request' so
'usb_ep_free_request' should be used to free it.
Signed-off-by: Christophe JAILLET
---
drivers/usb/gadget/composite.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/composite.c b/drivers
In 'composite_os_desc_req_prepare', if one of the memory allocations fail,
0 will be returned, which means success.
We should return -ENOMEM instead.
Signed-off-by: Christophe JAILLET
---
drivers/usb/gadget/composite.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drive
From: Florian Fainelli
Date: Fri, 15 Jul 2016 16:42:01 -0700
> @@ -4599,7 +4599,9 @@ static void bnxt_tx_enable(struct bnxt *bp)
> for (i = 0; i < bp->tx_nr_rings; i++) {
> txr = &bp->tx_ring[i];
> txq = netdev_get_tx_queue(bp->dev, i);
> + __netif_tx
On Sat, Jul 16, 2016 at 4:45 AM, Ard Biesheuvel
wrote:
> On 15 July 2016 at 07:52, Alexandre Courbot wrote:
>> On Fri, Jul 8, 2016 at 1:59 AM, Ard Biesheuvel
>> wrote:
>>> The 100c08 scratch page is mapped using dma_map_page() before the TTM
>>> layer has had a chance to set the DMA mask. This m
From: Borislav Petkov
Add a "printk.devkmsg" kernel command line parameter which controls how
userspace writes into /dev/kmsg. It has three options:
* ratelimit - ratelimit logging from userspace.
* on - unlimited logging from userspace
* off - logging from userspace gets ignored
The default s
From: Borislav Petkov
Extend the ratelimiting facility to print the amount of suppressed lines
when it is being released.
This use case is aimed at short-termed, burst-like users for which we
want to output the suppressed lines stats only once, after it has been
disposed of. For an example, see
From: Borislav Petkov
Hi guys,
here's v5 with Andrew's review comments addressed (I hope all).
I've unified the setting names for both sysctl(2) and the kernel cmdline
to "on", "off" and "ratelimit" so that there's no confusion anymore as
to which sysctl number corresponds to what string. This
On Thu, Jul 14, 2016 at 01:44:56PM +0300, Dan Carpenter wrote:
> There is a cut and paste issue here. The bug is that we are allocating
> more memory than necessary for msp_maps. We should be allocating enough
> space for a map_info struct (144 bytes) but we instead allocate enough
> for an mtd_i
From: Markus Elfring
Date: Sat, 16 Jul 2016 07:23:42 +0200
The vunmap() function performs also input parameter validation.
Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/gpu/drm/tegra/fb.c | 2 +-
On Sun, Jul 10, 2016 at 02:30:01PM -0700, Alison Schofield wrote:
> Move the config register locking to the config update function. This
> continues to protect updates to heater and integration times. It puts
> the lock in one place, right where it needs to occur.
Since creating this patch, I've
2016-07-16 11:11 GMT+09:00 Michael Turquette :
> Quoting Masahiro Yamada (2016-05-05 00:57:17)
>> Several SoCs implement platform drivers for clocks rather than
>> CLK_OF_DECLARE(). Clocks should come earlier because they are
>> prerequisites for many of other drivers. It will help to mitigate
>>
> > >> +#define loop_until_timeout(tout, op_time)\
> > >> + for (tout = jiffies + msecs_to_jiffies(write_timeout), \
> > >> + op_time = jiffies; \
> > >> + time_before(op_time, tout);
On Fri, Jul 15, 2016 at 8:15 PM, Andy Green wrote:
> On Fri, 2016-07-15 at 19:13 -0700, John Stultz wrote:
>> This patch set is required for HDMI audio support on HiKey.
>>
>> This patchset hasn't yet seen the light of lkml, so I suspect
>> there will be a few revisions, but I wanted to send it ou
On (07/16/16 00:12), Dan Carpenter wrote:
> The curly braces are missing here so we print stuff unintentionally.
>
> Fixes: 9da4714a2d4f ('slub: slabinfo update for cmpxchg handling')
Hello,
a minor correction:
it's9da4714a2d44
not 9da4714a2d4f
-ss
> Signed-off-by: Dan Carpen
On Fri, 2016-07-15 at 19:13 -0700, John Stultz wrote:
> This patch set is required for HDMI audio support on HiKey.
>
> This patchset hasn't yet seen the light of lkml, so I suspect
> there will be a few revisions, but I wanted to send it out for
> an initial review.
>
> The work is mostly that o
> Subject: Re: Memory and IO space Enabling different in x86 and ARM64
>
> On Fri, Jul 15, 2016 at 08:29:49AM +, Bharat Kumar Gogada wrote:
> > Hi,
> >
> > I observe that memory and IO space are enabled by BIOS in x86.
> >
> > In ARM64 we need to call pci_enable_device form End Point to enable
Dear RT Folks,
I'm pleased to announce the 3.14.73-rt78 stable release.
Due to a bug in a backport, I had to make a quick update.
Reported-by: Arnd Bergmann
You can get this release via the git tree at:
git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git
branch: v3.14-r
> Subject: Re: Memory and IO space Enabling different in x86 and ARM64
>
> On Friday, July 15, 2016 8:29:49 AM CEST Bharat Kumar Gogada wrote:
> > I observe that memory and IO space are enabled by BIOS in x86.
> >
> > In ARM64 we need to call pci_enable_device form End Point to enable
> these resou
On 07/15/2016 07:36 AM, Quentin Schulz wrote:
On 15/07/2016 16:03, Guenter Roeck wrote:
On 07/15/2016 02:59 AM, Quentin Schulz wrote:
[...]
+static ssize_t iio_hwmon_read_label(struct device *dev,
+struct device_attribute *attr,
+char *buf)
+{
+struc
Sean,
On 07/15/2016 09:13 PM, Sean Paul wrote:
On Fri, Jul 15, 2016 at 06:55:17PM +0800, Yakir Yang wrote:
The full name of PSR is Panel Self Refresh, panel device could refresh
itself with the hardware framebuffer in panel, this would make lots of
sense to save the power consumption.
This pat
On Fri, Jul 15, 2016 at 07:16:01PM -0700, Sargun Dhillon wrote:
>
>
> On Thu, 14 Jul 2016, Alexei Starovoitov wrote:
>
> >On Wed, Jul 13, 2016 at 01:31:57PM -0700, Sargun Dhillon wrote:
> >>
> >>
> >>On Wed, 13 Jul 2016, Alexei Starovoitov wrote:
> >>
> >>>On Wed, Jul 13, 2016 at 03:36:11AM -070
Sean,
On 07/15/2016 09:04 PM, Sean Paul wrote:
On Fri, Jul 15, 2016 at 6:55 AM, Yakir Yang wrote:
VOP have integrated a hardware counter which indicate the exact display
line that vop is scanning. And if we're interested in a specific line,
we can set the line number to vop line_flag register,
I2C_CLASS_HWMON is for a hardware monitoring chip wanting
auto-detection. IIO drivers don't typically use .class.
Remove it.
Signed-off-by: Alison Schofield
Cc: Daniel Baluta
---
drivers/staging/iio/light/isl29018.c | 1 -
drivers/staging/iio/light/isl29028.c | 1 -
2 files changed, 2 deletio
Hi Rafeal,
On 16 July 2016 at 05:22, Rafael J. Wysocki wrote:
> On Saturday, July 16, 2016 12:32:14 AM Fu Wei wrote:
>> Hi Rafael,
>>
>> On 15 July 2016 at 21:07, Rafael J. Wysocki wrote:
>> > On Friday, July 15, 2016 02:15:27 PM Rafael J. Wysocki wrote:
>> >> On Friday, July 15, 2016 03:32:35 P
On Thu, 14 Jul 2016, Alexei Starovoitov wrote:
On Wed, Jul 13, 2016 at 01:31:57PM -0700, Sargun Dhillon wrote:
On Wed, 13 Jul 2016, Alexei Starovoitov wrote:
On Wed, Jul 13, 2016 at 03:36:11AM -0700, Sargun Dhillon wrote:
Provides BPF programs, attached to kprobes a safe way to write to
From: Andy Green
Currently the k3dma driver doesn't offer the cyclic mode
necessary for handling audio.
This patch adds it.
Cc: Zhangfei Gao
Cc: Jingoo Han
Cc: Krzysztof Kozlowski
Cc: Maxime Ripard
Cc: Vinod Koul
Cc: Dan Williams
Cc: Liam Girdwood
Cc: Mark Brown
Cc: Jaroslav Kysela
Cc:
From: Andy Green
The offsets for ERR1 and ERR2 are wrong actually.
That's why you can never clear an error.
Cc: Zhangfei Gao
Cc: Jingoo Han
Cc: Krzysztof Kozlowski
Cc: Maxime Ripard
Cc: Vinod Koul
Cc: Dan Williams
Cc: Liam Girdwood
Cc: Mark Brown
Cc: Jaroslav Kysela
Cc: Takashi Iwai
Cc
This allows the k3dma driver to be selected on HiKey
Cc: Zhangfei Gao
Cc: Jingoo Han
Cc: Krzysztof Kozlowski
Cc: Maxime Ripard
Cc: Vinod Koul
Cc: Dan Williams
Cc: Liam Girdwood
Cc: Mark Brown
Cc: Jaroslav Kysela
Cc: Takashi Iwai
Cc: Wei Xu
Cc: Rob Herring
Cc: Andy Green
Cc: Dave Long
From: Andy Green
Max burst len is a 4-bit field, but at the moment it's clipped with
a 5-bit constant... reduce it to that which can be expressed
Cc: Zhangfei Gao
Cc: Jingoo Han
Cc: Krzysztof Kozlowski
Cc: Maxime Ripard
Cc: Vinod Koul
Cc: Dan Williams
Cc: Liam Girdwood
Cc: Mark Brown
Cc:
From: Andy Green
Add driver for hi6210 i2s controller found on hi6220 boards.
Cc: Zhangfei Gao
Cc: Jingoo Han
Cc: Krzysztof Kozlowski
Cc: Maxime Ripard
Cc: Vinod Koul
Cc: Dan Williams
Cc: Liam Girdwood
Cc: Mark Brown
Cc: Jaroslav Kysela
Cc: Takashi Iwai
Cc: Wei Xu
Cc: Rob Herring
Cc:
This patch set is required for HDMI audio support on HiKey.
This patchset hasn't yet seen the light of lkml, so I suspect
there will be a few revisions, but I wanted to send it out for
an initial review.
The work is mostly that of Andy Green's, but I've taking a swing
at forward porting and clean
From: Andy Green
As it was before, as soon as the DMAC IP felt there was an error
he would return IRQ_NONE since no actual transfer had completed.
After spinning on that for 100K interrupts, Linux yanks the IRQ with
a "nobody cared" error.
This patch lets it handle the interrupt and keep the IR
Add entry for k3-dma driver and i2s/hdmi audio devices.
This enables HDMI audio output.
Cc: Zhangfei Gao
Cc: Jingoo Han
Cc: Krzysztof Kozlowski
Cc: Maxime Ripard
Cc: Vinod Koul
Cc: Dan Williams
Cc: Liam Girdwood
Cc: Mark Brown
Cc: Jaroslav Kysela
Cc: Takashi Iwai
Cc: Wei Xu
Cc: Rob Her
Quoting Masahiro Yamada (2016-05-05 00:57:17)
> Several SoCs implement platform drivers for clocks rather than
> CLK_OF_DECLARE(). Clocks should come earlier because they are
> prerequisites for many of other drivers. It will help to mitigate
> EPROBE_DEFER issues.
>
> Also, drop the comment sin
From: Wanpeng Li
When the lock holder vCPU is racing with the queue head vCPU:
lock holder vCPU queue head vCPU
===
node->locked = 1;
READ_ONCE(node->locked)
... pv_wait_head_or_lock():
Hi,
On Sat, Jul 16, 2016 at 09:48:25AM +0900, Greg Kroah-Hartman wrote:
> On Fri, Jul 15, 2016 at 05:32:09PM -0700, Brian Norris wrote:
> > + stable
> >
> > Hi Dan,
> >
> > Patch looks good, but one question.
> >
> > On Fri, Jul 15, 2016 at 02:06:30PM +0300, Dan Carpenter wrote:
> > > We check
On 07/15/2016 05:18 PM, Joshua Clayton wrote:
Add new driver for Texas Instruments ADS1118 and and ADS1018.
This driver works with ADS1018, because of code borrowed
from asd1015, which is similar, but I can only test ADS1118
Browsing through the datasheet, I think this should probably be imple
On 08.07.2016 11:34, Alexander Popov wrote:
> On 06.07.2016 14:17, Thomas Gleixner wrote:
>> On Fri, 1 Jul 2016, Alexander Popov wrote:
>>
>>> Export __irq_domain_alloc_irqs() and irq_domain_free_irqs() for being
>>> able to work with irq_domain hierarchy in modules.
>>
>> We usually export only wh
On Wed, 13 Jul 2016, Manfred Spraul wrote:
-static void sem_wait_array(struct sem_array *sma)
+static void complexmode_enter(struct sem_array *sma)
{
int i;
struct sem *sem;
- if (sma->complex_count) {
- /* The thread that increased sma->complex_count waited
On 7/14/2016 5:41 PM, Alex Williamson wrote:
> On Wed, 13 Jul 2016 22:06:30 -0400
> Sinan Kaya wrote:
>
>> The code is using the compatible DT string to associate a reset driver
>> with the actual device itself. The compatible string does not exist on
>> ACPI based systems. HID is the unique iden
On Fri, Jul 15, 2016 at 06:35:56PM +0200, Peter Zijlstra wrote:
> On Fri, Jul 15, 2016 at 12:07:03PM +0200, Peter Zijlstra wrote:
> > > So if we are kicked by the unlock_slowpath, and the lock is stealed by
> > > someone else, we need hash its node again and set l->locked to
> > > _Q_SLOW_VAL, the
2016-07-16 0:44 GMT+08:00 Waiman Long :
> On 07/15/2016 03:45 AM, Wanpeng Li wrote:
>>
>> 2016-07-15 15:09 GMT+08:00 Peter Zijlstra:
>>>
>>> On Fri, Jul 15, 2016 at 05:26:40AM +0800, Wanpeng Li wrote:
2016-07-14 22:52 GMT+08:00 Waiman Long:
[...]
>
> As pv_kick_node() is call
On 7/14/2016 6:04 PM, Alex Williamson wrote:
>> +static inline
>> > +bool vfio_platform_acpi_has_reset(struct vfio_platform_device *vdev)
>> > +{
>> > +#ifdef CONFIG_ACPI
>> > + struct device *dev = vdev->device;
>> > + acpi_handle handle = ACPI_HANDLE(dev);
>> > +
>> > + return acpi_has_method(
On 7/14/2016 6:24 PM, Alex Williamson wrote:
>> struct vfio_platform_device {
>> > + boolreset_required;
>> >struct vfio_platform_region *regions;
>> >u32 num_regions;
>> >struct vfio_platform_irq*irqs;
> Either you ha
Hi Vinod,
On 7/13/2016 10:57 PM, Sinan Kaya wrote:
> There is a race condition between data transfer callback and descriptor
> free code. The callback routine may decide to clear the resources even
> though the descriptor has not yet been freed.
>
> Instead of calling the callback first and then
On Monday, July 11, 2016 11:47:53 AM Viresh Kumar wrote:
> On 30-06-16, 11:53, Akshay Adiga wrote:
> > Refactoring code to use frequency table index instead of pstate_id.
> > This abstraction will make the code independent of the pstate values.
> >
> > - No functional changes
> > - The highest fre
On Monday, July 04, 2016 03:59:07 PM Rafael J. Wysocki wrote:
> On Thursday, June 23, 2016 03:05:47 PM Lv Zheng wrote:
> > (remove acpi_unmask_gpe() from the patch description)
> >
> > There is a facility in Linux, developers can control the enabling/disabling
> > of a GPE via /sys/firmware/acpi/i
On Fri, Jul 15, 2016 at 05:32:09PM -0700, Brian Norris wrote:
> + stable
>
> Hi Dan,
>
> Patch looks good, but one question.
>
> On Fri, Jul 15, 2016 at 02:06:30PM +0300, Dan Carpenter wrote:
> > We check for NULL but then dereference "info->mtd" on the next line.
> >
> > Fixes: 72169755cf36 ('
On Tuesday, June 28, 2016 04:04:46 PM Lv Zheng wrote:
> _PTS/_WAK may contain EC transactions, it is better to have them handled
> with IRQ enabled. This patch moves the 2 suspend PM ops from noirq stage
> to late/early stage.
>
> Signed-off-by: Lv Zheng
There are systems that won't work with th
Hi Cyrille,
On Wed, Jul 13, 2016 at 06:32:42PM -0700, Brian Norris wrote:
> On Mon, Jun 13, 2016 at 05:10:26PM +0200, Cyrille Pitchen wrote:
> > This driver add support to the new Atmel QSPI controller embedded into
> > sama5d2x SoCs. It expects a NOR memory to be connected to the QSPI
> > control
This patch adds the smsm and smp2p nodes for the hexagon and wcnss
cores.
Signed-off-by: Bjorn Andersson
---
arch/arm64/boot/dts/qcom/msm8916.dtsi | 82 +++
1 file changed, 82 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi
b/arch/arm64/boot/dts
The modem boot authenticator needs space to play in, this is supposed to
be relocatable and as such could later be replaced with a dynamically
allocated chunk of memory. But let's give it a reserve for now, as we
know that works.
Signed-off-by: Bjorn Andersson
---
arch/arm64/boot/dts/qcom/msm891
The TCSR memory segment includes various functionality, among other
things the halt-registers for the Hexagon.
Signed-off-by: Bjorn Andersson
---
arch/arm64/boot/dts/qcom/msm8916.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi
b/arch/arm64/boo
On msm8916 SCM acts as a controller for the MSS_RESET found in the GCC,
update the DT node so that we can address this.
Signed-off-by: Bjorn Andersson
---
arch/arm64/boot/dts/qcom/msm8916.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8916.
Add the remoteproc node that allows us to control the life cycle
of the Hexagon core found in the msm8916 SoC.
Signed-off-by: Bjorn Andersson
---
arch/arm64/boot/dts/qcom/msm8916.dtsi | 43 ++-
1 file changed, 42 insertions(+), 1 deletion(-)
diff --git a/arch/arm
Hi Linus,
The following changes since commit 1a695a905c18548062509178b98bc91e67510864:
Linux 4.7-rc1 (2016-05-29 09:29:24 -0700)
are available in the git repository at:
git://git.infradead.org/linux-mtd.git tags/for-linus-20160715
for you to fetch changes up to
Add the Hexagon SMD edge so that SMD channels provided by the Hexagon
is recognized.
Signed-off-by: Bjorn Andersson
---
arch/arm64/boot/dts/qcom/msm8916.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi
b/arch/arm64/boot/dts/qcom/msm8916.dtsi
On Sat, Jul 09, 2016 at 10:00:55AM +0530, Rajesh Bhagat wrote:
> Describes the qoriq usb 2.0 phy driver binding, currently used
> for LS1021A and LS1012A platform.
>
> Signed-off-by: Rajesh Bhagat
> ---
> Changes in v2:
> - Adds DT binding documentation for qoriq usb 2.0 phy
> - Changed the com
+ stable
Hi Dan,
Patch looks good, but one question.
On Fri, Jul 15, 2016 at 02:06:30PM +0300, Dan Carpenter wrote:
> We check for NULL but then dereference "info->mtd" on the next line.
>
> Fixes: 72169755cf36 ('mtd: maps: sa1100-flash: show parent device in sysfs')
What am I supposed to do a
On Sat, Jul 09, 2016 at 10:00:53AM +0530, Rajesh Bhagat wrote:
> Describes the qoriq usb 2.0 controller driver binding, currently used
> for LS1021A and LS1012A platform.
>
> Signed-off-by: Rajesh Bhagat
> ---
> Changes in v2:
> - Adds DT binding documentation for qoriq usb 2.0 controller
> -
On Friday, July 08, 2016 06:07:53 PM Sudeep Holla wrote:
> ACPI 6.0 introduced an optional object _LPI that provides an alternate
> method to describe Low Power Idle states. It defines the local power
> states for each node in a hierarchical processor topology. The OSPM can
> use _LPI object to sel
- Remove CONFIG_SLAB ifdefs. The code works just fine with both allocators.
- Reset metada offsets if metadata doesn't fit. Otherwise kasan_metadata_size()
will give us the wrong results.
Signed-off-by: Andrey Ryabinin
---
mm/kasan/kasan.c | 17 +
1 file changed, 5 insertions(+),
Hello all,
I've found a nasty source of slab corruption. Based on seeing similar symptoms
on boxes at Facebook, I suspect it's been around since at least 3.10.
It only reproduces under memory pressure so far as I can tell: the issue seems
to be that XFS reclaims pages from buffers that are still
Add new driver for Texas Instruments ADS1118 and and ADS1018.
This driver works with ADS1018, because of code borrowed
from asd1015, which is similar, but I can only test ADS1118
Signed-off-by: Joshua Clayton
---
drivers/hwmon/Kconfig | 11 ++
drivers/hwmon/Makefile | 1 +
drivers/hwmon/ad
add support to imx6q-evi for the 3 ADS1118 temperature/adc units,
now that is has has a kernel driver
Signed-off-by: Joshua Clayton
---
arch/arm/boot/dts/imx6q-evi.dts | 90 +
1 file changed, 90 insertions(+)
diff --git a/arch/arm/boot/dts/imx6q-evi.dts
ads1118 is a 4 input 16 bit adc with a buit-in temperature gauge
Signed-off-by: Joshua Clayton
---
.../devicetree/bindings/hwmon/ads1118.txt | 81 ++
1 file changed, 81 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/ads1118.txt
diff --git
This is a new driver for the TI ADS1118 and ADS1018.
It works, and is somewhat based on the work that went into
ads1015, except for the sysfs code, which I hope is more
correct and up to date.
The main reason this is an RFC, rather than a submission
is that I pulled several new dts properies out o
On Fri, Jul 08, 2016 at 09:49:38PM +0200, H. Nikolaus Schaller wrote:
> Signed-off-by: H. Nikolaus Schaller
> ---
> .../devicetree/bindings/leds/is31fl319x.txt| 52
> ++
> 1 file changed, 52 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/leds/is
On Thu, Jul 14, 2016 at 12:06:45PM +, weiyj...@163.com wrote:
> From: Wei Yongjun
>
> In case of error, the function dma_request_chan() returns ERR_PTR() and
> never returns NULL. The NULL test in the return value check should be
> replaced with IS_ERR().
>
> Fixes: aa7abd312c11 ('mtd: nand:
Hi Boris,
On Wed, Jul 13, 2016 at 09:56:40AM +0200, Boris Brezillon wrote:
> Hi Brian,
>
> Here is the 2nd version of my first PR for 4.8. I removed the duplicate
> SoB tag on one of my patch, and the static specifier in "mtd: brcmnand:
> Detect sticky ucorr ecc error on dma reads"
>
> Let me kn
On Fri, 15 Jul 2016, David Rientjes wrote:
> Kworkers are processing writeback, ext4_writepages() relies on kmem that
ext4_writepages is above device mapper, not below, so how it could block
device mapper progress?
Do you use device mapper on the top of block loop device? Writing to loop
is
[[tip:x86/headers 6/9] arch/x86/platform/ts5500/ts5500.c:349:16: error:
expected declaration specifiers or '...' before string constant] On 16/07/2016
(Sat 03:53) kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
> x86/headers
> head: eb008eb6f8b68
On Fri, Jul 15, 2016 at 03:41:10PM -0700, Bin Gao wrote:
> On Fri, Jul 15, 2016 at 02:21:48PM +0300, Felipe Balbi wrote:
> > Greg Kroah-Hartman writes:
> > > On Fri, Jul 15, 2016 at 01:38:12PM +0300, Felipe Balbi wrote:
> > >>
> > >> Hi,
> > >>
> > >> Bin Gao writes:
> > >> > +static void print
From: Philippe Reynes
Date: Thu, 14 Jul 2016 19:45:57 +0200
> The private structure contain a pointer to phydev, but the structure
> net_device already contain such pointer. So we can remove the pointer
> phy in the private structure, and update the driver to use the
> one contained in struct net
From: Philippe Reynes
Date: Thu, 14 Jul 2016 23:44:52 +0200
> The private structure contain a pointer to phydev, but the structure
> net_device already contain such pointer. So we can remove the pointer
> phy in the private structure, and update the driver to use the
> one contained in struct net
On Fri, Jul 15, 2016 at 10:25:36AM +0300, Felipe Balbi wrote:
> Bin Gao writes:
>
> > This patch implements a simple USB Power Delivery sink port state machine.
> > It assumes the hardware only handles PD packet transmitting and receiving
> > over the CC line of the USB Type-C connector. The stat
From: Philippe Reynes
Date: Fri, 15 Jul 2016 10:36:20 +0200
> The private structure contain a pointer to phydev, but the structure
> net_device already contain such pointer. So we can remove the pointer
> phy in the private structure, and update the driver to use the
> one contained in struct net
From: Philippe Reynes
Date: Fri, 15 Jul 2016 10:36:21 +0200
> There are two generics functions phy_ethtool_{get|set}_link_ksettings,
> so we can use them instead of defining the same code in the driver.
>
> Signed-off-by: Philippe Reynes
Applied.
From: Philippe Reynes
Date: Thu, 14 Jul 2016 23:44:53 +0200
> There are two generics functions phy_ethtool_{get|set}_link_ksettings,
> so we can use them instead of defining the same code in the driver.
>
> Signed-off-by: Philippe Reynes
Applied.
From: Philippe Reynes
Date: Fri, 15 Jul 2016 09:59:11 +0200
> The private structure contain a pointer to phydev, but the structure
> net_device already contain such pointer. So we can remove the pointer
> phy in the private structure, and update the driver to use the
> one contained in struct net
From: Philippe Reynes
Date: Fri, 15 Jul 2016 09:59:12 +0200
> There are two generics functions phy_ethtool_{get|set}_link_ksettings,
> so we can use them instead of defining the same code in the driver.
>
> Signed-off-by: Philippe Reynes
Applied.
From: Philippe Reynes
Date: Thu, 14 Jul 2016 19:45:58 +0200
> There are two generics functions phy_ethtool_{get|set}_link_ksettings,
> so we can use them instead of defining the same code in the driver.
>
> Signed-off-by: Philippe Reynes
Applied.
From: Philippe Reynes
Date: Fri, 15 Jul 2016 12:39:01 +0200
> The private structure contain a pointer to phydev, but the structure
> net_device already contain such pointer. So we can remove the pointer
> phy in the private structure, and update the driver to use the
> one contained in struct net
From: Philippe Reynes
Date: Fri, 15 Jul 2016 12:39:02 +0200
> There are two generics functions phy_ethtool_{get|set}_link_ksettings,
> so we can use them instead of defining the same code in the driver.
>
> There was a check on CAP_NET_ADMIN in cpmac_set_settings, but this
> check is already don
From: Philippe Reynes
Date: Thu, 14 Jul 2016 15:20:46 +0200
> The private structure contain a pointer to phydev, but the structure
> net_device already contain such pointer. So we can remove the pointer
> phy in the private structure, and update the driver to use the
> one contained in struct net
From: Philippe Reynes
Date: Thu, 14 Jul 2016 15:20:47 +0200
> There are two generics functions phy_ethtool_{get|set}_link_ksettings,
> so we can use them instead of defining the same code in the driver.
>
> Signed-off-by: Philippe Reynes
Applied.
The label lio_xmit_failed is used 3 times through liquidio_xmit() but it
always makes a call to dma_unmap_single() using potentially
uninitialized variables from "ndata" variable. Out of the 3 gotos, 2 run
after ndata has been initialized, and had a prior dma_map_single() call.
Fix this by adding
txr->dev_state is always manipulated after acquiring the transmit queue
lock, except in bnxt_tx_enable(), which seems suspicious here, so also
acquire the transmit queue lock before changing the value.
Reported-by: coverity (CID 1339583)
Fixes: c0c050c58d840 ("bnxt_en: New Broadcom ethernet driver
In case nb8800_receive() fails to allocate a fragment, we would leak the
SKB freshly allocated and just return, instead, free it.
Reported-by: coverity (CID 1341750)
Signed-off-by: Florian Fainelli
---
drivers/net/ethernet/aurora/nb8800.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drive
We should be using a logical check here instead of a bitwise operation
to check if the device is closed already in et131x_tx_timeout().
Reported-by: coverity (CID 146498)
Fixes: 38df6492eb511 ("et131x: Add PCIe gigabit ethernet driver et131x to
drivers/net")
Signed-off-by: Florian Fainelli
---
There is the only failure path in efm32_i2c_probe(),
where clk_disable_unprepare() is missed.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov
---
drivers/i2c/busses/i2c-efm32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/d
From: Tomeu Vizoso
So that callers of cros_ec_cmd_xfer don't have to repeat boilerplate
code when checking for errors from the EC side.
Signed-off-by: Tomeu Vizoso
Reviewed-by: Benson Leung
Signed-off-by: Brian Norris
Acked-by: Lee Jones
Tested-by: Enric Balletbo i Serra
---
v4:
* return -
The EC_CMD_PWM_{GET,SET}_DUTY commands allow us to control a PWM that is
attached to the EC, rather than the main host SoC. The API provides
functionality-based (e.g., keyboard light, backlight) or index-based
addressing of the PWM(s). Duty cycles are represented by a 16-bit value,
where 0 maps to
Hi,
This is the 4th (and final?) version of my series to support the new ChromeOS
EC PWM API, so we can control, e.g., a PWM backlight when its PWM is attached
to the EC. It uses Boris's latest "atomic" hooks for the PWM API (i.e., the
->apply() callback), which were recently merged.
Pulled and a
The ChromeOS Embedded Controller can support controlling its attached
PWMs via its host-command interface. The number of supported PWMs varies
on a per-board basis, but we can autodetect this by checking the error
codes, so we don't need an extra property for this. And because the EC
only allows sp
Use the new ChromeOS EC EC_CMD_PWM_{GET,SET}_DUTY commands to control
one or more PWMs attached to the Embedded Controller. Because the EC
allows us to modify the duty cycle (as a percentage, where U16_MAX is
100%) but not the period, we assign the period a fixed value of
EC_PWM_MAX_DUTY and reject
Hi,
Please pull these lkdtm fixes for next.
Thanks!
-Kees
The following changes since commit 80f76319634fc62befd440b328042dbd54e3b6f8:
Merge tag 'stm-for-greg-20160714' of
git://git.kernel.org/pub/scm/linux/kernel/git/ash/stm into char-misc-next
(2016-07-15 14:19:11 +0900)
are available i
There are two generics functions phy_ethtool_{get|set}_link_ksettings,
so we can use them instead of defining the same code in the driver.
There was a check on CAP_NET_ADMIN in cvm_oct_set_settings, but this
check is already done in dev_ethtool, so no need to repeat it before
calling the generic f
1 - 100 of 800 matches
Mail list logo