]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
12 years agoMerge remote-tracking branch 'target-updates/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 03:01:07 +0000 (13:01 +1000)]
Merge remote-tracking branch 'target-updates/for-next'

12 years agoMerge remote-tracking branch 'scsi/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:59:24 +0000 (12:59 +1000)]
Merge remote-tracking branch 'scsi/for-next'

Conflicts:
drivers/ata/libata-core.c

12 years agoMerge remote-tracking branch 'dlm/next'
Stephen Rothwell [Mon, 20 Aug 2012 02:57:49 +0000 (12:57 +1000)]
Merge remote-tracking branch 'dlm/next'

12 years agoMerge remote-tracking branch 'ubi/linux-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:56:17 +0000 (12:56 +1000)]
Merge remote-tracking branch 'ubi/linux-next'

12 years agoMerge remote-tracking branch 'thermal/next'
Stephen Rothwell [Mon, 20 Aug 2012 02:54:43 +0000 (12:54 +1000)]
Merge remote-tracking branch 'thermal/next'

12 years agoMerge remote-tracking branch 'cpuidle/cpuidle-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:54:36 +0000 (12:54 +1000)]
Merge remote-tracking branch 'cpuidle/cpuidle-next'

Conflicts:
drivers/cpuidle/coupled.c

12 years agoMerge remote-tracking branch 'libata/NEXT'
Stephen Rothwell [Mon, 20 Aug 2012 02:44:34 +0000 (12:44 +1000)]
Merge remote-tracking branch 'libata/NEXT'

12 years agoMerge remote-tracking branch 'kconfig/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:42:56 +0000 (12:42 +1000)]
Merge remote-tracking branch 'kconfig/for-next'

12 years agoMerge remote-tracking branch 'kbuild/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:42:45 +0000 (12:42 +1000)]
Merge remote-tracking branch 'kbuild/for-next'

12 years agoMerge remote-tracking branch 'v4l-dvb/master'
Stephen Rothwell [Mon, 20 Aug 2012 02:40:53 +0000 (12:40 +1000)]
Merge remote-tracking branch 'v4l-dvb/master'

12 years agoMerge remote-tracking branch 'hwmon-staging/hwmon-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:39:28 +0000 (12:39 +1000)]
Merge remote-tracking branch 'hwmon-staging/hwmon-next'

12 years agoMerge branch 'quilt/jdelvare-hwmon'
Stephen Rothwell [Mon, 20 Aug 2012 02:38:02 +0000 (12:38 +1000)]
Merge branch 'quilt/jdelvare-hwmon'

12 years agoMerge branch 'quilt/i2c'
Stephen Rothwell [Mon, 20 Aug 2012 02:36:36 +0000 (12:36 +1000)]
Merge branch 'quilt/i2c'

12 years agoMerge remote-tracking branch 'hid/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:35:08 +0000 (12:35 +1000)]
Merge remote-tracking branch 'hid/for-next'

12 years agoMerge remote-tracking branch 'vfs/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:28:09 +0000 (12:28 +1000)]
Merge remote-tracking branch 'vfs/for-next'

12 years agoMerge remote-tracking branch 'xfs/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:26:37 +0000 (12:26 +1000)]
Merge remote-tracking branch 'xfs/for-next'

12 years agoMerge remote-tracking branch 'ocfs2/linux-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:25:00 +0000 (12:25 +1000)]
Merge remote-tracking branch 'ocfs2/linux-next'

12 years agoMerge remote-tracking branch 'nfs/linux-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:23:30 +0000 (12:23 +1000)]
Merge remote-tracking branch 'nfs/linux-next'

12 years agoMerge remote-tracking branch 'logfs/master'
Stephen Rothwell [Mon, 20 Aug 2012 02:22:00 +0000 (12:22 +1000)]
Merge remote-tracking branch 'logfs/master'

12 years agoMerge remote-tracking branch 'gfs2/master'
Stephen Rothwell [Mon, 20 Aug 2012 02:20:36 +0000 (12:20 +1000)]
Merge remote-tracking branch 'gfs2/master'

12 years agoMerge remote-tracking branch 'ext4/dev'
Stephen Rothwell [Mon, 20 Aug 2012 02:19:07 +0000 (12:19 +1000)]
Merge remote-tracking branch 'ext4/dev'

12 years agoMerge remote-tracking branch 'ext3/for_next'
Stephen Rothwell [Mon, 20 Aug 2012 02:17:38 +0000 (12:17 +1000)]
Merge remote-tracking branch 'ext3/for_next'

