[PATCH 07/35] net: irda: ksdazzle: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/irda/ksdazzle-sir.c | 2 +- 1 file changed, 1

[PATCH 07/35] net: irda: ksdazzle: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/irda/ksdazzle-sir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 10/35] net: usb: catc: constify usb_device_id and fix space before '[' error

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Fix checkpatch.pl error: ERROR: space prohibited before open square bracket '['. Signed-off-by: Arvind Yadav

[PATCH 10/35] net: usb: catc: constify usb_device_id and fix space before '[' error

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Fix checkpatch.pl error: ERROR: space prohibited before open square bracket '['. Signed-off-by: Arvind Yadav ---

[PATCH 12/35] net: usb: ipheth: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/usb/ipheth.c | 2 +- 1 file changed, 1

[PATCH 12/35] net: usb: ipheth: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/usb/ipheth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH] ACPI / Sleep: Check low power idle constraints for debug only

2017-08-08 Thread Srinivas Pandruvada
On Tue, 2017-08-08 at 09:51 +0200, Lukas Wunner wrote: > On Mon, Aug 07, 2017 at 04:53:57PM -0700, Srinivas Pandruvada wrote: > > > > + out_obj = acpi_evaluate_dsm(lps0_device_handle, > > _dsm_guid, > > + 1, > > ACPI_LPS0_GET_DEVICE_CONSTRAINTS, > > +

Re: [PATCH] ACPI / Sleep: Check low power idle constraints for debug only

2017-08-08 Thread Srinivas Pandruvada
On Tue, 2017-08-08 at 09:51 +0200, Lukas Wunner wrote: > On Mon, Aug 07, 2017 at 04:53:57PM -0700, Srinivas Pandruvada wrote: > > > > + out_obj = acpi_evaluate_dsm(lps0_device_handle, > > _dsm_guid, > > + 1, > > ACPI_LPS0_GET_DEVICE_CONSTRAINTS, > > +

[PATCH 11/35] net: usb: cdc-phonet: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/usb/cdc-phonet.c | 2 +- 1 file changed, 1

[PATCH 11/35] net: usb: cdc-phonet: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/usb/cdc-phonet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 35/35] wireless: zydas: zd1211rw: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/zydas/zd1211rw/zd_usb.c | 2 +- 1

[PATCH 35/35] wireless: zydas: zd1211rw: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/zydas/zd1211rw/zd_usb.c | 2 +- 1 file changed, 1 insertion(+),

Re: kernel BUG at kernel/futex.c:679 on v4.13-rc3-ish on arm64

2017-08-08 Thread Linus Torvalds
On Tue, Aug 8, 2017 at 8:41 AM, Mark Rutland wrote: > > With my __BUG_FLAGS() issue corrected, the WARN_ON_ONCE() fires once, > and everything else seems fine. I'll have a go with additional debug > enabled just in case. Ok, great, a - mostly - false alarm. I do wonder if

Re: kernel BUG at kernel/futex.c:679 on v4.13-rc3-ish on arm64

2017-08-08 Thread Linus Torvalds
On Tue, Aug 8, 2017 at 8:41 AM, Mark Rutland wrote: > > With my __BUG_FLAGS() issue corrected, the WARN_ON_ONCE() fires once, > and everything else seems fine. I'll have a go with additional debug > enabled just in case. Ok, great, a - mostly - false alarm. I do wonder if we should just remove

[PATCH 34/35] wireless: zydas: zd1201: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/zydas/zd1201.c | 2 +- 1 file

[PATCH 34/35] wireless: zydas: zd1201: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/zydas/zd1201.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 33/35] wireless: realtek: rtl8192cu: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c | 2 +-

[PATCH 33/35] wireless: realtek: rtl8192cu: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c | 2 +- 1 file changed, 1

Re: [PATCH v2 2/3] arm/syscalls: Optimize address limit check

2017-08-08 Thread Thomas Garnier
On Mon, Aug 7, 2017 at 10:55 AM, Russell King - ARM Linux wrote: > > It's better in so far as it avoids the problems previously highlighted. > > However, it depends how efficient we want these paths to be - the > difference between your assembly and the assembly I've

Re: [PATCH v2 2/3] arm/syscalls: Optimize address limit check

