[PATCH 12/16 linux-next] can: constify of_device_id array

2015-03-17 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/net/can/cc770/cc770_platform.c | 2 +- drivers/net/can/grcan.c| 2 +- drivers/net/can/mscan/mpc5xxx_can.c| 2

[PATCH 00/16 linux-next] drivers/net: constify of_device_id array

2015-03-17 Thread Fabian Frederick
This small patchset adds const to of_device_id arrays in drivers/net branch. Fabian Frederick (16): net: netcp: constify of_device_id array Altera TSE: constify of_device_id array net/fsl: constify of_device_id array net: ethoc: constify of_device_id array drivers: net: xgene: constify

[PATCH 07/16 linux-next] netdev: octeon_mgmt: constify of_device_id array

2015-03-17 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/net/ethernet/octeon/octeon_mgmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/octeon/octeon_mgmt.c

[PATCH 01/16 linux-next] net: netcp: constify of_device_id array

2015-03-17 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/net/ethernet/ti/netcp_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/netcp_core.c b

[PATCH 14/16 linux-next] ehea: constify of_device_id array

2015-03-17 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/net/ethernet/ibm/ehea/ehea_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/ibm/ehea

[PATCH 08/16 linux-next] net: greth: constify of_device_id array

2015-03-17 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/net/ethernet/aeroflex/greth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/aeroflex/greth.c b

[PATCH 03/16 linux-next] net/fsl: constify of_device_id array

2015-03-17 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/net/ethernet/freescale/fec_mpc52xx.c | 2 +- drivers/net/ethernet/freescale/fec_mpc52xx_phy.c | 2 +- drivers/net/ethernet

[PATCH 04/16 linux-next] net: ethoc: constify of_device_id array

2015-03-17 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/net/ethernet/ethoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ethoc.c b/drivers/net/ethernet

[PATCH 05/16 linux-next] drivers: net: xgene: constify of_device_id array

2015-03-17 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/apm/xgene

Re: [PATCH 01/35 linux-next] ata: constify of_device_id array

2015-03-17 Thread Fabian Frederick
On 16 March 2015 at 23:16 Richard Weinberger richard.weinber...@gmail.com wrote: Fabian, On Mon, Mar 16, 2015 at 8:17 PM, Fabian Frederick f...@skynet.be wrote: of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Do you know the gcc plugin

Re: [PATCH 02/35 linux-next] regulator: constify of_device_id array

2015-03-17 Thread Fabian Frederick
On 17 March 2015 at 18:19 Mark Brown broo...@kernel.org wrote: On Tue, Mar 17, 2015 at 06:10:12PM +0100, Fabian Frederick wrote: Thanks Mark, I used a --cc-cmd script by Joe Perches with git send-email which uses --nom for cover-letter. This limits recipients to mailing lists: 37

[PATCH 06/16 linux-next] net: ethernet: apple: constify of_device_id array

2015-03-17 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/net/ethernet/apple/bmac.c | 2 +- drivers/net/ethernet/apple/mace.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 02/16 linux-next] Altera TSE: constify of_device_id array

2015-03-17 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/net/ethernet/altera/altera_tse_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/altera

[PATCH 10/16 linux-next] orinoco: constify of_device_id array

2015-03-17 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/net/wireless/orinoco/airport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/orinoco/airport.c b

[PATCH 11/16 linux-next] net: phy: constify of_device_id array

2015-03-17 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/net/phy/mdio-bcm-unimac.c | 2 +- drivers/net/phy/mdio-gpio.c| 2 +- drivers/net/phy/mdio-mux-gpio.c| 2 +- drivers/net/phy/mdio

Re: [PATCH 25/35 linux-next] PCI: constify of_device_id array

2015-03-16 Thread Fabian Frederick
> On 16 March 2015 at 21:23 Sergei Shtylyov > wrote: > > > Hello. > > On 03/16/2015 10:54 PM, Fabian Frederick wrote: > > > of_device_id is always used as const. > > (See driver.of_match_table and open firmware functions) > > > Signed-off-by: Fabi

Re: [PATCH 4/5 linux-next] udf: rename udf_get_filename()