12 years agoMerge remote-tracking branch 'cifs/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:16:09 +0000 (12:16 +1000)]
Merge remote-tracking branch 'cifs/for-next'

12 years agoMerge remote-tracking branch 'xtensa/for_next'
Stephen Rothwell [Mon, 20 Aug 2012 02:14:44 +0000 (12:14 +1000)]
Merge remote-tracking branch 'xtensa/for_next'

12 years agoMerge remote-tracking branch 'unicore32/unicore32'
Stephen Rothwell [Mon, 20 Aug 2012 02:13:18 +0000 (12:13 +1000)]
Merge remote-tracking branch 'unicore32/unicore32'

12 years agoMerge remote-tracking branch 's390/features'
Stephen Rothwell [Mon, 20 Aug 2012 02:11:53 +0000 (12:11 +1000)]
Merge remote-tracking branch 's390/features'

12 years agoMerge remote-tracking branch 'galak/next'
Stephen Rothwell [Mon, 20 Aug 2012 02:09:27 +0000 (12:09 +1000)]
Merge remote-tracking branch 'galak/next'

12 years agoMerge remote-tracking branch 'mpc5xxx/next'
Stephen Rothwell [Mon, 20 Aug 2012 02:08:01 +0000 (12:08 +1000)]
Merge remote-tracking branch 'mpc5xxx/next'

12 years agoMerge remote-tracking branch 'parisc/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:06:36 +0000 (12:06 +1000)]
Merge remote-tracking branch 'parisc/for-next'

12 years agoMerge remote-tracking branch 'mips/mips-for-linux-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:05:13 +0000 (12:05 +1000)]
Merge remote-tracking branch 'mips/mips-for-linux-next'

12 years agoMerge remote-tracking branch 'm68knommu/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:03:48 +0000 (12:03 +1000)]
Merge remote-tracking branch 'm68knommu/for-next'

12 years agoMerge remote-tracking branch 'm68k/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:02:23 +0000 (12:02 +1000)]
Merge remote-tracking branch 'm68k/for-next'

12 years agoMerge remote-tracking branch 'cris/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:00:57 +0000 (12:00 +1000)]
Merge remote-tracking branch 'cris/for-next'

12 years agoMerge remote-tracking branch 'arm-perf/for-next/perf'
Stephen Rothwell [Mon, 20 Aug 2012 01:59:27 +0000 (11:59 +1000)]
Merge remote-tracking branch 'arm-perf/for-next/perf'

12 years agoMerge remote-tracking branch 'arm/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 01:58:02 +0000 (11:58 +1000)]
Merge remote-tracking branch 'arm/for-next'

12 years agoMerge remote-tracking branch 'spi-current/spi/merge'
Stephen Rothwell [Mon, 20 Aug 2012 01:54:30 +0000 (11:54 +1000)]
Merge remote-tracking branch 'spi-current/spi/merge'

12 years agoMerge remote-tracking branch 'devicetree-current/devicetree/merge'
Stephen Rothwell [Mon, 20 Aug 2012 01:54:29 +0000 (11:54 +1000)]
Merge remote-tracking branch 'devicetree-current/devicetree/merge'

12 years agoMerge remote-tracking branch 'crypto-current/master'
Stephen Rothwell [Mon, 20 Aug 2012 01:54:21 +0000 (11:54 +1000)]
Merge remote-tracking branch 'crypto-current/master'

12 years agoMerge remote-tracking branch 'usb.current/usb-linus'
Stephen Rothwell [Mon, 20 Aug 2012 01:54:17 +0000 (11:54 +1000)]
Merge remote-tracking branch 'usb.current/usb-linus'

12 years agoMerge remote-tracking branch 'driver-core.current/driver-core-linus'
Stephen Rothwell [Mon, 20 Aug 2012 01:54:16 +0000 (11:54 +1000)]
Merge remote-tracking branch 'driver-core.current/driver-core-linus'

12 years agoMerge remote-tracking branch 'pci-current/for-linus'
Stephen Rothwell [Mon, 20 Aug 2012 01:54:15 +0000 (11:54 +1000)]
Merge remote-tracking branch 'pci-current/for-linus'

12 years agoMerge remote-tracking branch 'sound-current/for-linus'
Stephen Rothwell [Mon, 20 Aug 2012 01:54:13 +0000 (11:54 +1000)]
Merge remote-tracking branch 'sound-current/for-linus'

12 years agoMerge remote-tracking branch 'net/master'
Stephen Rothwell [Mon, 20 Aug 2012 01:54:12 +0000 (11:54 +1000)]
Merge remote-tracking branch 'net/master'