2017-08-08 Thread Thomas Garnier
On Mon, Aug 7, 2017 at 10:55 AM, Russell King - ARM Linux wrote: > > It's better in so far as it avoids the problems previously highlighted. > > However, it depends how efficient we want these paths to be - the > difference between your assembly and the assembly I've previously > supplied is that

[PATCH 28/35] wireless: ralink: rt2500usb: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/ralink/rt2x00/rt2500usb.c | 2 +- 1

[PATCH 28/35] wireless: ralink: rt2500usb: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/ralink/rt2x00/rt2500usb.c | 2 +- 1 file changed, 1

[PATCH 32/35] wireless: realtek: rtl8xxxu: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 2

[PATCH 32/35] wireless: realtek: rtl8xxxu: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 2 +- 1 file changed, 1

[PATCH 31/35] wireless: realtek: rtl8187: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c | 2 +-

[PATCH 31/35] wireless: realtek: rtl8187: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c | 2 +- 1 file changed, 1

[PATCH 29/35] wireless: ralink: rt2800usb: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/ralink/rt2x00/rt2800usb.c | 2 +- 1

[PATCH 29/35] wireless: ralink: rt2800usb: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/ralink/rt2x00/rt2800usb.c | 2 +- 1 file changed, 1

[PATCH 30/35] wireless: ralink: rt73usb: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/ralink/rt2x00/rt73usb.c | 2 +- 1

[PATCH 30/35] wireless: ralink: rt73usb: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/ralink/rt2x00/rt73usb.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH 27/35] wireless: mediatek: mt7601u: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/mediatek/mt7601u/usb.c | 2 +- 1 file

[PATCH 27/35] wireless: mediatek: mt7601u: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/mediatek/mt7601u/usb.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 26/35] wireless: marvell: mwifiex: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/marvell/mwifiex/usb.c | 2 +- 1 file

[PATCH 26/35] wireless: marvell: mwifiex: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/marvell/mwifiex/usb.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 25/35] wireless: marvell: libertas_tf: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/marvell/libertas_tf/if_usb.c | 2 +-

[PATCH 25/35] wireless: marvell: libertas_tf: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/marvell/libertas_tf/if_usb.c | 2 +- 1 file changed, 1

Re: [PATCH] drm/bridge: make drm_bridge_funcs const

2017-08-08 Thread Laurent Pinchart
Hi Bhumika, Thank you for the patch. On Tuesday 08 Aug 2017 21:24:10 Bhumika Goyal wrote: > Make these structures const as they are only stored in the funcs field > of drm_bridge structure, which is of type const. > Done using Coccinelle. > > Signed-off-by: Bhumika Goyal

Re: [PATCH] drm/bridge: make drm_bridge_funcs const

2017-08-08 Thread Laurent Pinchart
Hi Bhumika, Thank you for the patch. On Tuesday 08 Aug 2017 21:24:10 Bhumika Goyal wrote: > Make these structures const as they are only stored in the funcs field > of drm_bridge structure, which is of type const. > Done using Coccinelle. > > Signed-off-by: Bhumika Goyal Reviewed-by: Laurent

[PATCH 24/35] wireless: marvell: libertas: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/marvell/libertas/if_usb.c | 2 +- 1

[PATCH 24/35] wireless: marvell: libertas: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/marvell/libertas/if_usb.c | 2 +- 1 file changed, 1

[PATCH 23/35] wireless: intersil: p54: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/intersil/p54/p54usb.c | 2 +- 1 file

[PATCH 23/35] wireless: intersil: p54: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/intersil/p54/p54usb.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 22/35] wireless: intersil: orinoco: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/intersil/orinoco/orinoco_usb.c | 2 +-

[PATCH 22/35] wireless: intersil: orinoco: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/intersil/orinoco/orinoco_usb.c | 2 +- 1 file changed, 1

[PATCH 21/35] wireless: broadcom: brcm80211: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c | 2

[PATCH 21/35] wireless: broadcom: brcm80211: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c | 2 +- 1 file changed, 1

[PATCH 20/35] wireless: atmel: at76c50x: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/atmel/at76c50x-usb.c | 2 +- 1 file

[PATCH 20/35] wireless: atmel: at76c50x: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/atmel/at76c50x-usb.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 19/35] wireless: ath: carl9170: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/ath/carl9170/usb.c | 2 +- 1 file

[PATCH 19/35] wireless: ath: carl9170: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/ath/carl9170/usb.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 14/35] net: usb: r8152: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/usb/r8152.c | 2 +- 1 file changed, 1