2015-03-16 Thread Fabian Frederick
> On 16 March 2015 at 08:46 Jan Kara wrote: > > >   Hi Fabian, > > On Sun 15-03-15 09:34:35, Fabian Frederick wrote: > > > On 14 March 2015 at 07:52 Jan Kara wrote: > > > > > > > > > On Tue 10-03-15 21:44:34, Fabian Frederick wrote: >

[PATCH 1/1 linux-next] udf: improve udf_get_filename() error management

2015-03-16 Thread Fabian Frederick
Let udf_get_filename() return errors instead of 0. udf_pc_to_char() now returns error accordingly. udf_readdir() and udf_find_entry() process is done on positive result. Note that error propagation has still to be done in the later functions. Suggested-by: Jan Kara Signed-off-by: Fabian

[PATCH 34/35 linux-next] Staging: octeon: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/staging/octeon-usb/octeon-hcd.c | 2 +- drivers/staging/octeon/ethernet.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 32/35 linux-next] clk: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/clk/clk-palmas.c | 2 +- drivers/clk/st/clkgen-fsyn.c | 2 +- drivers/clk/st/clkgen-mux.c | 8 drivers/clk

[PATCH 35/35 linux-next] pinctrl: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/pinctrl/bcm/pinctrl-bcm2835.c | 2 +- drivers/pinctrl/mediatek/pinctrl-mt8135.c | 2 +- drivers/pinctrl/mediatek/pinctrl-mt8173.c | 2 +- drivers

[PATCH 33/35 linux-next] mmc: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/mmc/host/mmc_spi.c | 2 +- drivers/mmc/host/wmt-sdmmc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/mmc_spi.c b

[PATCH 27/35 linux-next] reset: sti: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/reset/sti/reset-stih407.c | 2 +- drivers/reset/sti/reset-stih415.c | 2 +- drivers/reset/sti/reset-stih416.c | 2 +- 3 files changed, 3 insertions(+), 3

[PATCH 26/35 linux-next] hwmon: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/hwmon/pwm-fan.c | 2 +- drivers/hwmon/vexpress.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hwmon/pwm-fan.c b/drivers

[PATCH 24/35 linux-next] Input: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/input/misc/palmas-pwrbutton.c | 2 +- drivers/input/misc/regulator-haptic.c | 2 +- drivers/input/misc/tps65218-pwrbutton.c | 2 +- drivers/input

[PATCH 23/35 linux-next] [media] constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/media/i2c/adv7604.c | 2 +- drivers/media/platform/fsl-viu.c | 2 +- drivers/media/platform/soc_camera/rcar_vin.c | 2

[PATCH 31/35 linux-next] EDAC: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/edac/highbank_mc_edac.c | 2 +- drivers/edac/mpc85xx_edac.c | 4 ++-- drivers/edac/ppc4xx_edac.c | 2 +- drivers/edac/synopsys_edac.c| 2 +- 4

[PATCH 30/35 linux-next] devfreq: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/devfreq/event/exynos-ppmu.c | 2 +- drivers/devfreq/tegra-devfreq.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH 29/35 linux-next] gpu: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/gpu/drm/armada/armada_crtc.c| 2 +- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 2 +- drivers/gpu/drm/exynos/exynos_hdmi.c| 2 +- drivers/gpu/drm

[PATCH 28/35 linux-next] uio: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/uio/uio_pdrv_genirq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/uio/uio_pdrv_genirq.c b/drivers/uio/uio_pdrv_genirq.c index

[PATCH 22/35 linux-next] soc: ti: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/soc/ti/knav_dma.c| 2 +- drivers/soc/ti/knav_qmss_queue.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/ti

[PATCH 25/35 linux-next] PCI: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/gpio/gpio-mpc8xxx.c | 2 +- drivers/gpio/gpio-octeon.c | 2 +- drivers/gpio/gpio-tz1090-pdc.c | 2 +- drivers/gpio/gpio-tz1090.c | 2