12 years agoext4: remove duplicated declarations in inode.c
Zheng Liu [Sun, 19 Aug 2012 22:07:40 +0000 (18:07 -0400)]
ext4: remove duplicated declarations in inode.c

In patch cb20d5188366f04d96d2e07b1240cc92170ade40, ext4_set_bh_endio
and ext4_end_io_buffer_write are declared at the beginning of inode.c,
and again later on in the middle of the file.  Remove the second set
of duplicated function declarations.

Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
12 years agodyndbg: fix for SOH in logging messages
Markus Trippelsdorf [Sun, 19 Aug 2012 00:35:51 +0000 (18:35 -0600)]
dyndbg: fix for SOH in logging messages

commit af7f2158fde was done against master, and clashed with structured
logging's change of KERN_LEVEL to SOH.

Bisected and fixed by Markus Trippelsdorf.

Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jason Baron <jbaron@redhat.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoext4: fix trivial typo in comment
Wang Sheng-Hui [Sun, 19 Aug 2012 02:38:07 +0000 (22:38 -0400)]
ext4: fix trivial typo in comment

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
12 years agoext4: no need to add inode to orphan list during hole punch
Ashish Sangwan [Sun, 19 Aug 2012 02:29:46 +0000 (22:29 -0400)]
ext4: no need to add inode to orphan list during hole punch

While performing punch hole for an inode, i_disksize is not changed.
So, there is no need to add the inode to orphan list.

Signed-off-by: Ashish Sangwan <ashish.sangwan2@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
Acked-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
12 years agojbd2: don't write superblock when if its empty
Eric Sandeen [Sun, 19 Aug 2012 02:29:40 +0000 (22:29 -0400)]
jbd2: don't write superblock when if its empty

This sequence:

# truncate --size=1g fsfile
# mkfs.ext4 -F fsfile
# mount -o loop,ro fsfile /mnt
# umount /mnt
# dmesg | tail

results in an IO error when unmounting the RO filesystem:

[  318.020828] Buffer I/O error on device loop1, logical block 196608
[  318.027024] lost page write due to I/O error on loop1
[  318.032088] JBD2: Error -5 detected when updating journal superblock for loop1-8.

This was a regression introduced by commit 24bcc89c7e7c: "jbd2: split
updating of journal superblock and marking journal empty".

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@vger.kernel.org
12 years agoext4: replace plain integer with NULL in super.c
Sachin Kamat [Sun, 19 Aug 2012 02:29:18 +0000 (22:29 -0400)]
ext4: replace plain integer with NULL in super.c

Fixes the following sparse warning:
fs/ext4/super.c:1672:45: warning: Using plain integer as NULL pointer

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
12 years agohwmon: (adt7410) handle errors from adt7410_update_device()
Dan Carpenter [Wed, 15 Aug 2012 07:49:43 +0000 (10:49 +0300)]
hwmon: (adt7410) handle errors from adt7410_update_device()

Smatch complains that adt7410_update_device() can return error pointers.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: Driver for ADT7410
Hartmut Knaack [Sun, 12 Aug 2012 16:15:49 +0000 (18:15 +0200)]
hwmon: Driver for ADT7410

This patch brings basic support for the Analog Devices ADT7410 temperature
sensor. The following functionality has been implemented:

  * get current temperature
  * get/set minimum, maximum and critical temperature
  * get/set hysteresis
  * get alarm events for minimum, maximum and critical temperature

