Madhavan Srinivasan [ma...@linux.vnet.ibm.com] wrote:
| Add code to create event/format attributes and attribute groups for
| each nest pmu.
|
| Cc: Michael Ellerman
| Cc: Benjamin Herrenschmidt
| Cc: Paul Mackerras
| Cc: Anton Blanchard
| Cc: Sukadev Bhattiprolu
| Cc: Anshuman Khandual
| Cc
When the checkpatch.pl script was run, it showed lines with length
more than 80 characters in rtw_ap.c file. Fixed line number 382 by
breaking it up into two lines within 80 characters.
Signed-off-by: Sreenath Madasu
---
drivers/staging/rtl8188eu/core/rtw_ap.c | 3 ++-
1 file changed, 2 insertio
The old drivers/usb/phy/phy-samsung-usb{2,3} are now deleted since
were replaced by newers drivers that use the Generic PHY framework
but their Kconfig options were left over in multi_v7_defconfig.
Signed-off-by: Javier Martinez Canillas
---
arch/arm/configs/multi_v7_defconfig | 2 --
1 file c
On 2015-05-08 19:08, Arnd Bergmann wrote:
On Thursday 07 May 2015 12:03:25 Roman Yeryomin wrote:
On 2015-05-06 22:22, Arnd Bergmann wrote:
> On Wednesday 06 May 2015 19:21:21 Roman Yeryomin wrote:
>>
>> > Thanks to point that, I'll merge that one which seems clean enough:
>> >
http://git.openwr
During review of an unrelated patchset, the question was asked why
module.h was included in code that wouldn't be a module and didn't do
anything with modules [1].
The reason is that it uses kallsyms defines, but kallsyms.h doesn't
include module.h, though it should because it uses MODULE_NAME_LEN
kallsyms.h now includes module.h, so remove module.h includes that
were apparently there only to satisfy kallsyms use of MODULE_NAME_LEN
(via KSYM_SYMBOL_LEN).
Signed-off-by: Tom Zanussi
Acked-by: David Rientjes
---
mm/slub.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/mm/slub.c b/mm/slu
Let userspace inquire the maximum physical address width
of the host processors; this can be used to identify maximum
memory that can be assigned to the guest.
Reported-by: Laszlo Ersek
Signed-off-by: Bandan Das
---
arch/x86/kvm/x86.c | 3 +++
include/uapi/linux/kvm.h | 1 +
2 files chan
kallsyms.h now includes module.h, so remove module.h includes that
were apparently there only to satisfy kallsyms use of MODULE_NAME_LEN
(via KSYM_SYMBOL_LEN).
Signed-off-by: Tom Zanussi
---
lib/vsprintf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index 8
kallsyms.h was included by ftrace.h for KSYM_NAME_LEN, but that usage
was removed by commit 3f5ec13696f [tracing/fastboot: move boot tracer
structs and funcs into their own header].
Remove kallsyms.h and have users relying on ftrace.h to include it for
them include it explicitly.
Signed-off-by: T
kallsyms.h now includes module.h, so remove module.h includes that
were apparently there only to satisfy kallsyms use of MODULE_NAME_LEN
(via KSYM_SYMBOL_LEN).
Signed-off-by: Tom Zanussi
---
drivers/scsi/fnic/fnic_trace.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/scsi/fnic/fnic_
KSYM_SYMBOL_LEN uses MODULE_NAME_LEN defined in module.h, so include
module.h so users don't have to.
Signed-off-by: Tom Zanussi
---
include/linux/kallsyms.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/kallsyms.h b/include/linux/kallsyms.h
index 6883e19..e1550a4 100644
---
At some point, these files made use of something from kallsyms.h
and/or module.h, but they now use nothing from either and can be
removed.
Signed-off-by: Tom Zanussi
---
kernel/trace/trace.c | 1 -
kernel/trace/trace_branch.c | 2 --
kernel/trace/trace_export.c | 2 --
k
kallsyms.h now includes module.h, so remove module.h includes that
were apparently there only to satisfy kallsyms use of MODULE_NAME_LEN
(via KSYM_SYMBOL_LEN).
Signed-off-by: Tom Zanussi
---
kernel/trace/trace_output.c | 1 -
kernel/trace/trace_syscalls.c | 1 -
2 files changed, 2 deletions(-)
On Wed, Jul 08, 2015 at 04:26:49PM -0600, Jason Gunthorpe wrote:
> On Wed, Jul 08, 2015 at 02:11:29PM -0700, Greg Kroah-Hartman wrote:
> > > > + cdev_init(&teedev->cdev, &tee_fops);
> > > > + teedev->cdev.owner = teedesc->owner;
> > >
> > > This also needs to set teedev->cdev.kobj.pare
On Wed, Jul 08, 2015 at 10:32:54AM -0400, Bill Pringlemeir wrote:
> >> diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
> >> index 3a3d3e9..9358135 100644
> >> --- a/arch/arm/mach-imx/Kconfig
> >> +++ b/arch/arm/mach-imx/Kconfig
> -589,6 +589,7 @@ config SOC_VF610
> >>sel
On Wed, Jul 08, 2015 at 02:11:29PM -0700, Greg Kroah-Hartman wrote:
> > > + cdev_init(&teedev->cdev, &tee_fops);
> > > + teedev->cdev.owner = teedesc->owner;
> >
> > This also needs to set teedev->cdev.kobj.parent.
> > I'm guessing:
> >
> > teedev->cdev.kobj.parent = &teedev->dev.kob
msm8x74v1 has different MDP5 version (v1.0) from msm8x74v2 (v1.2).
Add a separate config data to support msm8x74v1.
Signed-off-by: Jilai Wang
---
drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.c | 77 +++--
1 file changed, 73 insertions(+), 4 deletions(-)
diff --git a/drivers
Add chip name and hw-irq number to the trace_irq_handler_entry()
tracepoint. When tracing interrupt events the chip-name and hw-irq
numbers are stable and known in advance. This makes them a better
choice as a filtering criteria for the trace buffer dump. On the
flipside, the os-irq numbers are dyn
On 07/08/2015 12:23 AM, Maninder Singh wrote:
> Hello,
>
>>> + for (i = 0; i < dev->caps.num_ports; i++)
>>> + kfree(dm[i]);
>>> goto out;
>>> }
>>> }
>>> --
>>> 1.7.9.5
>>>
>>
>> If you are going to change this, you m
MDP planes can be implemented using different type of HW pipes,
RGB/VIG/DMA pipes for MDP5 and RGB/VG/DMA pipes for MDP4. Each type
of pipe has different HW capabilities such as scaling, color space
conversion, decimation... Add a variable in plane data structure
to specify the difference of each p
Madhavan Srinivasan [ma...@linux.vnet.ibm.com] wrote:
| Parse device tree to detect supported nest pmu units. Traverse
| through each nest pmu unit folder to find supported events and
| corresponding unit/scale files (if any).
|
| The nest unit event file from DT, will contain the offset in the
|
On Wednesday, July 08, 2015 10:00:18 AM Ross Zwisler wrote:
> Patch 1 is just a quick update to MAINTAINERS for include/linux/pmem.h.
>
> Patches 2 and 3 in this series contain correctness fixes for the NFIT BLK I/O
> path, which in my opinion need to be pulled in for v4.2. These fixes include
>
From: Phil Sutter
Date: Mon, 6 Jul 2015 15:51:20 +0200
> If rhashtable_walk_next detects a resize operation in progress, it jumps
> to the new table and continues walking that one. But it misses to drop
> the reference to it's current item, leading it to continue traversing
> the new table's buc
On 07/08/2015 12:13 AM, Maninder Singh wrote:
> o If allocation of dm fails, no need to free it.
> o Free only allocated items.
I've taken the patch, but I reworked your commit message. The v1
version of the patch had a more correct commit message, but it could
have used a little rework as well
On Wed, 2015-07-08 at 15:17 -0400, Doug Ledford wrote:
> I responded yesterday in the v2 patch thread I believe. In any case, I
> think this patch is fine, and can go to stable. This patch doesn't
> actually change the math related to the rlimit checks (which is the main
> thing I wanted to corre
Peter Zijlstra writes:
> On Wed, Jul 08, 2015 at 02:32:44PM +0200, Peter Zijlstra wrote:
>
>> Awesome, lemme go write up a proper patch to make Rusty happy too ;-)
Thanks, Rusty is happy :)
Applied, and pushed to Linus.
Cheers,
Rusty.
> ---
> Subject: module: Fix load_module() error path
> Fro
Chris Metcalf writes:
> The tilegx and tilepro compilers use .coldtext for their unlikely
> executed text section name, so an __attribute__((cold)) function
> will (when compiled with higher optimization levels) land in the
> the .coldtext section.
>
> Modify modpost to add .coldtext to the set of
From: Punnaiah Choudary Kalluri
Date: Mon, 6 Jul 2015 10:02:53 +0530
> Enable SG support for Zynq SOC family devices.
>
> Signed-off-by: Punnaiah Choudary Kalluri
Applied to net-next, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message t
On 07/08/2015 11:21 AM, Johannes Thumshirn wrote:
> Destroy multcast_idr on moudle exit, reclaiming the allocated memory.
Thanks, applied.
--
Doug Ledford
GPG KeyID: 0E572FDD
signature.asc
Description: OpenPGP digital signature
On 07/08/2015 11:23 AM, Johannes Thumshirn wrote:
> Destroy ocrdma_dev_id IDR on module exit, reclaiming the allocated memory.
>
Thanks, applied.
--
Doug Ledford
GPG KeyID: 0E572FDD
signature.asc
Description: OpenPGP digital signature
The driver currently registers a pair of irq handlers using
request_threaded_irq(), however the synchronization mechanism between the
hardirq and the threadedirq handler is a regular spinlock.
Unfortunately, this breaks PREEMPT_RT builds, where a spinlock can sleep,
and is thus not able to be acqu
On Wednesday, July 08, 2015 10:40:00 AM Alan Stern wrote:
> On Wed, 8 Jul 2015, Pavel Machek wrote:
>
> > > well, that depends on what the purpose of the sync is supposed to be.
> > >
> > > If it is there to prevent users from corrupting their filesystems as a
> > > result
> > > of a mistake, it
Perl 5.22 has deprecated unescaped { inside a regexp, resulting in
warnings:
Unescaped left brace in regex is deprecated, passed through in regex; marked by
<-- HERE in m/\#\s*define.*do\s{ <-- HERE / at scripts/checkpatch.pl line 3523.
Unescaped left brace in regex is deprecated, passed through
On Monday 29 June 2015 22:23:27 Bamvor Zhang Jian wrote:
> diff --git a/include/uapi/linux/ppdev.h b/include/uapi/linux/ppdev.h
> index dc18c5d..d62a47d 100644
> --- a/include/uapi/linux/ppdev.h
> +++ b/include/uapi/linux/ppdev.h
> @@ -74,8 +74,18 @@ struct ppdev_frob_struct {
> #define PPSETPHASE
On Wednesday, July 08, 2015 09:51:13 AM Oliver Neukum wrote:
> On Wed, 2015-07-08 at 00:11 +0200, Rafael J. Wysocki wrote:
> > On Tuesday, July 07, 2015 04:38:26 PM Oliver Neukum wrote:
> >
> > > That is a tough nut. But that's not a reason to make it worse.
> > > I'd say there's no reason not to
On Monday 29 June 2015 22:23:27 Bamvor Zhang Jian wrote:
> diff --git a/include/uapi/linux/ppdev.h b/include/uapi/linux/ppdev.h
> index dc18c5d..d62a47d 100644
> --- a/include/uapi/linux/ppdev.h
> +++ b/include/uapi/linux/ppdev.h
> @@ -74,8 +74,18 @@ struct ppdev_frob_struct {
> #define PPSETPHASE
The following changes since commit 45820c294fe1b1a9df495d57f40585ef2d069a39:
Fix broken audit tests for exec arg len (2015-07-08 09:33:38 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git
tags/fixes-for-linus
for you to fetch chang
On Wed, Jul 08, 2015 at 10:32:08AM -0700, Greg Kroah-Hartman wrote:
> On Wed, Jul 08, 2015 at 06:28:23PM +0200, Fabian Frederick wrote:
> >
> > Hello Greg,
> >
> > Here's the complete list of linux-next/UFS patches needed
> > to stop regressions in write mode:
> >
> > 13b987ea275
On Wed, Jul 08, 2015 at 09:36:46PM +0300, Stas Sergeev wrote:
> 08.07.2015 20:36, Greg Kroah-Hartman пишет:
> >On Wed, Jul 08, 2015 at 08:10:46PM +0300, Stas Sergeev wrote:
> >>08.07.2015 10:35, Greg Kroah-Hartman пишет:
> >>>4.1-stable review patch. If anyone has any objections, please let me kno
>> On Wed, Jul 8, 2015 at 10:59 PM, Nicholas Krause wrote:
Oh, damn. I should have stopped reading here. /ignore.
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger
If a MCB PCI Carrier device is IO mapped insted of memory-mapped,
the memory of the PCI device is still not unmapped.
Also the patch adds deallocation of the bus
if chameleon_parse_cells() fails.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov
--
On Wednesday 08 July 2015 13:17:18 John Stultz wrote:
> On Mon, Jun 29, 2015 at 7:23 AM, Bamvor Zhang Jian
> wrote:
> > Add compat ioctl in ppdev in order to solve the y2038 issue in
> > later patch.
> > This patch simply add pp_do_ioctl to compat_ioctl, because I found
> > that all the ioctl acce
Am 08.07.2015 um 23:20 schrieb nick:
>
>
> On 2015-07-08 05:20 PM, Richard Weinberger wrote:
>> On Wed, Jul 8, 2015 at 10:59 PM, Nicholas Krause wrote:
>>> This fixes the error paths in the function read_unknown that return
>>> a value to correctly return -EIO rather then the kernel value for
>>
Catalin Marinas writes:
> On Thu, Jul 02, 2015 at 08:26:02PM +, Chalamarla, Tirumalesh wrote:
>> > On Jun 26, 2015, at 12:12 PM, Tirumalesh Chalamarla
>> > wrote:
>> >
>> > From: Tirumalesh Chalamarla
>> >
>> > The PCIe host controller uses MSIs provided by GICv3 ITS. Enable it on
>> > T
The tilegx and tilepro compilers use .coldtext for their unlikely
executed text section name, so an __attribute__((cold)) function
will (when compiled with higher optimization levels) land in the
the .coldtext section.
Modify modpost to add .coldtext to the set of OTHER_TEXT_SECTIONS
so we don't g
On Wed, Jul 8, 2015 at 10:59 PM, Nicholas Krause wrote:
> This fixes the error paths in the function read_unknown that return
> a value to correctly return -EIO rather then the kernel value for
> successful function execution of zero to indicate to this function's
> callers that a failure has occu
On Wed, 8 Jul 2015 16:34:56 -0400
Eric B Munson wrote:
> > Quick, possibly dumb question: I've been beating my head against these for
> > a little bit, and I can't figure out what's supposed to happen in this
> > case:
> >
> > mlock2(addr, len, MLOCK_ONFAULT);
> > munlock2(addr, len, MLO
On Wed, Jul 08, 2015 at 04:36:19PM -0400, Vivien Didelot wrote:
> Add read and write access to a SERDES column in the regs debugfs file
> for the Fiber/SERDES registers.
Humm. I don't really like this. These SERDES registers are in a
complete different address space to the port, globalX registers
From: Liang Li
Date: Mon, 6 Jul 2015 08:42:56 +0800
> There are two duplicated xenvif_zerocopy_callback() definitions.
> Remove one of them.
>
> Signed-off-by: Liang Li
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo
Hi Andrew,
- On Jul 8, 2015, at 4:53 PM, Andrew Lunn and...@lunn.ch wrote:
> On Wed, Jul 08, 2015 at 04:36:18PM -0400, Vivien Didelot wrote:
>> Allow write access to the regs file in the debugfs interface, with the
>> following parameters:
>>
>> echo> regs
>>
>> Where "name" is the
On Wed, Jul 08, 2015 at 11:10:26AM -0600, Jason Gunthorpe wrote:
> On Wed, Jul 08, 2015 at 12:16:30PM +0200, Jens Wiklander wrote:
>
> > +static void tee_device_complete_unused(struct kref *kref)
> > +{
> > + struct tee_device *teedev;
> > +
> > + teedev = container_of(kref, struct tee_device,
Y Vo writes:
> This patch adds poweroff button device node to support poweroff feature
> on APM X-Gene Mustang platform.
>
> Signed-off-by: Y Vo
Picking this up for v4.2-rc.
Applied to fixes branch,
Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body o
From: Maxime Ripard
Date: Fri, 3 Jul 2015 16:25:47 +0200
> The documentation of request_percpu_irq is confusing and suggest that the
> interrupt is not enabled at all, while it is actually enabled on the local
> CPU.
>
> Clarify that.
>
> Signed-off-by: Maxime Ripard
You should submit this s
On Wed, Jul 08, 2015 at 04:36:18PM -0400, Vivien Didelot wrote:
> Allow write access to the regs file in the debugfs interface, with the
> following parameters:
>
> echo> regs
>
> Where "name" is the register name (as shown in the header row), "reg" is
> the register address (as shown in
Em Wed, Jul 08, 2015 at 09:22:23PM +0300, Riku Voipio escreveu:
> On 18 June 2015 at 15:52, wrote:
> > From: Riku Voipio
> >
> > The clean targets miss some .cmd and .d files.
>
> Is this patch slipping through cracks?
Not anymore, applied to my perf/urgent branch, will go soon to Ingo,
piggyb
Hi Sanchayan,
> maitysancha...@gmail.com hat am 8. Juli 2015 um 07:39 geschrieben:
>
>
> [...]
> > > >
> > > > Looking at valid_fuse_addr shows me 0x3F as last valid register. So the
> > > > rest
> > > > of the buffer ( 0xD00 - sizeof(valid_fuse_addr) ) in case of raw access
> > > > could be
> > >
On 07/01/2015 06:45 AM, Tomeu Vizoso wrote:
Specify how the GPIOs map to the pins in Tegra SoCs, so the dependency is
explicit.
This currently will add a duplicated entry in the map from pins to gpios
in the pinmux controller but it should be harmless and will be fixed in a
later commit.
Isn't
Hi Chris,
On Wed, Jul 8, 2015 at 10:20 PM, Chris Metcalf wrote:
> + * strscpy - Copy a C-string into a sized buffer
> + * @dest: Where to copy the string to
> + * @src: Where to copy the string from
> + * @count: Size of destination buffer
> + *
> + * Copy the string, or as much of it as fits, in
Em Wed, Jul 08, 2015 at 11:57:13PM +0800, pi3orama escreveu:
> 发自我的 iPhone
> > 在 2015年7月8日,下午10:03,Arnaldo Carvalho de Melo 写道:
> > Em Wed, Jul 08, 2015 at 01:13:49PM +, Wang Nan escreveu:
> >> I rearranged the first 39 patches of this patchset according to
> >> your comments. After applying
Extend the existing Vybrid eSDHC devicetree implementation to also
describe the esdhc0 functional block.
Tested on a custom VF610-based board with a Toshiba THGBM1G5D2EBAI7 eMMC
module attached to esdhc0.
Signed-off-by: Cory Tusar
---
arch/arm/boot/dts/vfxxx.dtsi | 11 +++
1 file change
Currently, only esdhc1 is described in vfxxx.dtsi. This quick patch
adds support for esdhc0 also.
Regards,
-Cory
Cory Tusar (1):
ARM: dts: vfxxx: Include support for esdhc0 functionality.
arch/arm/boot/dts/vfxxx.dtsi | 11 +++
1 file changed, 11 insertions(+)
--
2.3.6
--
To unsub
On Mon, Jul 6, 2015 at 11:45 PM, Peter Zijlstra wrote:
> On Mon, Jul 06, 2015 at 12:15:45PM -0700, Cong Wang wrote:
>> Currently we only have one sched_switch trace event
>> for task switching, which is generated very early during
>> task switch. When we try to monitor per-container perf
>> events
This patch allows system and device time ("cross-timestamp") to be
performed by the driver. Currently, the cross-timestamping is performed
in the PTP_SYS_OFFSET ioctl. The PTP clock driver reads gettimeofday()
and the gettime64() callback provided by the driver. The cross-timestamp
is best effort
On Mon, Jul 6, 2015 at 5:15 PM, Steven Rostedt wrote:
> On Mon, 6 Jul 2015 12:15:45 -0700
> Cong Wang wrote:
>
>> Currently we only have one sched_switch trace event
>> for task switching, which is generated very early during
>> task switch. When we try to monitor per-container perf
>> events, t
On Mon, Jul 06, 2015 at 11:30:26AM -0400, Chuck Lever wrote:
> Hi Valentin-
>
>
> On Jul 6, 2015, at 3:36 AM, Valentin Rothberg
> wrote:
>
> > On Mon, Jun 22, 2015 at 9:08 AM, Valentin Rothberg
> > wrote:
> >> Hi Chuck,
> >>
> >> your commit ffe1f0df5862 ("rpcrdma: Merge svcrdma and xprtrdma
Hi Masahiro,
On wo, 2015-07-08 at 14:01 +0900, Masahiro Yamada wrote:
> Actually, most of pinctrl drivers are boolean, but most of them
> conventionally have MODULE_AUTHOR, THIS_MODULE, etc.
>
> I do not think it looks so weird. Thought?
It's a rather common pattern, but I think it's an anti-pa
2015-07-08 18:37 GMT+02:00 Stephen Smalley :
> On 07/08/2015 09:13 AM, Stephen Smalley wrote:
>> On Sun, Jun 14, 2015 at 12:48 PM, Hugh Dickins wrote:
>>> It appears that, at some point last year, XFS made directory handling
>>> changes which bring it into lockdep conflict with shmem_zero_setup():
Allow write access to the regs file in the debugfs interface, with the
following parameters:
echo> regs
Where "name" is the register name (as shown in the header row), "reg" is
the register address (as shown in the first column) and "value" is the
16-bit value. e.g.:
echo GLOBAL 1a 5
On 06/30/2015 04:54 AM, Laxman Dewangan wrote:
Once the new configuration is set on the conifg register of
I2C controller, it is require to update the CONFIG_LOAD register
to transfer the new SW configuration to actual HW internal
registers that would be used in the actual logic.
It is like, SW
Add read and write access to a SERDES column in the regs debugfs file
for the Fiber/SERDES registers.
For instance, imagining that the Fiber Control register value is 0x1940,
you can clear the POWER_DOWN bit (11) with:
echo SERDES 0 1140 > /sys/kernel/debug/dsa0/regs
Signed-off-by: Vivien Di
On Wed, 08 Jul 2015, Jonathan Corbet wrote:
> On Tue, 7 Jul 2015 13:03:41 -0400
> Eric B Munson wrote:
>
> > This patch introduces the ability to request that pages are not
> > pre-faulted, but are placed on the unevictable LRU when they are finally
> > faulted in. This can be done area at a t
Hi Andrew,
- On Jul 8, 2015, at 4:12 PM, Andrew Lunn and...@lunn.ch wrote:
>> I understand. However this whole VLAN thing represents a lot of code.
>> Some other work depends on portions of it. Do you think it'd be OK if I
>> resend the patch 1/3 alone? Having only the VTU operations and "vtu
On Wed, 8 Jul 2015, Rafael J. Wysocki wrote:
> I seem to have lost the context here, sorry about that.
>
> The idea seems to be to rely on the fact that the RPM status for all devices
> is initially RPM_SUSPENDED and that never changes if runtime PM is never
> enabled for the device, so in that p
From: Markus Elfring
Date: Wed, 8 Jul 2015 22:12:25 +0200
The gpiod_put() function performs also input parameter validation
by forwarding its single input pointer to the gpiod_free() function.
Thus the test around the calls is not needed.
This issue was detected by using the Coccinelle software.
Now that strscpy() is a standard API, remove the local copy.
Signed-off-by: Chris Metcalf
---
arch/tile/gxio/mpipe.c | 33 -
1 file changed, 4 insertions(+), 29 deletions(-)
diff --git a/arch/tile/gxio/mpipe.c b/arch/tile/gxio/mpipe.c
index ee186e13dfe6..f102048d
Both 'reg' and 'reg-names' are required properties according to binding
documentation, and both should contain two items.
Signed-off-by: Cory Tusar
Acked-by: Stefan Agner
---
arch/arm/boot/dts/vfxxx.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/vfx
Replace a kmalloc+strcpy by an equivalent kstrdup in order to improve
readability.
Signed-off-by: Christophe JAILLET
---
v2: fix the subject
drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/net/wireless/brcm8021
This commit enables the qspi0 functional block, and maps the two
flash devices connected to QSPI0_A_CS0 and QSPI0_B_CS0 to individual MTD
devices.
Tested using mtd_readtest, mtd_speedtest, and mtd_stresstest on a Rev. H
TWR board.
Signed-off-by: Cory Tusar
---
arch/arm/boot/dts/vf610-twr.dts |
Add Micron (mt25ql02gc) 256 MiB flash to the list of supported devices.
Signed-off-by: Cory Tusar
---
drivers/mtd/spi-nor/spi-nor.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index d78831b..7a8896d 100644
--- a/drivers/mtd/sp
This commit extends the existing Vybrid QSPI devicetree implementation
to also describe the qspi1 functional block.
Signed-off-by: Cory Tusar
Reviewed-by: Stefan Agner
---
arch/arm/boot/dts/vfxxx.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/vfxxx.dts
The current fsl-quadspi implementation assumes that the first NOR device
is always physically connected to QSPIn_A_CS0, and that all connected
devices are of the same type.
This commit separates the DT parsing and flash probe logic into two
passes, allowing devices of different sizes and types to
The current fsl-quadspi implementation re-parses the 'spi-max-frequency'
property for each device, potentially allowing for an earlier, lower
frequency to be overwritten with a greater value. This commit modifies
the parsing logic to extract the clock frequency for each flash device
and then confi
The current fsl-quadspi implementation assumes that all connected
devices are of the same size and type. This commit adds lookup table
entries for both 24- and 32-bit addressed variants of the read, sector
erase, and page program operations as a precursor to later changes which
generalize the flas
This patch series fixes and extends the fsl-quadspi driver to allow for
non-contiguous and non-homogeneous SPI NOR device layouts. The current
driver assumes that attached devices are all of the same type, and are
populated "in order" beginning with QSPIn_A_CS0.
The updated driver and DT changes
The strscpy() API is intended to be used instead of strlcpy(),
and instead of most uses of strncpy().
- Unlike strlcpy(), it doesn't read from memory beyond (src + size).
- Unlike strlcpy() or strncpy(), the API provides an easy way to check
for destination buffer overflow: an -E2BIG error retu
Added the x86 implementation of word-at-a-time to the
generic version, which previously only supported big-endian.
Omitted the x86-specific load_unaligned_zeropad(), which in
any case is also not present for the existing BE-only
implementation of a word-at-a-time, and is only used under
CONFIG_DCA
v2: eliminate strscpy_truncate(); the single strscpy() API in v2
just tolerates a truncated string (while returning an error value)
Also, improve some of the comparison language with strlcpy/strncpy.
This patch series addresses limitations in strncpy() and strlcpy();
both the old APIs are unpl
>
> Destroy mei_idr on module exit, reclaiming the allocated memory.
>
> This was detected by the following semantic patch (written by Luis Rodriguez
> )
>
> @ defines_module_init @
> declarer name module_init, module_exit;
> declarer name DEFINE_IDR;
> identifier init;
> @@
>
> module_init(ini
> I understand. However this whole VLAN thing represents a lot of code.
> Some other work depends on portions of it. Do you think it'd be OK if I
> resend the patch 1/3 alone? Having only the VTU operations and "vtu"
> debugfs file does not break the actual behavior, and will lighten up the
> follo
On Wed, Jul 8, 2015 at 12:17 PM, Andreas Ruprecht
wrote:
> Hi,
>
> On 07/07/2015 16:45, Ulf Magnusson wrote:
>>
>> Did you use the (undocumented, obviously :) REGENERATE_PARSERS option,
>> like 'make menuconfig REGENERATE_PARSERS=1'? It's from
>> scripts/Makefile.lib.
>>
>> The following patch wor
On Mon, Jun 29, 2015 at 7:23 AM, Bamvor Zhang Jian
wrote:
> Add compat ioctl in ppdev in order to solve the y2038 issue in
> later patch.
> This patch simply add pp_do_ioctl to compat_ioctl, because I found
> that all the ioctl access the arg as a pointer.
>
> Signed-off-by: Bamvor Zhang Jian
> -
> > This is a limitation of the switch. So the driver needs to keep track
> > of which bridge a VLAN belongs to, if it is asked to accelerate the
> > same VLAN for a different bridge, it needs to say to the kernel,
> > sorry, cannot do that, and leave the kernel to do it in software.
>
> Scott, ho
08.07.2015 22:36, Arnaud Ebalard пишет:
Hi,
Stas Sergeev writes:
Another problem was reported:
https://lkml.org/lkml/2015/7/8/865
So, while the above patch is correct and fixes what
it should, the original patch has more problems to deal
with. Maybe for stable it would be better to just reve
On Tue, Jul 7, 2015 at 12:31 PM, Andreas Ruprecht
wrote:
> In Kconfig, definitions of options take the following form:
> " ...". COMMANDs and PARAMs are treated
> slightly different by the underlying parser.
>
> While commit 2e0d737fc76f ("kconfig: don't silently ignore unhandled
> characters")
On Mon, Jun 29, 2015 at 7:23 AM, Bamvor Zhang Jian
wrote:
> +int get_timeval64(struct timeval64 *tv,
> + const struct __kernel_timeval __user *utv)
> +{
> + struct __kernel_timeval ktv;
> + int ret;
> +
> + ret = copy_from_user(&ktv, utv, sizeof(ktv));
> +
On Wednesday, July 08, 2015 09:38:25 AM Casey Schaufler wrote:
> On 7/8/2015 6:42 AM, Stephen Smalley wrote:
> > On 07/08/2015 06:25 AM, Paul Osmialowski wrote:
...
> > If Smack only truly needs 3 hooks, then it begs the question of why
> > there are so many other hooks defined. Are the other ho
On Wed, Jul 8, 2015 at 12:39 PM, Brian Gerst wrote:
> On Wed, Jul 8, 2015 at 3:14 PM, Andy Lutomirski wrote:
>> On Wed, Jul 8, 2015 at 12:05 PM, Brian Gerst wrote:
>>> On Wed, Jul 8, 2015 at 1:30 PM, Andy Lutomirski wrote:
On Wed, Jul 8, 2015 at 9:59 AM, Linus Torvalds
wrote:
> O
On 07/08/2015 01:37 PM, Andy Lutomirski wrote:
> On Wed, Jul 8, 2015 at 9:07 AM, Peter Zijlstra wrote:
>> On Wed, Jul 08, 2015 at 11:17:38AM -0400, Mikulas Patocka wrote:
>>> Hi
>>>
>>> I found out that the patch a66734297f78707ce39d756b656bfae861d53f62 breaks
>>> the kernel on processors without
On Wed, Jul 08, 2015 at 09:51:15PM +0200, Laurent Navet wrote:
> Return value of ext4_derive_key_aes() is stored but never used before
> being overwritten.
> Also fix coverity CID 1309760.
>
> Signed-off-by: Laurent Navet
> ---
> fs/ext4/crypto_key.c | 2 +-
> 1 file changed, 1 insertion(+), 1 d
On Wed, 8 Jul 2015, Julius Werner wrote:
> > But I don't see how you will make it work when the root hub itself is
> > not enabled for wakeup and a non-hub device plugged into one of the
> > root hub's ports is enabled.
> >
> > It seems like you would need a usb_hcd_wakeup_not_needed(hcd, port)
>
201 - 300 of 1227 matches
Mail list logo