[PATCH 12/35 linux-next] mtd: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/mtd/devices/docg3.c | 2 +- drivers/mtd/maps/physmap_of.c | 4 ++-- drivers/mtd/nand/mpc5121_nfc.c| 2 +- drivers/mtd/spi-nor/fsl-quadspi.c | 2

[PATCH 13/35 linux-next] w1: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/w1/masters/mxc_w1.c | 2 +- drivers/w1/masters/omap_hdq.c | 2 +- drivers/w1/masters/w1-gpio.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions

[PATCH 02/35 linux-next] regulator: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/regulator/palmas-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator

[PATCH 00/35 linux-next] constify of_device_id array

2015-03-16 Thread Fabian Frederick
This small patchset adds const to of_device_id arrays in drivers branch. Fabian Frederick (35): ata: constify of_device_id array regulator: constify of_device_id array thermal: constify of_device_id array tty/hvc_opal: constify of_device_id array tty: constify of_device_id array power

[PATCH 10/35 linux-next] misc: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/misc/carma/carma-fpga-program.c | 2 +- drivers/misc/carma/carma-fpga.c | 2 +- drivers/misc/lis3lv02d/lis3lv02d_i2c.c | 2 +- drivers/misc

[PATCH 15/35 linux-next] spi: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/spi/spi-mpc512x-psc.c | 2 +- drivers/spi/spi-octeon.c | 2 +- drivers/spi/spi-st-ssc4.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions

[PATCH 17/35 linux-next] coresight-replicator: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/coresight/coresight-replicator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/coresight/coresight-replicator.c b/drivers

[PATCH 20/35 linux-next] swim3: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/block/swim3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c index 523ee8f..09a1d09 100644

[PATCH 21/35 linux-next] mfd: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/mfd/hi6421-pmic-core.c | 2 +- drivers/mfd/rk808.c| 2 +- drivers/mfd/twl4030-power.c| 2 +- 3 files changed, 3 insertions(+), 3 deletions

[PATCH 19/35 linux-next] virtio_mmio: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/virtio/virtio_mmio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c index

[PATCH 16/35 linux-next] video: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/video/backlight/gpio_backlight.c | 2 +- drivers/video/backlight/pwm_bl.c | 2 +- drivers/video/fbdev/fsl-diu-fb.c | 2 +- drivers

[PATCH 14/35 linux-next] ide: pmac: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/ide/pmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ide/pmac.c b/drivers/ide/pmac.c index 2db803c..fcf860f 100644

[PATCH 18/35 linux-next] macintosh: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/macintosh/mediabay.c | 2 +- drivers/macintosh/rack-meter.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/macintosh

[PATCH 11/35 linux-next] usb: gadget: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/usb/gadget/udc/pxa27x_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/pxa27x_udc.c b/drivers/usb/gadget/udc

[PATCH 06/35 linux-next] power: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/power/charger-manager.c | 2 +- drivers/power/reset/at91-poweroff.c | 2 +- drivers/power/reset/at91-reset.c| 4 ++-- drivers/power/reset

[PATCH 09/35 linux-next] iio: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/iio/common/ssp_sensors/ssp_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/common/ssp_sensors/ssp_dev.c b/drivers/iio

[PATCH 07/35 linux-next] char: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/char/hw_random/pasemi-rng.c | 2 +- drivers/char/hw_random/powernv-rng.c | 2 +- drivers/char/hw_random/ppc4xx-rng.c | 2 +- drivers/char/ipmi

[PATCH 08/35 linux-next] dma: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/dma/bestcomm/bestcomm.c | 4 ++-- drivers/dma/k3dma.c | 2 +- drivers/dma/mmp_pdma.c | 2 +- drivers/dma/mmp_tdma.c | 2

[PATCH 05/35 linux-next] tty: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/tty/serial/apbuart.c| 2 +- drivers/tty/serial/cpm_uart/cpm_uart_core.c | 2 +- drivers/tty/serial/fsl_lpuart.c | 2 +- drivers

[PATCH 04/35 linux-next] tty/hvc_opal: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/tty/hvc/hvc_opal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c index 071551b