All implemented sysfs attributes have been sucessfully tested at temperatures
of 15°C to 40°C.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (fam15h_power) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:06 +0000 (09:58 -0700)]
hwmon: (fam15h_power) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Andreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (via-cputemp) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 20:12:58 +0000 (13:12 -0700)]
hwmon: (via-cputemp) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (jz4740-hwmon) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 19:22:08 +0000 (12:22 -0700)]
hwmon: (jz4740-hwmon) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (w83l786ng) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 18:48:02 +0000 (11:48 -0700)]
hwmon: (w83l786ng) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (vt8231) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 18:35:55 +0000 (11:35 -0700)]
hwmon: (vt8231) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Roger Lucas <vt8231@hiddenengine.co.uk>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (sht21) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 18:20:22 +0000 (11:20 -0700)]
hwmon: (sht21) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Jonathan Cameron <jic23@cam.ac.uk>
Cc: Urs Fleisch <urs.fleisch@sensirion.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (sht15) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 18:20:22 +0000 (11:20 -0700)]
hwmon: (sht15) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Jonathan Cameron <jic23@cam.ac.uk>
Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
12 years agohwmon: (sch5636) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 18:20:21 +0000 (11:20 -0700)]
hwmon: (sch5636) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (sch5627) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 18:20:21 +0000 (11:20 -0700)]
hwmon: (sch5627) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (mcp3021) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 18:20:19 +0000 (11:20 -0700)]
hwmon: (mcp3021) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Mingkai Hu <Mingkai.hu@freescale.com>
Cc: Xie Xiaobo <X.Xie@freescale.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (ltc4245) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 17:35:52 +0000 (10:35 -0700)]
hwmon: (ltc4245) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (ltc4215) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 17:35:52 +0000 (10:35 -0700)]
hwmon: (ltc4215) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (ltc4151) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 17:35:52 +0000 (10:35 -0700)]
hwmon: (ltc4151) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Per Dalen <per.dalen@appeartv.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (max1668) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:12 +0000 (09:58 -0700)]
hwmon: (max1668) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (lm95245) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:12 +0000 (09:58 -0700)]
hwmon: (lm95245) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (lm95241) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:11 +0000 (09:58 -0700)]
hwmon: (lm95241) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (lm70) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:08 +0000 (09:58 -0700)]
hwmon: (lm70) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (g760a) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:06 +0000 (09:58 -0700)]
hwmon: (g760a) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (f75375s) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:05 +0000 (09:58 -0700)]
hwmon: (f75375s) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (f71882fg) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:05 +0000 (09:58 -0700)]
hwmon: (f71882fg) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (emc2103) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:04 +0000 (09:58 -0700)]
hwmon: (emc2103) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (emc1403) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:04 +0000 (09:58 -0700)]
hwmon: (emc1403) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (ds620) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:03 +0000 (09:58 -0700)]
hwmon: (ds620) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (dme1737) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:03 +0000 (09:58 -0700)]
hwmon: (dme1737) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Juerg Haefliger <juergh@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (asb100) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:02 +0000 (09:58 -0700)]
hwmon: (asb100) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (amc6821) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:02 +0000 (09:58 -0700)]
hwmon: (amc6821) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (adt7470) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:01 +0000 (09:58 -0700)]
hwmon: (adt7470) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (adt7462) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:01 +0000 (09:58 -0700)]
hwmon: (adt7462) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (adt7411) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:01 +0000 (09:58 -0700)]
hwmon: (adt7411) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (ads7871) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:00 +0000 (09:58 -0700)]
hwmon: (ads7871) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (ads7828) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:00 +0000 (09:58 -0700)]
hwmon: (ads7828) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (ads1015) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:58:00 +0000 (09:58 -0700)]
hwmon: (ads1015) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Dirk Eibach <eibach@gdsys.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (adm1029) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:57:59 +0000 (09:57 -0700)]
hwmon: (adm1029) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Corentin Labbe <corentin.labbe@geomatys.fr>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (adcxx) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:57:58 +0000 (09:57 -0700)]
hwmon: (adcxx) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (ad7418) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:57:58 +0000 (09:57 -0700)]
hwmon: (ad7418) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (ad7414) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:57:57 +0000 (09:57 -0700)]
hwmon: (ad7414) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (ad7314) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:57:57 +0000 (09:57 -0700)]
hwmon: (ad7314) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (abituguru3) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:57:57 +0000 (09:57 -0700)]
hwmon: (abituguru3) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Alistair John Strachan <alistair@devzero.co.uk>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (abituguru) Convert to use devm_ functions
Guenter Roeck [Sat, 2 Jun 2012 16:57:56 +0000 (09:57 -0700)]
hwmon: (abituguru) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agohwmon: (sch56xx-common) Fix build warnings
Guenter Roeck [Sat, 4 Aug 2012 16:54:16 +0000 (09:54 -0700)]
hwmon: (sch56xx-common) Fix build warnings

Fix:
warning: 'address' may be used uninitialized in this function
warning: 'name' may be used uninitialized in this function

While those are false warnings, the patch reduces module size on x86_64 by
approximately 110 bytes, so it is still worth the effort.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Hans de Goede <hdegoede@redhat.com>
12 years agohwmon: (f71882fg) Fix build warning
Guenter Roeck [Sat, 4 Aug 2012 16:46:36 +0000 (09:46 -0700)]
hwmon: (f71882fg) Fix build warning

Fix:

warning: 'address' may be used uninitialized in this function [-Wuninitialized]

While this is a false warning, the patch reduces module size on x86_64 by
approximately 175 bytes, so it is still worth the effort.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Hans de Goede <hdegoede@redhat.com>
12 years agoMerge branch 'fixes' of git://git.linaro.org/people/rmk/linux-arm
Linus Torvalds [Sat, 18 Aug 2012 23:20:05 +0000 (16:20 -0700)]
Merge branch 'fixes' of git://git.linaro.org/people/rmk/linux-arm