[PATCH 14/35] net: usb: r8152: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/usb/r8152.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 18/35] wireless: ath: ath9k: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/ath/ath9k/hif_usb.c | 2 +- 1 file

[PATCH 18/35] wireless: ath: ath9k: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/ath/ath9k/hif_usb.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 16/35] wireless: ath: ar5523: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/ath/ar5523/ar5523.c | 2 +- 1 file

[PATCH 16/35] wireless: ath: ar5523: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/ath/ar5523/ar5523.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 17/35] wireless: ath: ath6kl: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/ath/ath6kl/usb.c | 2 +- 1 file

[PATCH 17/35] wireless: ath: ath6kl: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/ath/ath6kl/usb.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 15/35] net: usb: rtl8150: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/usb/rtl8150.c | 2 +- 1 file changed, 1

[PATCH 15/35] net: usb: rtl8150: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/usb/rtl8150.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH 2/2] clk: rockchip: add special approximation to fix up fractional clk's jitter

2017-08-08 Thread Heiko Stuebner
Am Dienstag, 1. August 2017, 18:22:24 CEST schrieb Heiko Stuebner: > From: Elaine Zhang > > From Rockchips fractional divider description: > 3.1.9 Fractional divider usage > To get specific frequency, clocks of I2S, SPDIF, UARTcan be generated by > fractional

Re: [PATCH 2/2] clk: rockchip: add special approximation to fix up fractional clk's jitter

2017-08-08 Thread Heiko Stuebner
Am Dienstag, 1. August 2017, 18:22:24 CEST schrieb Heiko Stuebner: > From: Elaine Zhang > > From Rockchips fractional divider description: > 3.1.9 Fractional divider usage > To get specific frequency, clocks of I2S, SPDIF, UARTcan be generated by > fractional divider. Generally you must

Re: [PATCH 1/2] clk: fractional-divider: allow overriding of approximation

2017-08-08 Thread Heiko Stuebner
Am Dienstag, 1. August 2017, 18:21:22 CEST schrieb Heiko Stuebner: > From: Elaine Zhang > > Fractional dividers may have special requirements concerning numerator > and denominator selection that differ from just getting the best > approximation. > > For example on

Re: [PATCH 1/2] clk: fractional-divider: allow overriding of approximation

2017-08-08 Thread Heiko Stuebner
Am Dienstag, 1. August 2017, 18:21:22 CEST schrieb Heiko Stuebner: > From: Elaine Zhang > > Fractional dividers may have special requirements concerning numerator > and denominator selection that differ from just getting the best > approximation. > > For example on Rockchip socs the denominator

[PATCH 08/35] net: irda: mcs7780: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/irda/mcs7780.c | 2 +- 1 file changed, 1

[PATCH 08/35] net: irda: mcs7780: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/irda/mcs7780.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 09/35] net: irda: stir4200: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/irda/stir4200.c | 2 +- 1 file changed, 1

[PATCH 09/35] net: irda: stir4200: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/irda/stir4200.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 13/35] net: usb: kaweth: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/usb/kaweth.c | 2 +- 1 file changed, 1

[PATCH 13/35] net: usb: kaweth: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/usb/kaweth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 06/35] net: irda: ks959: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/irda/ks959-sir.c | 2 +- 1 file changed, 1

[PATCH 06/35] net: irda: ks959: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/irda/ks959-sir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] hw: Fix permissions for OCRDMA_RESET_STATS

2017-08-08 Thread Anton Vasilyev
Debugfs file reset_stats is created with S_IRUSR permissions, but ocrdma_dbgfs_ops_read() doesn't support OCRDMA_RESET_STATS, whereas ocrdma_dbgfs_ops_write() supports only OCRDMA_RESET_STATS. The patch fixes misstype with permissions. Found by Linux Driver Verification project

[PATCH] hw: Fix permissions for OCRDMA_RESET_STATS

2017-08-08 Thread Anton Vasilyev
Debugfs file reset_stats is created with S_IRUSR permissions, but ocrdma_dbgfs_ops_read() doesn't support OCRDMA_RESET_STATS, whereas ocrdma_dbgfs_ops_write() supports only OCRDMA_RESET_STATS. The patch fixes misstype with permissions. Found by Linux Driver Verification project