[PATCH 01/35 linux-next] ata: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/ata/pata_macio.c | 2 +- drivers/ata/pata_mpc52xx.c | 2 +- drivers/ata/pata_octeon_cf.c | 2 +- drivers/ata/pata_of_platform.c | 2 +- drivers

[PATCH 03/35 linux-next] thermal: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- drivers/thermal/st/st_thermal_memmap.c | 2 +- drivers/thermal/st/st_thermal_syscfg.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH 1/1 linux-next] udf: improve udf_get_filename() error management

2015-03-16 Thread Fabian Frederick
-by: Fabian Frederick f...@skynet.be --- This is untested. fs/udf/dir.c | 2 +- fs/udf/namei.c | 3 ++- fs/udf/symlink.c | 3 +++ fs/udf/unicode.c | 12 +++- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/fs/udf/dir.c b/fs/udf/dir.c index 05e90ed..98bcc27 100644

Re: [PATCH 4/5 linux-next] udf: rename udf_get_filename()

2015-03-16 Thread Fabian Frederick
On 16 March 2015 at 08:46 Jan Kara j...@suse.cz wrote:    Hi Fabian, On Sun 15-03-15 09:34:35, Fabian Frederick wrote: On 14 March 2015 at 07:52 Jan Kara j...@suse.cz wrote: On Tue 10-03-15 21:44:34, Fabian Frederick wrote: udf_readdir(), udf_find_entry() and udf_pc_to_char

Re: [PATCH 25/35 linux-next] PCI: constify of_device_id array

2015-03-16 Thread Fabian Frederick
On 16 March 2015 at 21:23 Sergei Shtylyov sergei.shtyl...@cogentembedded.com wrote: Hello. On 03/16/2015 10:54 PM, Fabian Frederick wrote: of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be

[PATCH 04/35 linux-next] tty/hvc_opal: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/tty/hvc/hvc_opal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c

[PATCH 01/35 linux-next] ata: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/ata/pata_macio.c | 2 +- drivers/ata/pata_mpc52xx.c | 2 +- drivers/ata/pata_octeon_cf.c | 2 +- drivers/ata/pata_of_platform.c | 2

[PATCH 03/35 linux-next] thermal: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/thermal/st/st_thermal_memmap.c | 2 +- drivers/thermal/st/st_thermal_syscfg.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 05/35 linux-next] tty: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/tty/serial/apbuart.c| 2 +- drivers/tty/serial/cpm_uart/cpm_uart_core.c | 2 +- drivers/tty/serial/fsl_lpuart.c | 2

[PATCH 06/35 linux-next] power: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/power/charger-manager.c | 2 +- drivers/power/reset/at91-poweroff.c | 2 +- drivers/power/reset/at91-reset.c| 4

[PATCH 09/35 linux-next] iio: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/iio/common/ssp_sensors/ssp_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/common/ssp_sensors/ssp_dev.c

[PATCH 20/35 linux-next] swim3: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/block/swim3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c index 523ee8f

[PATCH 11/35 linux-next] usb: gadget: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/usb/gadget/udc/pxa27x_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/pxa27x_udc.c b/drivers

[PATCH 16/35 linux-next] video: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/video/backlight/gpio_backlight.c | 2 +- drivers/video/backlight/pwm_bl.c | 2 +- drivers/video/fbdev/fsl-diu-fb.c | 2

[PATCH 14/35 linux-next] ide: pmac: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/ide/pmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ide/pmac.c b/drivers/ide/pmac.c index 2db803c..fcf860f

[PATCH 18/35 linux-next] macintosh: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/macintosh/mediabay.c | 2 +- drivers/macintosh/rack-meter.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH 21/35 linux-next] mfd: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/mfd/hi6421-pmic-core.c | 2 +- drivers/mfd/rk808.c| 2 +- drivers/mfd/twl4030-power.c| 2 +- 3 files changed, 3 insertions

[PATCH 19/35 linux-next] virtio_mmio: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/virtio/virtio_mmio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio

[PATCH 15/35 linux-next] spi: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/spi/spi-mpc512x-psc.c | 2 +- drivers/spi/spi-octeon.c | 2 +- drivers/spi/spi-st-ssc4.c | 2 +- 3 files changed, 3 insertions(+), 3

