[PATCH] mfd: replace strict_strtoul() with kstrtoul()

2013-06-01 Thread Jingoo Han
The usage of strict_strtoul() is not preferred, because strict_strtoul() is obsolete. Thus, kstrtoul() should be used. Signed-off-by: Jingoo Han --- drivers/mfd/aat2870-core.c |2 +- drivers/mfd/ab3100-core.c|6 +++--- drivers/mfd/ab8500-debugfs.c |2 +- 3 files changed, 5 inse

Your Email ID has won £1,000,000.00 GBP in our UK NATIONAL Online splash Promo, For claims send info:

2013-06-01 Thread uk
File No: Ref NO.: XYL/26510460037/06 Names:. Tel/Mobile: Address:... Country:... Age: Congratulation once again, Dr.Jones Green Email: inf.gre...@hotmail.co.uk -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

[PATCH 1/2] f2fs: add remount_fs callback support

2013-06-01 Thread Namjae Jeon
From: Namjae Jeon Add the f2fs_remount function call which will be used during the filesystem remounting. This function will help us to change the mount options specific to f2fs. Also modify the f2fs background_gc mount option, which will allow the user to dynamically trun on/off the garbage col

[PATCH 2/2] f2fs: reorganise the function get_victim_by_default

2013-06-01 Thread Namjae Jeon
From: Namjae Jeon Fix the function get_victim_by_default, where it checks for the condition that p.min_segno != NULL_SEGNO as shown: if (p.min_segno != NULL_SEGNO) goto got_it; and if above condition is true then got_it: if (p.min_segno != NULL_SEGNO) { So this condition i

[PATCH] power: replace strict_strtoul() with kstrtoul()

2013-06-01 Thread Jingoo Han
The usage of strict_strtoul() is not preferred, because strict_strtoul() is obsolete. Thus, kstrtoul() should be used. Signed-off-by: Jingoo Han --- drivers/power/ab8500_fg.c|4 ++-- drivers/power/pcf50633-charger.c |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff

[PATCH] tty: replace strict_strtoul() with kstrtoul()

2013-06-01 Thread Jingoo Han
The usage of strict_strtoul() is not preferred, because strict_strtoul() is obsolete. Thus, kstrtoul() should be used. Signed-off-by: Jingoo Han --- drivers/tty/hvc/hvc_iucv.c |2 +- drivers/tty/sysrq.c|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/

[PATCH] rtc: rtc-pcf2123: replace strict_strtoul() with kstrtoul()

2013-06-01 Thread Jingoo Han
The usage of strict_strtoul() is not preferred, because strict_strtoul() is obsolete. Thus, kstrtoul() should be used. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-pcf2123.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-pcf2123.c b/drivers/rtc/rtc-p

[PATCH] misc: replace strict_strtoul() with kstrtoul()

2013-06-01 Thread Jingoo Han
The usage of strict_strtoul() is not preferred, because strict_strtoul() is obsolete. Thus, kstrtoul() should be used. Signed-off-by: Jingoo Han --- drivers/misc/ad525x_dpot.c |2 +- drivers/misc/apds9802als.c |2 +- drivers/misc/apds990x.c | 1

Re: [GIT PULL] at91: Device Tree update for 3.11 #1

2013-06-01 Thread Olof Johansson
On Fri, May 31, 2013 at 2:17 PM, Nicolas Ferre wrote: > Arnd, Olof, > > This is the pull-request for DT update on AT91. As said earlier, and like any > other patches that will be produced for 3.11, it is based on material already > included in arm-soc/at91/cleanup branch. > > A little conflict may

RE: [PATCH] mfd: twl-core: convert to module_init()

2013-06-01 Thread Strashko, Grygorii
Hi Kevin, It's done alreday here: https://patchwork.kernel.org/patch/2477541/ - mfd: twl-core: convert to module_i2c_driver() (Samuel has taken this one) - and - https://patchwork.kernel.org/patch/2477561/ - i2c: omap: convert to module_platform_driver() (you can vote here - TWL can't be shift

Re: [PATCHv4 3/3] gpio: msm: Add device tree and irqdomain support for gpio-msm-v2

2013-06-01 Thread Grant Likely
On Sat, Jun 1, 2013 at 1:22 AM, Rohit Vaswani wrote: > This cleans up the gpio-msm-v2 driver of all the global define usage. > The number of gpios are now defined in the device tree. This enables > adding irqdomain support as well. > > Signed-off-by: Rohit Vaswani > --- > .../devicetree/bindings

[PATCH RFC V9 0/19] Paravirtualized ticket spinlocks

2013-06-01 Thread Raghavendra K T
This series replaces the existing paravirtualized spinlock mechanism with a paravirtualized ticketlock mechanism. The series provides implementation for both Xen and KVM. Changes in V9: - Changed spin_threshold to 32k to avoid excess halt exits that are causing undercommit degradation (after P

Re: [PATCH v2] can: flexcan: remove HAVE_CAN_FLEXCAN Kconfig symbol

2013-06-01 Thread Marc Kleine-Budde
On 06/01/2013 01:40 AM, Benjamin Herrenschmidt wrote: > On Mon, 2013-05-20 at 18:06 +0200, Marc Kleine-Budde wrote: >> On 05/17/2013 11:09 AM, Shawn Guo wrote: >>> On Fri, May 17, 2013 at 10:59:17AM +0200, Marc Kleine-Budde wrote: This patch removes the Kconfig symbol HAVE_CAN_FLEXCAN from >>

Re: [PATCH 3/3] ARM: S5P64X0: Remove duplicate uncompress code

2013-06-01 Thread Sylwester Nawrocki
Hi, On 05/31/2013 01:49 PM, Tushar Behera wrote: The uncompress code in S5P64X0 is almost same as the uncompress code defined in plat-samsung. Better to reuse that code. Signed-off-by: Tushar Behera --- arch/arm/mach-s5p64x0/include/mach/uncompress.h | 163 ++- 1 file ch

Re: [PATCH v5 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-01 Thread Arnd Bergmann
On Friday 31 May 2013 10:58:48 Johannes Thumshirn wrote: > This patch adds the driver for the watchdog devices found on MEN Mikro > Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the > watchdog framework. > It seems the DT support is rather incomplete > Signed-off-by: Joha

Re: [PATCH v2] can: flexcan: remove HAVE_CAN_FLEXCAN Kconfig symbol

2013-06-01 Thread Arnd Bergmann
On Friday 17 May 2013 10:59:17 Marc Kleine-Budde wrote: > This patch removes the Kconfig symbol HAVE_CAN_FLEXCAN from arch/{arm,powerpc} > and allowing compilation unconditionally on all arm and powerpc platforms. > > This brings a bigger compile time coverage and removes the following > dependen

Re: [PATCH 07/15] cpufreq: spear needs cpufreq table

2013-06-01 Thread Arnd Bergmann
On Saturday 01 June 2013 07:28:01 Viresh Kumar wrote: > On 1 June 2013 03:52, Arnd Bergmann wrote: > > Like a lot of the other cpufreq drivers, this one needs to > > select CONFIG_CPU_FREQ_TABLE to avoid a build error like > > > > drivers/built-in.o: In function `spear_cpufreq_exit': > > spear-cpu

Re: [PATCH 11/15] iwlegacy: il_pm_ops is only provided for PM_SLEEP

2013-06-01 Thread Arnd Bergmann
On Friday 31 May 2013 22:43:23 Brian Norris wrote: > On Fri, May 31, 2013 at 3:22 PM, Arnd Bergmann wrote: > > This makes sure the conditionals for the declaration match the > > definition, so we provide the alternative > > > > #else > > #define IL_LEGACY_PM_OPS NULL > > #endif > > > > in the c

[PATCH] usb: Cocci spatch "memdup.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/usb/storage/ene_ub6250.c b/drivers/usb/storage/ene_ub6250.c --- a/drivers/usb/storage/ene_ub6250.c +++ b/drivers/usb/storage/ene_ub6250.c @@ -1928,11 +1928,10 @@ static int ene_load_bincode(struct us_da usb_stor_dbg(us, "load f

[PATCH v2] iwlegacy: il_pm_ops is only provided for PM_SLEEP

2013-06-01 Thread Arnd Bergmann
This makes sure the conditionals for the declaration match the definition, so we provide the alternative #else #define IL_LEGACY_PM_OPS NULL #endif in the correct cases. As suggested by Borislav Petkov, this removes the comments for the #else and #endif lines. drivers/built-in.o:(.data+0x5797

[PATCH] serial: omap: repair building without PM_SLEEP

2013-06-01 Thread Arnd Bergmann
A recent bug fix in 3.10, ddd85e225c "serial: omap: prevent runtime PM for "no_console_suspend"", introduced a regression from an obvious typo: drivers/tty/serial/omap-serial.c:1677:14: error: 'serial_omap_complete' undeclared here (not in a function) This changes the incorrectly added m

Re: [PATCH 2/4] ipc/sem: seperate wait-for-zero and alter tasks into seperate queues

2013-06-01 Thread Manfred Spraul
Hi Rik, On 05/27/2013 07:57 PM, Rik van Riel wrote: On 05/26/2013 05:08 AM, Manfred Spraul wrote: Introduce seperate queues for operations that do not modify the semaphore values. Advantages: - Simpler logic in check_restart(). - Faster update_queue(): Right now, all wait-for-zero operations

Re: [tip:x86/microcode] x86, microcode, amd: Fix warnings and errors on with CONFIG_MICROCODE=m

2013-06-01 Thread Borislav Petkov
On Fri, May 31, 2013 at 02:59:20PM -0700, tip-bot for Jacob Shin wrote: > Commit-ID: 6b3389ac21b5e557b957f1497d0ff22bf733e8c3 > Gitweb: http://git.kernel.org/tip/6b3389ac21b5e557b957f1497d0ff22bf733e8c3 > Author: Jacob Shin > AuthorDate: Fri, 31 May 2013 01:53:24 -0500 > Committer: H. Pe

[PATCH] usb: gadget: lpc32xx_udc: Cocci spatch "memdup.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/usb/gadget/lpc32xx_udc.c b/drivers/usb/gadget/lpc32xx_udc.c --- a/drivers/usb/gadget/lpc32xx_udc.c +++ b/drivers/usb/gadget/lpc32xx_udc.c @@ -3046,11 +3046,10 @@ static int __init lpc32xx_udc_probe(stru dma_addr_t dma_handle; s

[PATCH] VMCI: Cocci spatch "memdup.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/misc/vmw_vmci/vmci_datagram.c b/drivers/misc/vmw_vmci/vmci_datagram.c --- a/drivers/misc/vmw_vmci/vmci_datagram.c +++ b/drivers/misc/vmw_vmci/vmci_datagram.c @@ -276,11 +276,10 @@ static int dg_dispatch_as_host(u32 conte }

[PATCH] Btrfs: Cocci spatch "memdup.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/fs/btrfs/send.c b/fs/btrfs/send.c --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c @@ -3429,10 +3429,9 @@ static int __find_xattr(int num, struct strncmp(name, ctx->name, name_len) == 0) { ctx->found_idx = num; c

[PATCH] PVRUSB2: Cocci spatch "memdup.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/media/usb/pvrusb2/pvrusb2-io.c b/drivers/media/usb/pvrusb2/pvrusb2-io.c --- a/drivers/media/usb/pvrusb2/pvrusb2-io.c +++ b/drivers/media/usb/pvrusb2/pvrusb2-io.c @@ -354,9 +354,9 @@ static int pvr2_stream_buffer_count(stru if

[PATCH] remoteproc: Cocci spatch "memdup.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c --- a/drivers/remoteproc/remoteproc_core.c +++ b/drivers/remoteproc/remoteproc_core.c @@ -913,11 +913,10 @@ static void rproc_fw_config_virtio(const * will be stored

[PATCH] dlm: Cocci spatch "memdup.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c @@ -1213,10 +1213,9 @@ static void init_local(void) if (dlm_our_addr(&sas, i)) break; - addr = kmalloc(sizeof

[PATCH] eCryptfs: Cocci spatch "memdup.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/fs/ecryptfs/messaging.c b/fs/ecryptfs/messaging.c --- a/fs/ecryptfs/messaging.c +++ b/fs/ecryptfs/messaging.c @@ -247,14 +247,13 @@ int ecryptfs_process_response(struct ecr goto unlock; } msg_size = (sizeof(*msg) + msg-

[PATCH] efi, pstore: Cocci spatch "memdup.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/firmware/efi/efi-pstore.c b/drivers/firmware/efi/efi-pstore.c --- a/drivers/firmware/efi/efi-pstore.c +++ b/drivers/firmware/efi/efi-pstore.c @@ -79,10 +79,9 @@ static int efi_pstore_read_func(struct e &entry->var.D

[PATCH] HID: hyperv: Cocci spatch "memdup.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/hid/hid-hyperv.c b/drivers/hid/hid-hyperv.c --- a/drivers/hid/hid-hyperv.c +++ b/drivers/hid/hid-hyperv.c @@ -199,13 +199,11 @@ static void mousevsc_on_receive_device_i if (desc->bLength == 0) goto cleanup; - in

[PATCH] x86, microcode, AMD: Cocci spatch "memdup.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/arch/x86/kernel/microcode_amd.c b/arch/x86/kernel/microcode_amd.c --- a/arch/x86/kernel/microcode_amd.c +++ b/arch/x86/kernel/microcode_amd.c @@ -345,7 +345,7 @@ static int verify_and_add_patch(unsigned return -EINVAL; } -

[PATCH] ocfs2: Cocci spatch "memdup.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/fs/ocfs2/localalloc.c b/fs/ocfs2/localalloc.c --- a/fs/ocfs2/localalloc.c +++ b/fs/ocfs2/localalloc.c @@ -434,12 +434,11 @@ void ocfs2_shutdown_local_alloc(struct o bh = osb->local_alloc_bh; alloc = (struct ocfs2_dinode *) bh->b_data;

[PATCH] memstick: Cocci spatch "memdup.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/memstick/core/mspro_block.c b/drivers/memstick/core/mspro_block.c --- a/drivers/memstick/core/mspro_block.c +++ b/drivers/memstick/core/mspro_block.c @@ -1032,12 +1032,11 @@ static int mspro_block_read_attributes(s } msb->attr

[PATCH] x86/mrst: Cocci spatch "memdup.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/arch/x86/platform/mrst/mrst.c b/arch/x86/platform/mrst/mrst.c --- a/arch/x86/platform/mrst/mrst.c +++ b/arch/x86/platform/mrst/mrst.c @@ -356,10 +356,9 @@ static int __init sfi_parse_gpio(struct num = SFI_GET_NUM_ENTRIES(sb, struct sfi_gpio_ta

[PATCH] ARM: imx: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/arch/arm/mach-imx/devices/platform-mxc_rnga.c b/arch/arm/mach-imx/devices/platform-mxc_rnga.c --- a/arch/arm/mach-imx/devices/platform-mxc_rnga.c +++ b/arch/arm/mach-imx/devices/platform-mxc_rnga.c @@ -48,9 +48,6 @@ static int __init imxXX_add_mxc_rn

[PATCH] ARM: OMAP: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c @@ -66,7 +66,7 @@ static int __init omap3_l3_init(void) WARN(IS_ERR(pdev), "could not build omap_device for

[PATCH] ARM: imx: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/arch/arm/mach-imx/mach-mx31moboard.c b/arch/arm/mach-imx/mach-mx31moboard.c --- a/arch/arm/mach-imx/mach-mx31moboard.c +++ b/arch/arm/mach-imx/mach-mx31moboard.c @@ -445,10 +445,7 @@ static int __init moboard_usbh2_init(voi return -EN

[PATCH] Btrfs: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -3296,10 +3296,7 @@ int btrfs_resume_balance_async(struct bt } tsk = kthread_run(balance_kthread, fs_info, "btrfs-balance"); - if (IS_

Re: [PATCH 07/15] cpufreq: spear needs cpufreq table

2013-06-01 Thread Viresh Kumar
On 1 June 2013 14:33, Arnd Bergmann wrote: > On Saturday 01 June 2013 07:28:01 Viresh Kumar wrote: >> On 1 June 2013 03:52, Arnd Bergmann wrote: >> > Like a lot of the other cpufreq drivers, this one needs to >> > select CONFIG_CPU_FREQ_TABLE to avoid a build error like >> > >> > drivers/built-in

[PATCH] block: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/block/blk-core.c b/block/blk-core.c --- a/block/blk-core.c +++ b/block/blk-core.c @@ -1626,7 +1626,7 @@ static int __init fail_make_request_debu struct dentry *dir = fault_create_debugfs_attr("fail_make_request",

[PATCH] carma-fpga: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/misc/carma/carma-fpga.c b/drivers/misc/carma/carma-fpga.c --- a/drivers/misc/carma/carma-fpga.c +++ b/drivers/misc/carma/carma-fpga.c @@ -954,10 +954,7 @@ static int data_debugfs_init(struct fpga { priv->dbg_entry = debugfs_create_fil

[PATCH] DCA: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/dca/dca-sysfs.c b/drivers/dca/dca-sysfs.c --- a/drivers/dca/dca-sysfs.c +++ b/drivers/dca/dca-sysfs.c @@ -40,9 +40,7 @@ int dca_sysfs_add_req(struct dca_provide cd = device_create(dca_class, dca->cd, MKDEV(0, slot + 1), NULL,

[PATCH] s390/ap: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c --- a/drivers/s390/crypto/ap_bus.c +++ b/drivers/s390/crypto/ap_bus.c @@ -1795,7 +1795,7 @@ static int ap_poll_thread_start(void) mutex_lock(&ap_poll_thread_mutex); if (!ap_po

[PATCH] ethernet: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/net/ethernet/8390/apne.c b/drivers/net/ethernet/8390/apne.c --- a/drivers/net/ethernet/8390/apne.c +++ b/drivers/net/ethernet/8390/apne.c @@ -551,9 +551,7 @@ static struct net_device *apne_dev; static int __init apne_module_init(void) {

[PATCH] s390/dasd: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c --- a/drivers/s390/block/dasd_eckd.c +++ b/drivers/s390/block/dasd_eckd.c @@ -2968,7 +2968,7 @@ static int prepare_itcw(struct itcw *itc dcw = itcw_add_dcw(itcw, pfx_cmd, 0,

[PATCH] GFS2: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/fs/gfs2/inode.c b/fs/gfs2/inode.c --- a/fs/gfs2/inode.c +++ b/fs/gfs2/inode.c @@ -587,7 +587,7 @@ static int gfs2_create_inode(struct inod inode = gfs2_lookupi(dir, &dentry->d_name, 0); gfs2_glock_dq_uninit(ghs);

[PATCH] dma-buf: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/base/dma-buf.c b/drivers/base/dma-buf.c --- a/drivers/base/dma-buf.c +++ b/drivers/base/dma-buf.c @@ -680,10 +680,7 @@ int dma_buf_debugfs_create_file(const ch d = debugfs_create_file(name, S_IRUGO, dma_buf_debugfs_dir,

[PATCH] x86, olpc: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/arch/x86/platform/olpc/olpc.c b/arch/x86/platform/olpc/olpc.c --- a/arch/x86/platform/olpc/olpc.c +++ b/arch/x86/platform/olpc/olpc.c @@ -311,10 +311,7 @@ static int __init add_xo1_platform_devic return PTR_ERR(pdev); pdev =

[PATCH] pnpbios: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/pnp/pnpbios/core.c b/drivers/pnp/pnpbios/core.c --- a/drivers/pnp/pnpbios/core.c +++ b/drivers/pnp/pnpbios/core.c @@ -572,10 +572,7 @@ static int __init pnpbios_thread_init(vo init_completion(&unload_sem); task = kthread_run(

[PATCH] virtio-mmio: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c --- a/drivers/virtio/virtio_mmio.c +++ b/drivers/virtio/virtio_mmio.c @@ -567,10 +567,7 @@ static int vm_cmdline_set(const char *de pdev = platform_device_register_resndata(&vm_cmdlin

[PATCH] netdev: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/net/ethernet/i825xx/82596.c b/drivers/net/ethernet/i825xx/82596.c --- a/drivers/net/ethernet/i825xx/82596.c +++ b/drivers/net/ethernet/i825xx/82596.c @@ -1527,9 +1527,7 @@ int __init init_module(void) if (debug >= 0) i

[PATCH] [media] media: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/media/platform/sh_veu.c b/drivers/media/platform/sh_veu.c --- a/drivers/media/platform/sh_veu.c +++ b/drivers/media/platform/sh_veu.c @@ -359,10 +359,7 @@ static int sh_veu_context_init(struct sh veu->m2m_ctx = v4l2_m2m_ctx_init(veu->m

[PATCH] drm/cma: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/gpu/drm/drm_gem_cma_helper.c b/drivers/gpu/drm/drm_gem_cma_helper.c --- a/drivers/gpu/drm/drm_gem_cma_helper.c +++ b/drivers/gpu/drm/drm_gem_cma_helper.c @@ -174,10 +174,7 @@ int drm_gem_cma_dumb_create(struct drm_f cma_obj = drm_ge

Re: [PATCH v2] can: flexcan: remove HAVE_CAN_FLEXCAN Kconfig symbol

2013-06-01 Thread Marc Kleine-Budde
On 06/01/2013 10:59 AM, Arnd Bergmann wrote: > On Friday 17 May 2013 10:59:17 Marc Kleine-Budde wrote: >> This patch removes the Kconfig symbol HAVE_CAN_FLEXCAN from >> arch/{arm,powerpc} >> and allowing compilation unconditionally on all arm and powerpc platforms. >> >> This brings a bigger compi

[PATCH] s390: Cocci spatch "ptr_ret.spatch" (2)

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/s390/char/sclp.c b/drivers/s390/char/sclp.c --- a/drivers/s390/char/sclp.c +++ b/drivers/s390/char/sclp.c @@ -1097,7 +1097,7 @@ static __init int sclp_initcall(void) if (rc) return rc; sclp_pdev = platform_devic

[PATCH] qeth: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/s390/net/claw.c b/drivers/s390/net/claw.c --- a/drivers/s390/net/claw.c +++ b/drivers/s390/net/claw.c @@ -3348,7 +3348,7 @@ static int __init claw_init(void) } CLAW_DBF_TEXT(2, setup, "init_mod"); claw_root_dev = root_d

[PATCH] rtc: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/rtc/rtc-da9052.c b/drivers/rtc/rtc-da9052.c --- a/drivers/rtc/rtc-da9052.c +++ b/drivers/rtc/rtc-da9052.c @@ -249,10 +249,7 @@ static int da9052_rtc_probe(struct platf rtc->rtc = devm_rtc_device_register(&pdev->dev, pdev->name,

[PATCH] rbd: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/block/rbd.c b/drivers/block/rbd.c --- a/drivers/block/rbd.c +++ b/drivers/block/rbd.c @@ -4466,7 +4466,7 @@ static int rbd_dev_image_id(struct rbd_d image_id = ceph_extract_encoded_string(&p, p + ret,

[PATCH] netdev: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/net/ethernet/smsc/smc9194.c b/drivers/net/ethernet/smsc/smc9194.c --- a/drivers/net/ethernet/smsc/smc9194.c +++ b/drivers/net/ethernet/smsc/smc9194.c @@ -1571,9 +1571,7 @@ int __init init_module(void) /* copy the parameters from ins

[PATCH] usb: gadget: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/usb/gadget/f_subset.c b/drivers/usb/gadget/f_subset.c --- a/drivers/usb/gadget/f_subset.c +++ b/drivers/usb/gadget/f_subset.c @@ -274,7 +274,7 @@ static int geth_set_alt(struct usb_funct } net = gether_connect(&geth->port); -

[PATCH] x86, msr/cpuid: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/arch/x86/kernel/cpuid.c b/arch/x86/kernel/cpuid.c --- a/arch/x86/kernel/cpuid.c +++ b/arch/x86/kernel/cpuid.c @@ -143,7 +143,7 @@ static __cpuinit int cpuid_device_create dev = device_create(cpuid_class, NULL, MKDEV(CPUID_MAJOR, cpu), NULL,

[PATCH] [SCSI] libsas: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c --- a/drivers/scsi/libsas/sas_scsi_host.c +++ b/drivers/scsi/libsas/sas_scsi_host.c @@ -1093,9 +1093,7 @@ int sas_init_queue(struct sas_ha_struct core->queue_thread =

[PATCH] gpu: host1x: drm: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/gpu/host1x/drm/drm.c b/drivers/gpu/host1x/drm/drm.c --- a/drivers/gpu/host1x/drm/drm.c +++ b/drivers/gpu/host1x/drm/drm.c @@ -328,10 +328,7 @@ static int tegra_gem_create(struct drm_d bo = tegra_bo_create_with_handle(file, drm, args-

[PATCH] [S390] hypfs: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/arch/s390/hypfs/hypfs_diag.c b/arch/s390/hypfs/hypfs_diag.c --- a/arch/s390/hypfs/hypfs_diag.c +++ b/arch/s390/hypfs/hypfs_diag.c @@ -651,9 +651,7 @@ static int hypfs_create_cpu_files(struct } diag224_idx2name(cpu_info__ctidx(diag204_i

Re: [PATCH 2/4] ipc/sem: seperate wait-for-zero and alter tasks into seperate queues

2013-06-01 Thread Mike Galbraith
On Sat, 2013-06-01 at 11:20 +0200, Manfred Spraul wrote: > Hi Rik, > > On 05/27/2013 07:57 PM, Rik van Riel wrote: > > On 05/26/2013 05:08 AM, Manfred Spraul wrote: > >> Introduce seperate queues for operations that do not modify the > >> semaphore values. > >> Advantages: > >> - Simpler logic in

Re: [PATCH 2/4] ipc/sem: seperate wait-for-zero and alter tasks into seperate queues

2013-06-01 Thread Mike Galbraith
On Sat, 2013-06-01 at 12:03 +0200, Mike Galbraith wrote: > -rtm is with our patches added, -rt is backport without. 'y' key in 'your' not fully depressed. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordo

[PATCH] usb: gadget: Cocci spatch "err_cast.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c --- a/drivers/usb/gadget/composite.c +++ b/drivers/usb/gadget/composite.c @@ -1138,7 +1138,7 @@ struct usb_string *usb_gstrings_attach(s uc = copy_gadget_strings(sp, n_gstrings,

[PATCH] drm/prime: Cocci spatch "err_cast.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_prime.c --- a/drivers/gpu/drm/drm_prime.c +++ b/drivers/gpu/drm/drm_prime.c @@ -277,7 +277,7 @@ struct drm_gem_object *drm_gem_prime_imp attach = dma_buf_attach(dma_buf, dev->dev); if

[PATCH] usb: dwc3: core: Cocci spatch "odd_ptr_err.spatch"

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -450,7 +450,7 @@ static int dwc3_probe(struct platform_de } if (IS_ERR(dwc->usb3_phy)) { - ret = PTR_ERR(d

Re: [patch] mm, memcg: add oom killer delay

2013-06-01 Thread Michal Hocko
On Fri 31-05-13 12:29:17, David Rientjes wrote: > On Fri, 31 May 2013, Michal Hocko wrote: > > > > We allow users to control their own memcgs by chowning them, so they must > > > be run in the same hierarchy if they want to run their own userspace oom > > > handler. There's nothing in the kerne

Re: [patch] mm, memcg: add oom killer delay

2013-06-01 Thread Michal Hocko
On Sat 01-06-13 02:11:51, Johannes Weiner wrote: [...] > I'm currently messing around with the below patch. When a task faults > and charges under OOM, the memcg is remembered in the task struct and > then made to sleep on the memcg's OOM waitqueue only after unwinding > the page fault stack. Wit

[PATCH v2] pps-gpio: add device-tree binding and support

2013-06-01 Thread Jan Luebbe
Instead of allocating a struct pps_gpio_platform_data in the DT case, store the necessary information in struct pps_gpio_device_data itself. This avoids an additional allocation and the ifdef. It also gets rid of some indirection. Also use dev_err instead of pr_err in the changed code. Signed-off

Re: [PATCH V3] irqchip: Add TB10x interrupt controller driver

2013-06-01 Thread Christian Ruppert
On Fri, May 31, 2013 at 11:18:14PM +0100, Grant Likely wrote: > On Fri, 31 May 2013 19:32:34 +0200 (CEST), Thomas Gleixner > wrote: > > On Fri, 31 May 2013, Christian Ruppert wrote: > > > > > The SOC interrupt controller driver for the Abilis Systems TB10x series of > > > SOCs based on ARC700 CP

Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-06-01 Thread Linus Torvalds
On Fri, 31 May 2013, Matthew Garrett wrote: > > I agree that a revert is probably the right thing to do here, but the > original patch was there to permit a more accurate calculation of the > amount of nvram in use, not to provide additional debug information. > Reverting it is going to diffe

Re: [PATCH 2/4] ipc/sem: seperate wait-for-zero and alter tasks into seperate queues

2013-06-01 Thread Mike Galbraith
On Sat, 2013-06-01 at 12:03 +0200, Mike Galbraith wrote: > -rtm is with our patches added, -rt is backport without. Now same tree, turn off PREEMPT_FULL so the kernel is plain old PREEMPT. Again, -rt is without your patches, -rtm with, followed by backing out all ipc backports to end up at pre sc

Re: [PATCH] HID: multitouch: prevent memleak with the allocated name

2013-06-01 Thread Andy Shevchenko
On Thu, May 30, 2013 at 4:28 PM, Benjamin Tissoires wrote: > On Wed, May 29, 2013 at 10:12 PM, Andy Shevchenko > wrote: >> mt_free_input_name() was never called during .remove(): hid_hw_stop() >> removes the hid_input items in hdev->inputs, and so the list is >> therefore empty after the call. In

Re: [PATCH v2] pps-gpio: add device-tree binding and support

2013-06-01 Thread Arnd Bergmann
On Saturday 01 June 2013, Jan Luebbe wrote: > Instead of allocating a struct pps_gpio_platform_data in the DT case, store > the necessary information in struct pps_gpio_device_data itself. This avoids > an additional allocation and the ifdef. It also gets rid of some indirection. > > Also use dev_

Re: [PATCH] serial: omap: repair building without PM_SLEEP

2013-06-01 Thread Sourav Poddar
Hi Arnd, On Saturday 01 June 2013 02:48 PM, Arnd Bergmann wrote: A recent bug fix in 3.10, ddd85e225c "serial: omap: prevent runtime PM for "no_console_suspend"", introduced a regression from an obvious typo: drivers/tty/serial/omap-serial.c:1677:14: error: 'serial_omap_complete' undecla

Re: [PATCH 2/4] ipc/sem: seperate wait-for-zero and alter tasks into seperate queues

2013-06-01 Thread Manfred Spraul
Hi all, On 06/01/2013 11:20 AM, Manfred Spraul wrote: - osim [i.e.: with reschedules] is much slower: around 21 us per schedule. Perhaps the scheduler didn't pair the threads optimally: intra-cpu reschedules take around 2 us on my i3, inter-cpu reschedules around 16 us. I mixed up

[PATCH 1/2 RESEND] gpio: samsung: Remove OF support for s3c24xx

2013-06-01 Thread Sylwester Nawrocki
From: Sylwester Nawrocki There is no users of this code and there is already a pinctrl driver written for s3c24xx which is going to be used on any s3c24xx DT platforms. Hence this has been effectively a dead code in mainline. This reverts commit 172c6a13653ac8cd6a231293b87c93821e90c1d6 gpio: sam

Re: [PATCH] cpufreq: ondemand: Change the calculation of target frequency

2013-06-01 Thread Rafael J. Wysocki
On Friday, May 31, 2013 07:33:06 PM Stratos Karafotis wrote: > On 05/31/2013 11:51 AM, Viresh Kumar wrote: > >> --- > >> arch/x86/include/asm/processor.h | 29 -- > >> drivers/cpufreq/Makefile | 2 +- > >> drivers/cpufreq/acpi-cpufreq.c | 5 > >> driv

Re: [PATCH] ath6kl: Unify sg_sz and buf_sz in ath6kl_sdio_alloc_prep_scat_req()

2013-06-01 Thread Kalle Valo
Geert Uytterhoeven writes: > sg_sz and buf_sz are initialized and used in a mutual exclusive way. > However, some versions of gcc are not smart enough to see this: > > drivers/net/wireless/ath/ath6kl/sdio.c: In function > ‘ath6kl_sdio_alloc_prep_scat_req’: > drivers/net/wireless/ath/ath6kl/sdio.

***SPAM***HOW ARE YOU,PLEASE ASSISTANCE ME THIS BUSINESS.

2013-06-01 Thread FROM MRS LIRAMANDOZA
FROM MS. LIRA MANDOZA..rtf Description: Binary data

Re: [PATCH] cpufreq: ondemand: Change the calculation of target frequency

2013-06-01 Thread Stratos Karafotis
On 06/01/2013 03:27 PM, Rafael J. Wysocki wrote: > On Friday, May 31, 2013 07:33:06 PM Stratos Karafotis wrote: >> On 05/31/2013 11:51 AM, Viresh Kumar wrote: --- arch/x86/include/asm/processor.h | 29 -- drivers/cpufreq/Makefile | 2 +- d

Re: [PATCH] usb: musb: Fix format specifier warning

2013-06-01 Thread Andy Shevchenko
On Sat, Jun 1, 2013 at 1:39 AM, Randy Dunlap wrote: > On 05/31/13 15:34, Andy Shevchenko wrote: >> On Fri, May 31, 2013 at 11:22 PM, Emil Goode wrote: >>> This patch fixes a format specifier warning. dma_addr_t can be either >>> u32 or u64 so we should cast to the largest type and change the form

[GIT PULL] parisc updates for v3.10-rc4

2013-06-01 Thread Helge Deller
Hi Linus, please pull the latest changes for the parisc architecture. They are available in the for-3.10 branch in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git for-3.10 Thanks! Helge --

Re: [PATCH] HID: multitouch: prevent memleak with the allocated name

2013-06-01 Thread Benjamin Tissoires
On Sat, Jun 1, 2013 at 1:33 PM, Andy Shevchenko wrote: > On Thu, May 30, 2013 at 4:28 PM, Benjamin Tissoires > wrote: >> On Wed, May 29, 2013 at 10:12 PM, Andy Shevchenko >> wrote: >>> mt_free_input_name() was never called during .remove(): hid_hw_stop() >>> removes the hid_input items in hdev->

Re: [PATCH] powerpc/pci: Improve device hotplug initialization

2013-06-01 Thread Guenter Roeck
On Fri, May 31, 2013 at 03:44:07PM +1000, Benjamin Herrenschmidt wrote: > On Thu, 2013-05-30 at 22:14 -0700, Guenter Roeck wrote: > > On Wed, May 29, 2013 at 05:30:41PM +0800, Chen Yuanquan-B41889 wrote: > > > On 05/29/2013 01:35 AM, Guenter Roeck wrote: > > > >bios_add_device(). Drop explicit call

Re: [PATCH 15/15] OF: remove #ifdef from linux/of_platform.h

2013-06-01 Thread Rob Herring
On Fri, May 31, 2013 at 5:22 PM, Arnd Bergmann wrote: > A lot of code uses the functions from of_platform.h when built for > devicetree-enabled platforms but can also be built without them. > In order to avoid using #ifdef everywhere in drivers, this > makes all the function declarations visible,

***SPAM***HOW ARE YOU,PLEASE ASSISTANCE ME THIS BUSINESS.

2013-06-01 Thread FROM MRS LIRAMANDOZA
FROM MS. LIRA MANDOZA..rtf Description: Binary data

Re: [PATCH v1 8/9] usb: phy: dts: Adding usbphy DT bindings for am33xx

2013-06-01 Thread Sergei Shtylyov
Hello. On 24-05-2013 9:34, B, Ravi wrote: + phy1: usbphy-gs70@44e10620 { + compatible = "ti,dsps-usbphy"; + reg = <0x44e10620 0x8 + 0x44e10648 0x4>; + reg-names = "phy_ctrl","phy_wkup";

Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-06-01 Thread Matthew Garrett
On Sat, Jun 01, 2013 at 08:01:59PM +0900, Linus Torvalds wrote: > On Fri, 31 May 2013, Matthew Garrett wrote: > > > > I agree that a revert is probably the right thing to do here, but the > > original patch was there to permit a more accurate calculation of the > > amount of nvram in use, not to

Re: [PATCH] x86, msr/cpuid: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread H. Peter Anvin
This is not an acceptable patch... no description of any kind and a subject line which would only make sense if the cocci scripts are checked into the kernel tree. Thomas Meyer wrote: > >Signed-off-by: Thomas Meyer >--- > >diff -u -p a/arch/x86/kernel/cpuid.c b/arch/x86/kernel/cpuid.c >--- a/

Re: [PATCH] cpufreq: ondemand: Change the calculation of target frequency

2013-06-01 Thread Viresh Kumar
On 31 May 2013 22:03, Stratos Karafotis wrote: > On 05/31/2013 11:51 AM, Viresh Kumar wrote: >> I believe you should have removed other users of getavg() in a separate >> patch and also cc'd relevant people so that you can some review comments >> from them. > > I will split the patch in two. If i

Re: [patch] mm, memcg: add oom killer delay

2013-06-01 Thread Johannes Weiner
On Sat, Jun 01, 2013 at 12:29:05PM +0200, Michal Hocko wrote: > On Sat 01-06-13 02:11:51, Johannes Weiner wrote: > [...] > > I'm currently messing around with the below patch. When a task faults > > and charges under OOM, the memcg is remembered in the task struct and > > then made to sleep on the

Re: [PATCH] [SCSI] libsas: Cocci spatch "ptr_ret.spatch"

2013-06-01 Thread James Bottomley
On Sat, 2013-06-01 at 11:59 +0200, Thomas Meyer wrote: > Signed-off-by: Thomas Meyer > --- > > diff -u -p a/drivers/scsi/libsas/sas_scsi_host.c > b/drivers/scsi/libsas/sas_scsi_host.c > --- a/drivers/scsi/libsas/sas_scsi_host.c > +++ b/drivers/scsi/libsas/sas_scsi_host.c > @@ -1093,9 +1093,7 @@

Re: [PATCH v7] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-01 Thread Guenter Roeck
On Fri, May 31, 2013 at 03:32:14PM +0200, Johannes Thumshirn wrote: > This patch adds the driver for the watchdog devices found on MEN Mikro > Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the > watchdog framework. > > Revision 2: > * Removed unneeded open flag in struct a21

Re: [PATCH v2 1/2] watchdog: xilinx: Fix driver header

2013-06-01 Thread Guenter Roeck
On Fri, May 31, 2013 at 07:56:33AM +0200, Michal Simek wrote: > - Remove reference for IP version > - Fix header coding style > - Remove notes which are visible from the code > - Fix driver license according to header > > Signed-off-by: Michal Simek Reviewed-by: Guenter Roeck > --- > Changes i

  1   2   3   >