[PATCH 02/35] can: esd_usb2: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/can/usb/esd_usb2.c | 2 +- 1 file changed, 1

[PATCH 02/35] can: esd_usb2: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/can/usb/esd_usb2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 01/35] can: ems_usb: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/can/usb/ems_usb.c | 2 +- 1 file changed, 1

[PATCH 01/35] can: ems_usb: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/can/usb/ems_usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 00/35] constify net usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. [PATCH 10/35] :Fix checkpatch.pl error. ERROR: space prohibited before open square bracket '['. Arvind Yadav (35):

[PATCH 00/35] constify net usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. [PATCH 10/35] :Fix checkpatch.pl error. ERROR: space prohibited before open square bracket '['. Arvind Yadav (35):

[PATCH 03/35] can: peak_usb: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/can/usb/peak_usb/pcan_usb_core.c | 2 +- 1

[PATCH 03/35] can: peak_usb: constify usb_device_id

2017-08-08 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/can/usb/peak_usb/pcan_usb_core.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH] drm/bridge: make drm_bridge_funcs const

2017-08-08 Thread Bhumika Goyal
Make these structures const as they are only stored in the funcs field of drm_bridge structure, which is of type const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 2 +- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c

[PATCH] drm/bridge: make drm_bridge_funcs const

2017-08-08 Thread Bhumika Goyal
Make these structures const as they are only stored in the funcs field of drm_bridge structure, which is of type const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 2 +- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 2 +- 2 files

Re: [PATCH] iio: adc: Fix coding style violations