[PATCH 10/35 linux-next] misc: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/misc/carma/carma-fpga-program.c | 2 +- drivers/misc/carma/carma-fpga.c | 2 +- drivers/misc/lis3lv02d/lis3lv02d_i2c.c | 2 +- drivers

[PATCH 00/35 linux-next] constify of_device_id array

2015-03-16 Thread Fabian Frederick
This small patchset adds const to of_device_id arrays in drivers branch. Fabian Frederick (35): ata: constify of_device_id array regulator: constify of_device_id array thermal: constify of_device_id array tty/hvc_opal: constify of_device_id array tty: constify of_device_id array power

[PATCH 02/35 linux-next] regulator: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/regulator/palmas-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/palmas-regulator.c b

[PATCH 17/35 linux-next] coresight-replicator: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/coresight/coresight-replicator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/coresight/coresight-replicator.c

[PATCH 12/35 linux-next] mtd: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/mtd/devices/docg3.c | 2 +- drivers/mtd/maps/physmap_of.c | 4 ++-- drivers/mtd/nand/mpc5121_nfc.c| 2 +- drivers/mtd/spi-nor/fsl

[PATCH 08/35 linux-next] dma: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/dma/bestcomm/bestcomm.c | 4 ++-- drivers/dma/k3dma.c | 2 +- drivers/dma/mmp_pdma.c | 2 +- drivers/dma/mmp_tdma.c

[PATCH 07/35 linux-next] char: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/char/hw_random/pasemi-rng.c | 2 +- drivers/char/hw_random/powernv-rng.c | 2 +- drivers/char/hw_random/ppc4xx-rng.c | 2 +- drivers/char

[PATCH 13/35 linux-next] w1: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/w1/masters/mxc_w1.c | 2 +- drivers/w1/masters/omap_hdq.c | 2 +- drivers/w1/masters/w1-gpio.c | 2 +- 3 files changed, 3 insertions(+), 3

[PATCH 28/35 linux-next] uio: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/uio/uio_pdrv_genirq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/uio/uio_pdrv_genirq.c b/drivers/uio

[PATCH 29/35 linux-next] gpu: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/gpu/drm/armada/armada_crtc.c| 2 +- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 2 +- drivers/gpu/drm/exynos/exynos_hdmi.c| 2 +- drivers

[PATCH 23/35 linux-next] [media] constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/media/i2c/adv7604.c | 2 +- drivers/media/platform/fsl-viu.c | 2 +- drivers/media/platform/soc_camera/rcar_vin.c

[PATCH 24/35 linux-next] Input: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/input/misc/palmas-pwrbutton.c | 2 +- drivers/input/misc/regulator-haptic.c | 2 +- drivers/input/misc/tps65218-pwrbutton.c | 2 +- drivers

[PATCH 31/35 linux-next] EDAC: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/edac/highbank_mc_edac.c | 2 +- drivers/edac/mpc85xx_edac.c | 4 ++-- drivers/edac/ppc4xx_edac.c | 2 +- drivers/edac/synopsys_edac.c

[PATCH 26/35 linux-next] hwmon: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/hwmon/pwm-fan.c | 2 +- drivers/hwmon/vexpress.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hwmon/pwm

[PATCH 27/35 linux-next] reset: sti: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/reset/sti/reset-stih407.c | 2 +- drivers/reset/sti/reset-stih415.c | 2 +- drivers/reset/sti/reset-stih416.c | 2 +- 3 files changed, 3

[PATCH 33/35 linux-next] mmc: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/mmc/host/mmc_spi.c | 2 +- drivers/mmc/host/wmt-sdmmc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc

[PATCH 34/35 linux-next] Staging: octeon: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/staging/octeon-usb/octeon-hcd.c | 2 +- drivers/staging/octeon/ethernet.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 25/35 linux-next] PCI: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/gpio/gpio-mpc8xxx.c | 2 +- drivers/gpio/gpio-octeon.c | 2 +- drivers/gpio/gpio-tz1090-pdc.c | 2 +- drivers/gpio/gpio-tz1090.c

