On (07/10/15 18:33), Andrew Morton wrote:
> > > > I was thinking of a trivial INIT_SHRINKER macro to init `struct
> > > > shrinker'
> > > > internal members (composed in email client, not tested)
> > > >
> > > > include/linux/shrinker.h
> > > >
> > > > #define INIT_SHRINKER(s)
W dniu 09.07.2015 o 20:47, Vaibhav Hiremath pisze:
> Add chip identification support for 88PM860 device
> to the pm80x_chip_mapping table.
>
> Signed-off-by: Vaibhav Hiremath
> ---
> drivers/mfd/88pm80x.c | 2 ++
> include/linux/mfd/88pm80x.h | 1 +
> 2 files changed, 3 insertions(+)
FWIW
W dniu 09.07.2015 o 20:47, Vaibhav Hiremath pisze:
> This patch adds init time configuration of 88PM800/805 and
> 88PM860. It includes,
>
> - Enable BUCK clock gating in low power mode
> - Full mode support for BUCK2 and 4
> - Enable voltage change (LPF, DVC) in PMIC
>
> Note that both 88PM
On Fri, Jul 10, 2015 at 05:48:11PM -0700, Davidlohr Bueso wrote:
> Mathematically, returning -EOVERFLOW in mq_attr_ok()
> cannot occur under this condition:
>
>mq_treesize = attr->mq_maxmsg * sizeof(struct msg_msg) +
> min_t(unsigned int, attr->mq_maxmsg, MQ_PRIO_MAX) *
>
(Sorry for the slow reply; I was on vacation)
On 06/18/2015 07:32 AM, Noralf Trønnes wrote:
> Den 18.06.2015 04:26, skrev Stephen Warren:
>> On 06/12/2015 11:26 AM, Noralf Trønnes wrote:
>>> Add a duplicate irq range with an offset on the hwirq's so the
>>> driver can detect that enable_fiq() is u
On 2015/07/11 10:27, Waiman Long wrote:
> On 07/10/2015 08:32 PM, Masami Hiramatsu wrote:
>> On 2015/07/10 23:28, Peter Zijlstra wrote:
>>> On Fri, Jul 10, 2015 at 03:57:46PM +0200, Ingo Molnar wrote:
* Peter Zijlstra wrote:
> Do we want to make double unlock non-fatal unconditionally?
>>
On Fri, Jul 10, 2015 at 05:42:10PM -0700, Yinghai Lu wrote:
>On Fri, Jul 10, 2015 at 5:03 PM, Wei Yang wrote:
>> On Thu, Jul 09, 2015 at 10:49:06PM -0700, Yinghai Lu wrote:
>
>> I have tested you latest branch with this one as the last commit:
>>
>> ec94cc7 PCI: Don't set flags to 0 when assign re
Hello,
Shrinker API does not handle nicely unregister_shrinker() on a not-registered
->shrinker. Looking at shrinker users, they all have to
(a) carry on some sort of a flag to make sure that "unregister_shrinker()"
will not blow up later
(b) be fishy (potentially can Oops)
(c) access private memb
On Fri, 10 Jul 2015 16:03:23 -0700
Stephen Boyd wrote:
> This clock provider uses the consumer API, so include clk.h
> explicitly.
>
> Cc: Gerhard Sittig
> Cc: Scott Wood
> Cc: Anatolij Gustschin
> Signed-off-by: Stephen Boyd
Acked-by: Anatolij Gustschin
--
To unsubscribe from this list:
On 2015/07/10 23:28, Peter Zijlstra wrote:
> On Fri, Jul 10, 2015 at 03:57:46PM +0200, Ingo Molnar wrote:
>> * Peter Zijlstra wrote:
>
>>> Do we want to make double unlock non-fatal unconditionally?
>>
>> No, just don't BUG() out, don't crash the system - generate a warning?
>
> So that would be
On 2015/07/09 21:03, Steven Rostedt wrote:
> On Thu, 09 Jul 2015 19:10:12 +0900
> Masami Hiramatsu wrote:
>
>> echo 0 > events/enable
>> echo > kprobe_events
>> -echo p:myevent do_fork > kprobe_events
>> +echo p:myevent _do_fork > kprobe_events
>> grep myevent kprobe_events
>> test -d events/
2015-07-10 21:03 GMT+09:00 Vaibhav Hiremath :
>
>
> On Thursday 09 July 2015 06:58 PM, Krzysztof Kozlowski wrote:
>>
>> 2015-07-09 21:53 GMT+09:00 Vaibhav Hiremath :
>>>
>>>
>>>
>>> On Thursday 09 July 2015 06:14 PM, Vaibhav Hiremath wrote:
On Thursday 09 July 2015 05:34 PM
From: Masanari Iida
Date: Fri, 10 Jul 2015 21:20:28 +0900
> This patch fix a spelling typo found in API-z8530-sync-txdma-open.html.
> It is because this file was generated from comment in source,
> I have to fix comment in source.
>
> Signed-off-by: Masanari Iida
Applied, t hanks.
--
To unsubs
On 07/10/2015 08:32 PM, Masami Hiramatsu wrote:
On 2015/07/10 23:28, Peter Zijlstra wrote:
On Fri, Jul 10, 2015 at 03:57:46PM +0200, Ingo Molnar wrote:
* Peter Zijlstra wrote:
Do we want to make double unlock non-fatal unconditionally?
No, just don't BUG() out, don't crash the system - gener
sound/soc/codecs/sti-sas.c:616:3-8: No need to set .owner here. The core will
do it.
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
CC: Arnaud Pouliquen
Signed-off-by: Fengguang Wu
---
sti-sas.c |1 -
1
Consider 'all zeroes' shrinker as 'initialized, but not
registered', and, thus, don't unregister such a shrinker.
This helps to avoid accidental NULL pointer dereferences,
when a zeroed shrinker struct is getting passed to
unregister_shrinker() in error handing path, for example.
Signed-off-by: Se
2015-07-10 22:01 GMT+09:00 Julia Lawall :
> Acked-by: Julia Lawall
>
> As a semantic patch, it looks fine. Have you sent any patches based on
> it? I find hundreds of occurrences.
Yes, I sent patches fixing this for drivers I was able to compile
(allyesconfig on arm, arm64, i386, x86_64, ppc64)
All zeroes shrinker is now treated as 'initialized, but
not registered'. If, for some reason, you can't zero your
shrinker struct (or don't want to) then use init_shrinker()
function. Otherwise, in some cases, unregister_shrinker()
may Oops.
Signed-off-by: Sergey Senozhatsky
---
include/linux/sh
2015-07-11 1:12 GMT+09:00 Javier Martinez Canillas :
> Hello Krzysztof,
>
> On 07/10/2015 01:30 AM, Krzysztof Kozlowski wrote:
>> On 10.07.2015 00:43, Bartlomiej Zolnierkiewicz wrote:
>>> With the addition of the new Samsung specific cpu-clock type, the
>>> arm clock can be represented as a cpu-clo
On 07/10/2015 10:03 PM, Al Viro wrote:
> On Fri, Jul 10, 2015 at 05:48:11PM -0700, Davidlohr Bueso wrote:
>> Mathematically, returning -EOVERFLOW in mq_attr_ok()
>> cannot occur under this condition:
>>
>>mq_treesize = attr->mq_maxmsg * sizeof(struct msg_msg) +
>> min_t(unsigned
On 07/07/2015 03:13 PM, Eric Anholt wrote:
> This interrupt controller is the new root interrupt controller with
> the timer, PMU events, and IPIs, and the bcm2835's interrupt
> controller is chained off of it to handle the peripherals.
>
> SMP IPI support was mostly written by Andrea Merello, whi
On Friday, July 10, 2015 03:14:38 PM Tomeu Vizoso wrote:
> On 2 July 2015 at 02:02, Rafael J. Wysocki wrote:
> > On Wednesday, July 01, 2015 11:40:57 AM Tomeu Vizoso wrote:
> >> Adds API that allows callers to find out what other firmware nodes a
> >> node depends on.
> >>
> >> Implementors of bin
Fixed most of the coding style issues suggested by checkpatch.pl
tool. Mainly converted spaces to tabs. Left remaining errors and
warnings up to decision of the developers.
Signed-off-by: Cristian Ardelean
---
drivers/video/fbdev/vga16fb.c | 386 -
1 file
Mathematically, returning -EOVERFLOW in mq_attr_ok()
cannot occur under this condition:
mq_treesize = attr->mq_maxmsg * sizeof(struct msg_msg) +
min_t(unsigned int, attr->mq_maxmsg, MQ_PRIO_MAX) *
sizeof(struct posix_msg_tree_node);
total_size = attr->mq
On Sat, 11 Jul 2015 10:25:13 +0900 Sergey Senozhatsky
wrote:
> > > I was thinking of a trivial INIT_SHRINKER macro to init `struct shrinker'
> > > internal members (composed in email client, not tested)
> > >
> > > include/linux/shrinker.h
> > >
> > > #define INIT_SHRINKER(s)
On Friday, July 10, 2015 02:53:53 PM Tomeu Vizoso wrote:
> On 2 July 2015 at 01:46, Rafael J. Wysocki wrote:
> > On Tuesday, June 30, 2015 04:55:08 PM Tomeu Vizoso wrote:
> >> Instead of calling both of_driver_match_device() and
> >> acpi_driver_match_device(), call fwnode_driver_match_device() wh
2015-07-09 21:19 GMT+08:00 Krzysztof Kozlowski :
> Value returned by devm_ioremap_resource() was checked for non-NULL but
> devm_ioremap_resource() returns IOMEM_ERR_PTR, not NULL. In case of
> error this could lead to dereference of ERR_PTR.
>
> Signed-off-by: Krzysztof Kozlowski
> Cc:
> Fixes:
From: Krzysztof Kozlowski
Date: Fri, 10 Jul 2015 15:29:23 +0900
> platform_driver does not need to set an owner because
> platform_driver_register() will set it.
>
> Signed-off-by: Krzysztof Kozlowski
Applied to net-next, thanks.
--
To unsubscribe from this list: send the line "unsubscribe lin
Now there is no vm86-specific data left on the kernel stack while in
userspace, except for the 32-bit regs.
Signed-off-by: Brian Gerst
---
arch/x86/include/asm/vm86.h | 25 +
arch/x86/kernel/vm86_32.c | 68 +++--
2 files changed, 29 inser
Change to use the normal pt_regs area to enter and exit vm86 mode. This is
done by increasing the padding at the top of the stack to make room for the
extra vm86 segment slots in the IRET frame. It then saves the 32-bit regs
in the off-stack vm86 data, and copies in the vm86 regs. Exiting back t
On 07/07/2015 03:13 PM, Eric Anholt wrote:
> This is a new per-cpu root interrupt controller on the Raspberry Pi 2,
> which will chain to the bcm2835 interrupt controller for peripheral
> interrupts.
> diff --git
> a/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2836-l1-intc.txt
Hi Chao,
On Thu, Jul 09, 2015 at 06:20:08PM +0800, Chao Yu wrote:
> get_new_data_page should release inode page when we encounter any
> error in its procedure, but there is one error path didn't cover
> this, fix it.
Nice catch.
But, I think we should fix its caller:
in init_inode_metadata(),
Allocate a separate structure for the vm86 fields.
Signed-off-by: Brian Gerst
---
arch/x86/include/asm/processor.h | 11 ++--
arch/x86/include/asm/vm86.h | 10
arch/x86/kernel/process.c| 7 +
arch/x86/kernel/vm86_32.c| 55 +++
From: Vivien Didelot
Date: Thu, 9 Jul 2015 17:13:29 -0400
> 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
Move the userspace accesses down into the common function in
preparation for the next set of patches.
Signed-off-by: Brian Gerst
---
arch/x86/kernel/vm86_32.c | 61 +--
1 file changed, 27 insertions(+), 34 deletions(-)
diff --git a/arch/x86/kernel/vm8
On Fri, 2015-07-10 at 16:59 -0400, Josef Bacik wrote:
> Not quite as awesome but still better than the baseline so we're good.
> Thanks,
I personally like the other much better. We're not doing the user any
favor by making the thing balance when SD_BALANCE_WAKE is set. Until
such time as it ce
For simple modules that contain a single rc_map_list without any
additional setup code then ends up being a block of duplicated
boilerplate. This patch adds a new macro, module_rc_map_list(),
which replaces the module_init()/module_exit() registrations with
template functions.
Signed-off-by: Vaish
Stephen Warren writes:
> On 07/07/2015 03:13 PM, Eric Anholt wrote:
>> This is a new per-cpu root interrupt controller on the Raspberry Pi 2,
>> which will chain to the bcm2835 interrupt controller for peripheral
>> interrupts.
>
>> diff --git
>> a/Documentation/devicetree/bindings/interrupt-con
Move the non-regs fields to the off-stack data.
Signed-off-by: Brian Gerst
---
arch/x86/include/asm/vm86.h | 17
arch/x86/kernel/vm86_32.c | 48 ++---
2 files changed, 33 insertions(+), 32 deletions(-)
diff --git a/arch/x86/include/asm/
The goal of this set of patches is to change vm86 support to return to
userspace with the normal exit paths instead of leaving data on the kernel
stack and jumping directly into the exit asm routines. This fixes issues
like ptrace and syscall auditing not working with vm86, and makes possible
cle
Hi Jaegeuk,
> -Original Message-
> From: Jaegeuk Kim [mailto:jaeg...@kernel.org]
> Sent: Saturday, July 11, 2015 8:17 AM
> To: Chao Yu; Chao Yu
> Cc: linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net;
> linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net
> -Original Message-
> From: Jaegeuk Kim [mailto:jaeg...@kernel.org]
> Sent: Saturday, July 11, 2015 7:54 AM
> To: Chao Yu; Chao Yu
> Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org;
> linux-f2fs-de...@lists.sourceforge.net; linux-fsde...@vger.kernel.org;
> linux-kernel@vger
This clock provider uses the consumer API, so include clk.h
explicitly.
Signed-off-by: Stephen Boyd
---
drivers/clk/qcom/mmcc-msm8960.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/mmcc-msm8960.c b/drivers/clk/qcom/mmcc-msm8960.c
index 9711bca9cc06..2de05e321ad0 100644
--
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Only include clk.h in files that are using
it. Also add in a clkdev.h include that was missing in a file
using clkdev APIs.
Cc: Peter De Schrijver
Cc: Thierry Reding
Signed-off-by: Stephen Boyd
---
drivers/
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver.
Cc: Mark Brown
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-wm831x.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/clk/clk-wm831x.c
This clock provider uses the consumer API, so include clk.h
explicitly.
Cc: Rob Herring
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-highbank.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clk-highbank.c b/drivers/clk/clk-highbank.c
index 2e7e9d9798cb..be3a21abb185 100644
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver. Also add in slab.h because without clkdev.h
compilation of this file would fail.
Cc: Linus Walleij
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-u
This clock provider uses the consumer API, so include clk.h
explicitly.
Cc: Kukjin Kim
Signed-off-by: Stephen Boyd
---
drivers/clk/samsung/clk-s5pv210-audss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/samsung/clk-s5pv210-audss.c
b/drivers/clk/samsung/clk-s
This clock provider uses the consumer API, so include clk.h
explicitly.
Cc: Guenter Roeck
Cc: Soren Brinkmann
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-si570.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clk-si570.c b/drivers/clk/clk-si570.c
index 20a5aec98b1a..cf478a
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver.
Cc: Viresh Kumar
Signed-off-by: Stephen Boyd
---
drivers/clk/spear/spear1310_clock.c | 1 -
drivers/clk/spear/spear1340_clock.c | 1 -
drivers/clk/s
This clock provider uses the consumer API, so include clk.h
explicitly.
Cc: Jonas Jensen
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-moxart.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clk-moxart.c b/drivers/clk/clk-moxart.c
index 5181b89c3cb2..f37f719643ec 100644
--- a
This clock provider uses the consumer API, so include clk.h
explicitly. Also include slab.h instead of relying on clkdev.h
for it.
Cc: Boris BREZILLON
Signed-off-by: Stephen Boyd
---
drivers/clk/at91/clk-slow.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/at91/clk-slow.c b/
This clock provider uses the consumer API, so include clk.h
explicitly.
Cc: Paul Burton
Cc: Paul Cercueil
Cc: Ralf Baechle
Signed-off-by: Stephen Boyd
---
drivers/clk/ingenic/cgu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/ingenic/cgu.c b/drivers/clk/ingenic/cgu.c
index
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Only include clk.h in files that are
using it. The clkdev.h header isn't always used either, so remove
it and add in slab.h where files were relying on it to include
slab for them.
Cc: Chanwoo Choi
Cc: Sylwest
This clock provider uses the consumer API, so include clk.h
explicitly.
Cc: Gabriel Fernandez
Signed-off-by: Stephen Boyd
---
drivers/clk/st/clk-flexgen.c | 1 +
drivers/clk/st/clkgen-fsyn.c | 1 +
drivers/clk/st/clkgen-mux.c | 1 +
drivers/clk/st/clkgen-pll.c | 1 +
4 files changed, 4 insert
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver. Also remove clkdev.h in files that aren't using
it and replace them with slab.h in files that were relying on the
implicit include of slab.h in clkdev.h
This clock provider uses the consumer API, so include clk.h
explicitly.
Cc: Sören Brinkmann
Signed-off-by: Stephen Boyd
---
drivers/clk/zynq/clkc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/zynq/clkc.c b/drivers/clk/zynq/clkc.c
index de614384bb44..38a65c3e62fc 100644
--- a
This clock provider uses the consumer API, so include clk.h
explicitly.
Cc: Alex Elder
Signed-off-by: Stephen Boyd
---
drivers/clk/bcm/clk-kona.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/bcm/clk-kona.c b/drivers/clk/bcm/clk-kona.c
index 79a98506c433..5638de8c6489 100644
-
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver. Also remove clkdev.h in files that aren't using
it.
Cc: Linus Walleij
Signed-off-by: Stephen Boyd
---
drivers/clk/ux500/abx500-clk.c | 1 -
driver
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver. This driver also includes clkdev.h even though
it isn't used, so drop it too and add slab.h to make sure
everything still compiles.
Cc: Linus Walleij
This file implements the clk API and so it should include clk.h
directly instead of indirectly including it through
clk-provider.h.
Signed-off-by: Stephen Boyd
---
drivers/clk/clk.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index ddb4b541016f..89e5
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver.
Cc: Chris Zhong
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-rk808.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/clk/clk-rk808.c b
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver. The clkdev.h include isn't used either, remove
it and add in slab.h to make sure things keep compiling.
Cc: Dinh Nguyen
Signed-off-by: Stephen Boyd
-
Remove clk.h from clk-provider.h so that we can clearly split clk
providers from clk consumers. This will allow us to quickly
detect when clock providers are using the consumer APIs by
looking at the includes.
Signed-off-by: Stephen Boyd
---
include/linux/clk-provider.h | 2 +-
1 file changed, 1
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Only include the header if necessary. The
clkdev.h include isn't used here either, so drop it and add in
slab.h to keep things compiling.
Cc: Boris Brezillon
Signed-off-by: Stephen Boyd
---
drivers/clk/mvebu
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver. The clkdev.h include isn't used either, so drop
it and add in slab.h to keep things compiling.
Cc: Chao Xie
Signed-off-by: Stephen Boyd
---
drivers/
This clock provider uses the consumer API, so include clk.h
explicitly.
Cc: Andrew Bresticker
Cc: Ralf Baechle
Signed-off-by: Stephen Boyd
---
drivers/clk/pistachio/clk.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/pistachio/clk.c b/drivers/clk/pistachio/clk.c
index 85faa83
This clock provider uses the consumer API, so include clk.h
explicitly.
Cc: Mike Looijmans
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-cdce925.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clk-cdce925.c b/drivers/clk/clk-cdce925.c
index 85fafb41e6ca..089bf88ffa8d 100644
This clock provider uses the consumer API, so include clk.h
explicitly.
Cc: Tero Kristo
Signed-off-by: Stephen Boyd
---
drivers/clk/ti/apll.c| 1 +
drivers/clk/ti/clk-33xx.c| 1 +
drivers/clk/ti/clk-3xxx-legacy.c | 1 +
drivers/clk/ti/clk-3xxx.c| 1 +
drivers/clk/ti/
This file isn't a clock provider but uses the consumer API, so
include clk.h instead of clk-provider.h.
Cc: Tero Kristo
Signed-off-by: Stephen Boyd
---
drivers/clk/ti/clk-2xxx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/ti/clk-2xxx.c b/drivers/clk/ti/clk-2x
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Only include clk.h if it's actually used.
Cc: Heiko Stuebner
Signed-off-by: Stephen Boyd
---
drivers/clk/rockchip/clk-cpu.c | 1 +
drivers/clk/rockchip/clk-mmc-phase.c | 1 +
drivers/clk/rockchip/clk-p
This clock provider uses the consumer API, so include clk.h
explicitly.
Cc: Chen-Yu Tsai
Cc: Maxime Ripard
Signed-off-by: Stephen Boyd
---
drivers/clk/sunxi/clk-mod0.c | 3 ++-
drivers/clk/sunxi/clk-sun8i-mbus.c | 2 +-
drivers/clk/sunxi/clk-sun9i-core.c | 2 +-
drivers/clk/sunxi/clk-sun
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. The clk.h include is being included in all
mxs files because it's part of mxs/clk.h even though nothing
actually requires it in that file. Move the clk.h include to the
C files that are actually using it and rem
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver.
Cc: Lars-Peter Clausen
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-axi-clkgen.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/clk/c
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Move the include of clk.h into
clk-common.c because that's the only file that's really using
clk.h, even if it's included into the atlas6 and prima2 files.
Cc: Barry Song
Signed-off-by: Stephen Boyd
---
driv
This clock provider uses the consumer API, so include clk.h
explicitly.
Cc: Sebastian Hesselbarth
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-si5351.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clk-si5351.c b/drivers/clk/clk-si5351.c
index e39e1e680b3c..
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver.
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-mux.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/clk/clk-mux.c b/drivers/clk/clk-mux.
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver.
Cc: Alexander Shiyan
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-clps711x.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/clk/clk-c
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver.
Cc: Joachim Eastwood
Signed-off-by: Stephen Boyd
---
drivers/clk/nxp/clk-lpc18xx-cgu.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/cl
This clock provider uses the consumer API, so include clk.h
explicitly.
Cc: Max Filippov
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-cdce706.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clk-cdce706.c b/drivers/clk/clk-cdce706.c
index f01164fada5d..21830526fd8e 100644
--
This is the third set in a series of patches that removes
clk.h from clk-provider.h. This allows us to clearly see what
provider drivers are using the consumer API (clk.h) by
checking the includes. Currently clk.h is included by
clk-provider.h even though it doesn't need to, so quite a few
clk prov
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver. Also drop the clkdev.h include in files that
aren't using it.
Cc: Bintian Wang
Cc: Zhangfei Gao
Cc: Haojian Zhuang
Signed-off-by: Stephen Boyd
---
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver.
Cc: Peter Ujfalusi
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-twl6040.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/clk/clk-twl6
We don't need to include clk.h in header files, just forward
declare struct clk here. This leads us to a few places where the
include of clk.h was missing in C files. Add them.
Cc: James Liao
Cc: Henry Chen
Cc: Sascha Hauer
Signed-off-by: Stephen Boyd
---
drivers/clk/mediatek/clk-gate.h | 3
This driver includes clkdev.h even though it isn't used, so drop
it.
Cc: Peter Ujfalusi
Cc: Nishanth Menon
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-palmas.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/clk/clk-palmas.c b/drivers/clk/clk-palmas.c
index 45a535ab48aa..8e3039f
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver.
Cc: Uwe Kleine-König
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-efm32gg.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/clk/clk-ef
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Only include clk.h if it's actually used.
Cc: Carlo Caione
Signed-off-by: Stephen Boyd
---
drivers/clk/meson/clk-cpu.c | 1 +
drivers/clk/meson/clkc.c| 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver.
Cc: Ivan Khoronzhuk
Cc: Murali Karicheri
Signed-off-by: Stephen Boyd
---
drivers/clk/keystone/gate.c | 1 -
drivers/clk/keystone/pll.c | 1 -
2 fi
On Fri, Jul 10, 2015 at 11:46:07PM +0200, Pavel Machek wrote:
> On Fri 2015-07-10 14:50:12, Felipe Balbi wrote:
> > Hi,
> >
> > On Thu, Jul 09, 2015 at 11:39:22PM +0200, Pavel Machek wrote:
> > > Hi!
> > >
> > > sysfs should contain one value per file. This one has at least two,
> > > with nice e
On Fri, Jul 10, 2015 at 10:47:32AM -0400, Stephen Smalley wrote:
> On 07/10/2015 09:43 AM, David Herrmann wrote:
> > Hi
> >
> > On Fri, Jul 10, 2015 at 3:25 PM, Stephen Smalley wrote:
> >> On 07/09/2015 06:22 PM, David Herrmann wrote:
> >>> To be clear, faking metadata has one use-case, and one u
On Fri, Jul 10, 2015 at 07:06:23PM -0400, Chris Metcalf wrote:
> On 7/10/2015 6:45 PM, Josh Cartwright wrote:
> >>+static inline const struct cpumask *housekeeping_cpumask(void)
> >>>+{
> >>>+#ifdef CONFIG_NO_HZ_FULL
> >>>+ if (tick_nohz_full_enabled())
> >>>+ return housekeeping_mask;
>
On 7/10/2015 6:45 PM, Josh Cartwright wrote:
+static inline const struct cpumask *housekeeping_cpumask(void)
>+{
>+#ifdef CONFIG_NO_HZ_FULL
>+ if (tick_nohz_full_enabled())
>+ return housekeeping_mask;
>+#endif
Just a small comment:
We can take these checks out from under a #ifdef C
This file uses the clk API so it should include clk.h directly
instead of indirectly including it through clk-provider.h.
Cc: Geert Uytterhoeven
Signed-off-by: Stephen Boyd
---
Please ack so this can go through clk-tree.
lib/vsprintf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/v
This driver uses the consumer API, so include clk.h explicitly
instead of impliclty through the provider API.
Cc: Luc Verhaegen
Cc: Hans de Goede
Cc: Geert Uytterhoeven
Cc: Maxime Ripard
Cc: David Herrmann
Cc: Tomi Valkeinen
Signed-off-by: Stephen Boyd
---
Please ack so this can go through
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the includes here because these are
provider drivers.
Cc: Ken Xue
Cc: Mika Westerberg
Cc: Rafael J. Wysocki
Signed-off-by: Stephen Boyd
---
Please ack so this can go through clk-tree. Otherwise it's
This file doesn't use the clk provider APIs. Remove the include.
Cc: Michal Simek
Cc: Daniel Lezcano
Signed-off-by: Stephen Boyd
---
Please ack if you want this to go through clk-tree, otherwise
it's ok to take it through the clocksource side.
drivers/clocksource/cadence_ttc_timer.c | 1 -
1
This is the second set in a series of patches that removes
clk.h from clk-provider.h. This allows us to clearly see what
provider drivers are using the consumer API (clk.h) by
checking the includes. Currently clk.h is included by
clk-provider.h even though it doesn't need to so quite a few
clk prov
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver.
Cc: Daniel Mack
Cc: Haojian Zhuang
Cc: Robert Jarzmik
Cc: Mark Brown
Signed-off-by: Stephen Boyd
---
Please ack so this can go through the clk tr
This clock provider uses the consumer API, so include clk.h
explicitly.
Cc: Sören Brinkmann
Cc: Greg Kroah-Hartman
Signed-off-by: Stephen Boyd
---
Please ack so this can go through the clk-tree.
drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c | 1 +
1 file changed, 1 insertion(+)
di
This clock provider uses the consumer API, so include clk.h
explicitly.
Cc: Gerhard Sittig
Cc: Scott Wood
Cc: Anatolij Gustschin
Signed-off-by: Stephen Boyd
---
Please ack so this can go through the clk-tree.
arch/powerpc/platforms/512x/clock-commonclk.c | 1 +
1 file changed, 1 insertion(+
1 - 100 of 789 matches
Mail list logo