2017-08-08 Thread Joe Perches
On Tue, 2017-08-08 at 14:04 +0200, Michal Simek wrote: > From: Sai Krishna Potthuri [] > diff --git a/drivers/iio/adc/xilinx-xadc.h b/drivers/iio/adc/xilinx-xadc.h [] > @@ -76,7 +76,7 @@ struct xadc_ops { > int (*setup)(struct platform_device *pdev,

Re: [PATCH] iio: adc: Fix coding style violations

2017-08-08 Thread Joe Perches
On Tue, 2017-08-08 at 14:04 +0200, Michal Simek wrote: > From: Sai Krishna Potthuri [] > diff --git a/drivers/iio/adc/xilinx-xadc.h b/drivers/iio/adc/xilinx-xadc.h [] > @@ -76,7 +76,7 @@ struct xadc_ops { > int (*setup)(struct platform_device *pdev, struct iio_dev *indio_dev, >

Re: [PATCH 0/5] qcom-ufs: phy/hcd: Refactor phy initialization code

2017-08-08 Thread Vivek Gautam
Hi Koshon, On 2017-08-08 17:39, Kishon Vijay Abraham I wrote: Hi, On Friday 04 August 2017 12:18 PM, Vivek Gautam wrote: Refactoring the qcom-ufs phy and host controller code to move further towards the generic phy usage. Right now the qcom-ufs exports a bunch of APIs that are used by the

Re: [PATCH 0/5] qcom-ufs: phy/hcd: Refactor phy initialization code

2017-08-08 Thread Vivek Gautam
Hi Koshon, On 2017-08-08 17:39, Kishon Vijay Abraham I wrote: Hi, On Friday 04 August 2017 12:18 PM, Vivek Gautam wrote: Refactoring the qcom-ufs phy and host controller code to move further towards the generic phy usage. Right now the qcom-ufs exports a bunch of APIs that are used by the

Re: [PATCH v1 5/6] zram: remove zram_rw_page

2017-08-08 Thread Matthew Wilcox
On Tue, Aug 08, 2017 at 05:23:50PM +0900, Sergey Senozhatsky wrote: > Hello Minchan, > > On (08/08/17 17:13), Minchan Kim wrote: > > Hi Sergey, > > > > On Tue, Aug 08, 2017 at 04:02:26PM +0900, Sergey Senozhatsky wrote: > > > On (08/08/17 15:50), Minchan Kim wrote: > > > > With on-stack-bio,

Re: [PATCH v1 5/6] zram: remove zram_rw_page

2017-08-08 Thread Matthew Wilcox
On Tue, Aug 08, 2017 at 05:23:50PM +0900, Sergey Senozhatsky wrote: > Hello Minchan, > > On (08/08/17 17:13), Minchan Kim wrote: > > Hi Sergey, > > > > On Tue, Aug 08, 2017 at 04:02:26PM +0900, Sergey Senozhatsky wrote: > > > On (08/08/17 15:50), Minchan Kim wrote: > > > > With on-stack-bio,

Re: [PATCH v2 0/2] mm,fork,security: introduce MADV_WIPEONFORK

2017-08-08 Thread Rik van Riel
On Tue, 2017-08-08 at 08:19 -0700, Mike Kravetz wrote: > The other question I was trying to bring up is "What does > MADV_WIPEONFORK > mean for various types of mappings?"  For example, if we allow > MADV_WIPEONFORK on a file backed mapping what does that mapping look > like in the child after

Re: [PATCH v2 0/2] mm,fork,security: introduce MADV_WIPEONFORK

2017-08-08 Thread Rik van Riel
On Tue, 2017-08-08 at 08:19 -0700, Mike Kravetz wrote: > The other question I was trying to bring up is "What does > MADV_WIPEONFORK > mean for various types of mappings?"  For example, if we allow > MADV_WIPEONFORK on a file backed mapping what does that mapping look > like in the child after

[PATCH] staging: vboxvideo: make drm_fb_helper_funcs const

2017-08-08 Thread Bhumika Goyal
Make the structure const as it is only passed to the function drm_fb_helper_prepare and the corresponding argument is of type const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/staging/vboxvideo/vbox_fb.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] staging: vboxvideo: make drm_fb_helper_funcs const

2017-08-08 Thread Bhumika Goyal
Make the structure const as it is only passed to the function drm_fb_helper_prepare and the corresponding argument is of type const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/staging/vboxvideo/vbox_fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] ARM: sunxi: add an help section to the Kconfig Sun8i SoC selection

2017-08-08 Thread Chen-Yu Tsai
Hi, On Tue, Aug 8, 2017 at 11:36 PM, Corentin Labbe wrote: > Since sun8i regroup lots of SoCs, it is helpful to list them in the help > section of Kconfig. > > Signed-off-by: Corentin Labbe > --- > arch/arm/mach-sunxi/Kconfig | 3 +++ > 1

Re: [PATCH] ARM: sunxi: add an help section to the Kconfig Sun8i SoC selection

2017-08-08 Thread Chen-Yu Tsai
Hi, On Tue, Aug 8, 2017 at 11:36 PM, Corentin Labbe wrote: > Since sun8i regroup lots of SoCs, it is helpful to list them in the help > section of Kconfig. > > Signed-off-by: Corentin Labbe > --- > arch/arm/mach-sunxi/Kconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git

[PATCH v3 1/7] pwm: rockchip: Add APB and function both clocks support

2017-08-08 Thread David Wu
New PWM module provides two individual clocks for APB clock and function clock. Signed-off-by: David Wu Acked-by: Rob Herring --- changes in v3: - clk_get with NULL argument again if it was error, when clk_get with "pwm" argument. - To get clk count,

Re: kernel BUG at kernel/futex.c:679 on v4.13-rc3-ish on arm64

2017-08-08 Thread Mark Rutland
On Tue, Aug 08, 2017 at 04:32:30PM +0100, Mel Gorman wrote: > On Tue, Aug 08, 2017 at 11:52:05AM +0100, Mark Rutland wrote: > > As a heads-up, I hit the below splat when using Syzkaller to fuzz arm64 > > VMAP_STACK patches [1] atop of v4.13-rc3. I haven't hit anything else > > major, and so far I

[PATCH v3 1/7] pwm: rockchip: Add APB and function both clocks support

2017-08-08 Thread David Wu
New PWM module provides two individual clocks for APB clock and function clock. Signed-off-by: David Wu Acked-by: Rob Herring --- changes in v3: - clk_get with NULL argument again if it was error, when clk_get with "pwm" argument. - To get clk count, use of_count_phandle_with_args instead of

Re: kernel BUG at kernel/futex.c:679 on v4.13-rc3-ish on arm64

2017-08-08 Thread Mark Rutland
On Tue, Aug 08, 2017 at 04:32:30PM +0100, Mel Gorman wrote: > On Tue, Aug 08, 2017 at 11:52:05AM +0100, Mark Rutland wrote: > > As a heads-up, I hit the below splat when using Syzkaller to fuzz arm64 > > VMAP_STACK patches [1] atop of v4.13-rc3. I haven't hit anything else > > major, and so far I

<    3   4   5   6   7   8   9   10   11   12   >