[PATCH 22/35 linux-next] soc: ti: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/soc/ti/knav_dma.c| 2 +- drivers/soc/ti/knav_qmss_queue.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 30/35 linux-next] devfreq: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/devfreq/event/exynos-ppmu.c | 2 +- drivers/devfreq/tegra-devfreq.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 35/35 linux-next] pinctrl: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/pinctrl/bcm/pinctrl-bcm2835.c | 2 +- drivers/pinctrl/mediatek/pinctrl-mt8135.c | 2 +- drivers/pinctrl/mediatek/pinctrl-mt8173.c | 2

[PATCH 32/35 linux-next] clk: constify of_device_id array

2015-03-16 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/clk/clk-palmas.c | 2 +- drivers/clk/st/clkgen-fsyn.c | 2 +- drivers/clk/st/clkgen-mux.c | 8

[PATCH 1/1 linux-next] udf: use int for allocated blocks instead of sector_t

2015-03-15 Thread Fabian Frederick
] inode_add_bytes(inode, allocated << sb->s_blocksize_bits); ^ fs/udf/balloc.c:792:2: warning: conversion to 'int' from 'sector_t' may alter its value [-Wconversion] return allocated; Suggested-by: Jan Kara Signed-off-by: Fabian Frederick --- fs/udf/balloc.c

Re: [PATCH 4/5 linux-next] udf: rename udf_get_filename()

2015-03-15 Thread Fabian Frederick
> On 14 March 2015 at 07:52 Jan Kara wrote: > > > On Tue 10-03-15 21:44:34, Fabian Frederick wrote: > > udf_readdir(), udf_find_entry() and udf_pc_to_char() use > > udf_get_filename to obtain name length. Give that function > > an appropriate name. >   Hum, have

[PATCH 1/1 linux-next] udf: use int for allocated blocks instead of sector_t

2015-03-15 Thread Fabian Frederick
] inode_add_bytes(inode, allocated sb-s_blocksize_bits); ^ fs/udf/balloc.c:792:2: warning: conversion to 'int' from 'sector_t' may alter its value [-Wconversion] return allocated; Suggested-by: Jan Kara j...@suse.cz Signed-off-by: Fabian Frederick f...@skynet.be --- fs

Re: [PATCH 4/5 linux-next] udf: rename udf_get_filename()

2015-03-15 Thread Fabian Frederick
On 14 March 2015 at 07:52 Jan Kara j...@suse.cz wrote: On Tue 10-03-15 21:44:34, Fabian Frederick wrote: udf_readdir(), udf_find_entry() and udf_pc_to_char() use udf_get_filename to obtain name length. Give that function an appropriate name.    Hum, have you read what that function

[PATCH V2 linux-next] UBIFS: simplify returns

2015-03-12 Thread Fabian Frederick
directly return recover_head() and ubifs_leb_unmap() instead of storing value in err and testing it. Signed-off-by: Fabian Frederick --- V2: Keep curly braces around comment + 1 line in if. (suggested by Geert Uytterhoeven) fs/ubifs/recovery.c | 10 ++ 1 file changed, 2 insertions

[PATCH V2 linux-next] UBIFS: simplify returns

2015-03-12 Thread Fabian Frederick
directly return recover_head() and ubifs_leb_unmap() instead of storing value in err and testing it. Signed-off-by: Fabian Frederick f...@skynet.be --- V2: Keep curly braces around comment + 1 line in if. (suggested by Geert Uytterhoeven) fs/ubifs/recovery.c | 10 ++ 1 file changed

[PATCH 1/1 linux-next] powerpc: use kbuild generic-y where possible

2015-03-11 Thread Fabian Frederick
Replace one line asm-generic include files declared in arch/powerpc/include/asm/ by generic-y declaration which creates arch/powerpc/include/generated/asm equivalent. Signed-off-by: Fabian Frederick --- arch/powerpc/include/asm/Kbuild | 4 +++- arch/powerpc/include/asm/div64.h| 1

<    5   6   7   8   9   10   11   12   13   14   >