Pull ARM fixes from Russell King:
 "The largest thing in this set of changes is bringing back some of the
  ARMv3 code to fix a compile problem noticed on RiscPC, which we still
  support, even though we only support ARMv4 there.

  (The reason is that the system bus doesn't support ARMv4 half-word
  accesses, so we need the ARMv3 library code for this platform.)

  The rest are all quite minor fixes."

* 'fixes' of git://git.linaro.org/people/rmk/linux-arm:
  ARM: 7490/1: Drop duplicate select for GENERIC_IRQ_PROBE
  ARM: Bring back ARMv3 IO and user access code
  ARM: 7489/1: errata: fix workaround for erratum #720789 on UP systems
  ARM: 7488/1: mm: use 5 bits for swapfile type encoding
  ARM: 7487/1: mm: avoid setting nG bit for user mappings that aren't present
  ARM: 7486/1: sched_clock: update epoch_cyc on resume
  ARM: 7484/1: Don't enable GENERIC_LOCKBREAK with ticket spinlocks
  ARM: 7483/1: vfp: only advertise VFPv4 in hwcaps if CONFIG_VFPv3 is enabled
  ARM: 7482/1: topology: fix section mismatch warning for init_cpu_topology

12 years agosections: Fix section conflicts in drivers/hwmon
Andi Kleen [Sat, 18 Aug 2012 17:30:05 +0000 (10:30 -0700)]
sections: Fix section conflicts in drivers/hwmon

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agoMerge tag 'pm-for-3.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
Linus Torvalds [Sat, 18 Aug 2012 21:39:19 +0000 (14:39 -0700)]
Merge tag 'pm-for-3.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull power management fixes from Rafael J. Wysocki:
  - Fixes for three obscure problems in the runtime PM core code found
   recently.
 - Two fixes for the new "coupled" cpuidle code from Colin Cross and Jon
   Medhurst.
 - intel_idle driver fix from Konrad Rzeszutek Wilk.

* tag 'pm-for-3.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  intel_idle: Check cpu_idle_get_driver() for NULL before dereferencing it.
  cpuidle: Prevent null pointer dereference in cpuidle_coupled_cpu_notify
  cpuidle: coupled: fix sleeping while atomic in cpu notifier
  PM / Runtime: Check device PM QoS setting before "no callbacks" check
  PM / Runtime: Clear power.deferred_resume on success in rpm_suspend()
  PM / Runtime: Fix rpm_resume() return value for power.no_callbacks set

12 years agounexport sock_map_fd(), switch to sock_alloc_file()
Al Viro [Sat, 18 Aug 2012 04:25:51 +0000 (00:25 -0400)]
unexport sock_map_fd(), switch to sock_alloc_file()

Both modular callers of sock_map_fd() had been buggy; sctp one leaks
descriptor and file if copy_to_user() fails, 9p one shouldn't be
exposing file in the descriptor table at all.

Switch both to sock_alloc_file(), export it, unexport sock_map_fd() and
make it static.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
12 years agotake descriptor handling from sock_alloc_file() to callers
Al Viro [Sat, 18 Aug 2012 03:54:15 +0000 (23:54 -0400)]
take descriptor handling from sock_alloc_file() to callers

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
12 years agoeventpoll: use-after-possible-free in epoll_create1()
Al Viro [Sat, 18 Aug 2012 02:42:36 +0000 (22:42 -0400)]
eventpoll: use-after-possible-free in epoll_create1()

As soon as we'd installed the file into descriptor table, it can
get closed by another thread.  Freeing ep in process...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
12 years agovfio: grab vfio_device reference *before* exposing the sucker via fd_install()
Al Viro [Sat, 18 Aug 2012 01:32:56 +0000 (21:32 -0400)]
vfio: grab vfio_device reference *before* exposing the sucker via fd_install()

It's not critical (anymore) since another thread closing the file will block
on ->device_lock before it gets to dropping the final reference, but it's
definitely cleaner that way...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
12 years agovfio: get rid of vfio_device_put()/vfio_group_get_device* races
Al Viro [Sat, 18 Aug 2012 01:29:06 +0000 (21:29 -0400)]
vfio: get rid of vfio_device_put()/vfio_group_get_device* races

we really need to make sure that dropping the last reference happens
under the group->device_lock; otherwise a loop (under device_lock)
might find vfio_device instance that is being freed right now, has
already dropped the last reference and waits on device_lock to exclude
the sucker from the list.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>