[PATCH 3.2 33/92] crypto: caam - add allocation failure handling in SPRINTFCAT macro

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Horia Geanta commit 27c5fb7a84242b66bf1e0b2fe6bf40d19bcc5c04 upstream. GFP_ATOMIC memory allocation could fail. In this case, avoid NULL pointer dereference and notify user. Cc: Kim Phillips

[PATCH 3.2 87/92] futex: Add another early deadlock detection check

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 866293ee54227584ffcb4a42f69c1f365974ba7f upstream. Dave Jones trinity syscall fuzzer exposed an issue in the deadlock detection code of rtmutex: http://lkml.kernel.org/

[PATCH 3.2 27/92] thinkpad-acpi: fix issuing duplicated key events for brightness up/down

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Alex Hung commit ff413195e830541afeae469fc866ecd0319abd7e upstream. The tp_features.bright_acpimode will not be set correctly for brightness control because ACPI_VIDEO_HID will not be located i

[PATCH 3.2 46/92] usb: storage: shuttle_usbat: fix discs being detected twice

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Daniele Forsi commit df602c2d2358f02c6e49cffc5b49b9daa16db033 upstream. Even if the USB-to-ATAPI converter supported multiple LUNs, this driver would always detect the same physical device or m

[PATCH 3.2 06/92] tracepoint: Do not waste memory on mods with no tracepoints

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit 7dec935a3aa04412cba2cebe1524ae0d34a30c24 upstream. No reason to allocate tp_module structures for modules that have no tracepoints. This just wastes memory. F

[PATCH 3.2 55/92] md: avoid possible spinning md thread at shutdown.

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 0f62fb220aa4ebabe8547d3a9ce4a16d3c045f21 upstream. If an md array with externally managed metadata (e.g. DDF or IMSM) is in use, then we should not set safemode==2 at shutdown

[PATCH 3.2 54/92] Input: elantech - fix touchpad initialization on Gigabyte U2442

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 36189cc3cd57ab0f1cd75241f93fe01de928ac06 upstream. The hw_version 3 Elantech touchpad on the Gigabyte U2442 does not accept 0x0b as initialization value for r10, this stand

[PATCH 3.2 16/92] bridge: Handle IFLA_ADDRESS correctly when creating bridge device

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Toshiaki Makita [ Upstream commit 30313a3d5794472c3548d7288e306a5492030370 ] When bridge device is created with IFLA_ADDRESS, we are not calling br_stp_change_bridge_id(), which leads to incorr

[PATCH 3.2 77/92] perf: Prevent false warning in perf_swevent_add

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Jiri Olsa commit 39af6b1678afa5880dda7e375cf3f9d395087f6d upstream. The perf cpu offline callback takes down all cpu context events and releases swhash->swevent_hlist. This could race with tas

[PATCH 3.2 69/92] x86, mm, hugetlb: Add missing TLB page invalidation for hugetlb_cow()

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Anthony Iliopoulos commit 9844f5462392b53824e8b86726e7c33b5ecbb676 upstream. The invalidation is required in order to maintain proper semantics under CoW conditions. In scenarios where a proces

[PATCH 3.2 66/92] hwmon: (emc1403) Support full range of known chip revision numbers

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Josef Gajdusek commit 3a18e1398fc2dc9c32bbdc50664da3a77959a8d1 upstream. The datasheet for EMC1413/EMC1414, which is fully compatible to EMC1403/1404 and uses the same chip identification, refe

[PATCH 3.2 19/92] tcp_cubic: fix the range of delayed_ack

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Liu Yu [ Upstream commit 0cda345d1b2201dd15591b163e3c92bad5191745 ] commit b9f47a3aaeab (tcp_cubic: limit delayed_ack ratio to prevent divide error) try to prevent divide error, but there is st

[PATCH 3.2 71/92] i2c: s3c2410: resume race fix

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Olof Johansson commit ce78cc071f5f541480e381cc0241d37590041a9d upstream. Don't unmark the device as suspended until after it's been re-setup. The main race would be w.r.t. an i2c driver that g

[PATCH 3.2 61/92] sched: Use CPUPRI_NR_PRIORITIES instead of MAX_RT_PRIO in cpupri check

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit 6227cb00cc120f9a43ce8313bb0475ddabcb7d01 upstream. The check at the beginning of cpupri_find() makes sure that the task_pri variable does not exceed the cp->pr

[PATCH 3.2 63/92] NFSD: Call ->set_acl with a NULL ACL structure if no entries

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Kinglong Mee commit aa07c713ecfc0522916f3cd57ac628ea6127c0ec upstream. After setting ACL for directory, I got two problems that caused by the cached zero-length default posix acl. This patch m

[PATCH 3.2 62/92] trace: module: Maintain a valid user count

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Romain Izard commit 098507ae3ec2331476fb52e85d4040c1cc6d0ef4 upstream. The replacement of the 'count' variable by two variables 'incs' and 'decs' to resolve some race conditions during module u

[PATCH 3.2 52/92] HID: usbhid: quirk for Synaptics Quad HD touchscreen

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: AceLan Kao commit 12f508aede4bda5d20a2dd3ff3deb16ef47a97e9 upstream. Add Synaptics HD touchscreen(06cb:1ac3) to no init report quirk Signed-off-by: AceLan Kao Signed-off-by: Jiri Kosina Sign

[PATCH 3.2 74/92] libceph: only call kernel_sendpage() via helper

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Alex Elder commit e36b13cceb46136d849aeee06b4907ad3570ba78 upstream. Make ceph_tcp_sendpage() be the only place kernel_sendpage() is used, by using this helper in write_partial_msg_pages(). Si

[PATCH 3.2 53/92] HID: add NO_INIT_REPORTS quirk for Synaptics Touch Pad V 103S

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 2f433083e854ec72c19dc9b0e1cebcc8e230fd75 upstream. This touchpad seriously dislikes init reports, not only timeing out, but also refusing to work after this. Reported-and-

[PATCH 3.2 49/92] USB: Nokia 5300 should be treated as unusual dev

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Daniele Forsi commit 6ed07d45d09bc2aa60e27b845543db9972e22a38 upstream. Signed-off-by: Daniele Forsi Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/storage/u

[PATCH 3.2 56/92] NFSd: Move default initialisers from create_client() to alloc_client()

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 5694c93e6c4954fa9424c215f75eeb919bddad64 upstream. Aside from making it clearer what is non-trivial in create_client(), it also fixes a bug whereby we can call free_clien

Re: [RFC PATCH 1/1] cleanup: use bool as return type for rwsem_is_locked

2014-06-06 Thread Pranith Kumar
On 06/06/2014 08:59 PM, Pranith Kumar wrote: > On 06/06/2014 08:18 PM, Dave Chinner wrote: >> On Fri, Jun 06, 2014 at 02:11:18PM -0400, Pranith Kumar wrote: >>> On 06/06/2014 01:53 PM, Pranith Kumar wrote: On Fri, Jun 6, 2014 at 3:35 AM, Peter Zijlstra wrote: > > Now in general,

[PATCH 3.2 57/92] NFSd: call rpc_destroy_wait_queue() from free_client()

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 4cb57e3032d4e4bf5e97780e9907da7282b02b0c upstream. Mainly to ensure that we don't leave any hanging timers. Signed-off-by: Trond Myklebust Signed-off-by: J. Bruce Field

[PATCH 3.2 48/92] USB: Nokia 305 should be treated as unusual dev

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: "Victor A. Santos" commit f0ef5d41792a46a1085dead9dfb0bdb2c574638e upstream. Signed-off-by: Victor A. Santos Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/s

[PATCH 3.2 81/92] can: peak_pci: prevent use after free at netdev removal

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Stephane Grosjean commit 0b5a958cf4df3a5cd578b861471e62138f55c85e upstream. As remarked by Christopher R. Baker in his post at http://marc.info/?l=linux-can&m=139707295706465&w=2 there's a po

[PATCH 3.2 51/92] HID: usbhid: quirk for Synaptics HD touchscreen

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: AceLan Kao commit d8e2e7581d2521910398c4c80d7a3b78e84da7d5 upstream. Add Synaptics HD touchscreen(06cb:0ac3) to no init report quirk. Signed-off-by: AceLan Kao Signed-off-by: Jiri Kosina Sig

[PATCH 3.2 65/92] hwmon: (emc1403) fix inverted store_hyst()

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Josef Gajdusek commit 17c048fc4bd95efea208a1920f169547d8588f1f upstream. Attempts to set the hysteresis value to a temperature below the target limit fails with "write error: Numerical result o

[PATCH 3.2 68/92] [media] V4L2: fix VIDIOC_CREATE_BUFS in 64- / 32-bit compatibility mode

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Guennadi Liakhovetski commit 97d9d23dda6f37d90aefeec4ed619d52df525382 upstream. If a struct contains 64-bit fields, it is aligned on 64-bit boundaries within containing structs in 64-bit compil

[PATCH 3.2 76/92] perf: Limit perf_event_attr::sample_period to 63 bits

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 0819b2e30ccb93edf04876237b6205eef84ec8d2 upstream. Vince reported that using a large sample_period (one with bit 63 set) results in wreckage since while the sample_period

[PATCH 3.2 67/92] [media] V4L2: ov7670: fix a wrong index, potentially Oopsing the kernel from user-space

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Guennadi Liakhovetski commit cfece5857ca51d1dcdb157017aba226f594e9dcf upstream. Commit 75e2bdad8901a0b599e01a96229be922eef1e488 "ov7670: allow configuration of image size, clock speed, and I/O

[PATCH 3.2 92/92] futex: Make lookup_pi_state more robust

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 54a217887a7b658e2650c3feff22756ab80c7339 upstream. The current implementation of lookup_pi_state has ambigous handling of the TID value 0 in the user space futex. We can

[PATCH 3.2 14/92] rtnetlink: Warn when interface's information won't fit in our packet

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: David Gibson [ Upstream commit 973462bbde79bb827824c73b59027a0aed5c9ca6 ] Without IFLA_EXT_MASK specified, the information reported for a single interface in response to RTM_GETLINK is expected

[PATCH 3.2 02/92] ACPI / EC: Clear stale EC events on Samsung systems

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Kieran Clancy commit ad332c8a45330d170bb38b95209de449b31cd1b4 upstream. A number of Samsung notebooks (530Uxx/535Uxx/540Uxx/550Pxx/900Xxx/etc) continue to log events during sleep (lid open/clos

[PATCH 3.2 79/92] drm/radeon: handle non-VGA class pci devices with ATRM

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit d8ade3526b2aa0505132c404c05a38b73ea15490 upstream. Newer PX systems have non-VGA pci class dGPUs. Update the ATRM fetch method to handle those cases. bug: https://bugzilla

[PATCH 3.2 00/92] 3.2.60-rc1 review

2014-06-06 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.60 release. There are 92 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Mon Jun 09 01:26:28 UTC 2014. Anything receiv

[PATCH 3.2 78/92] drm/radeon: also try GART for CPU accessed buffers

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Christian König commit 544092596e8ac269f70e70961b5e9381909c9b1e upstream. Placing them exclusively into VRAM might not work all the time. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=78

[PATCH 3.2 73/92] PCI: shpchp: Check bridge's secondary (not primary) bus speed

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Marcel Apfelbaum commit 93fa9d32670f5592c8e56abc9928fc194e1e72fc upstream. When a new device is added below a hotplug bridge, the bridge's secondary bus speed and the device's bus speed must ma

[PATCH 3.2 01/92] powerpc: Add vr save/restore functions

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Andreas Schwab commit 8fe9c93e7453e67b8bd09f263ec1bb0783c733fc upstream. GCC 4.8 now generates out-of-line vr save/restore functions when optimizing for size. They are needed for the raid6 alt

[PATCH 3.2 72/92] x86-64, modify_ldt: Make support for 16-bit segments a runtime option

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit fa81511bb0bbb2b1aace3695ce869da9762624ff upstream. Checkin: b3b42ac2cbae x86-64, modify_ldt: Ban 16-bit segments on 64-bit kernels disabled 16-bit segments on 64-bit ker

[PATCH 3.2 15/92] rtnetlink: Only supply IFLA_VF_PORTS information when RTEXT_FILTER_VF is set

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: David Gibson [ Upstream commit c53864fd60227de025cb79e05493b13f69843971 ] Since 115c9b81928360d769a76c632bae62d15206a94a (rtnetlink: Fix problem with buffer allocation), RTM_NEWLINK messages on

[PATCH 3.2 17/92] sctp: reset flowi4_oif parameter on route lookup

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Xufeng Zhang [ Upstream commit 85350871317a5adb35519d9dc6fc9e80809d42ad ] commit 813b3b5db83 (ipv4: Use caller's on-stack flowi as-is in output route lookups.) introduces another regression whi

[PATCH 3.2 05/92] netfilter: Can't fail and free after table replacement

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Graf commit c58dd2dd443c26d856a168db108a0cd11c285bf3 upstream. All xtables variants suffer from the defect that the copy_to_user() to copy the counters to user memory may fail after the

[PATCH 3.2 90/92] futex: Validate atomic acquisition in futex_lock_pi_atomic()

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit b3eaa9fc5cd0a4d74b18f6b8dc617aeaf1873270 upstream. We need to protect the atomic acquisition in the kernel against rogue user space which sets the user space futex to 0,

[PATCH 3.2 09/92] bonding: Remove debug_fs files when module init fails

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Richter [ Upstream commit db29868653394937037d71dc3545768302dda643 ] Remove the bonding debug_fs entries when the module initialization fails. The debug_fs entries should be removed toge

[PATCH 3.2 08/92] net: core: don't account for udp header size when computing seglen

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Florian Westphal [ Upstream commit 6d39d589bb76ee8a1c6cde6822006ae0053decff ] In case of tcp, gso_size contains the tcpmss. For UFO (udp fragmentation offloading) skbs, gso_size is the fragmen

[PATCH 3.2 70/92] i2c: designware: Mask all interrupts during i2c controller enable

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: "Du, Wenkai" commit 47bb27e78867997040a228328f2a631c3c7f2c82 upstream. There have been "i2c_designware 80860F41:00: controller timed out" errors on a number of Baytrail platforms. The issue is

[PATCH 3.2 84/92] dma: mv_xor: Flush descriptors before activating a channel

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Ezequiel Garcia commit 5a9a55bf9157d3490b0c8c4c81d4708602c26e07 upstream. We need to use writel() instead of writel_relaxed() when starting a channel, to ensure all the descriptors have been fl

[PATCH 3.2 75/92] libceph: fix corruption when using page_count 0 page in rbd

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Chunwei Chen commit 178eda29ca721842f2146378e73d43e0044c4166 upstream. It has been reported that using ZFSonLinux on rbd will result in memory corruption. The bug report can be found here: htt

[PATCH 3.2 07/92] l2tp: take PMTU from tunnel UDP socket

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Dmitry Petukhov [ Upstream commit f34c4a35d87949fbb0e0f31eba3c054e9f8199ba ] When l2tp driver tries to get PMTU for the tunnel destination, it uses the pointer to struct sock that represents PP

[PATCH 3.2 80/92] can: peak_pci: Fix the way channels are linked together

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Stephane Grosjean commit 29830406415c227a54af429d7b300aabd4754237 upstream. Change the way channels objects are linked together by peak_pci_probe() avoiding any kernel oops when driver is remov

[PATCH 3.2 91/92] futex: Always cleanup owner tid in unlock_pi

2014-06-06 Thread Ben Hutchings
3.2.60-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 13fbca4c6ecd96ec1a1cfa2e4f2ce191fe928a5e upstream. If the owner died bit is set at futex_unlock_pi, we currently do not cleanup the user space futex. So the owner TID of

Re: [RFC PATCH 06/16] arm: topology: Define TC2 sched energy and provide it to scheduler

2014-06-06 Thread Nicolas Pitre
On Fri, 6 Jun 2014, Ingo Molnar wrote: > In any case, even with turbo frequencies, switching power use is > probably an order of magnitude higher than leakage current power use, > on any marketable chip, so we should concentrate on being able to > cover this first order effect (P/work ~ V^2), b

Re: [RFC PATCH 1/1] cleanup: use bool as return type for rwsem_is_locked

2014-06-06 Thread Joe Perches
On Fri, 2014-06-06 at 21:41 -0400, Pranith Kumar wrote: > On 06/06/2014 08:59 PM, Pranith Kumar wrote: > > On 06/06/2014 08:18 PM, Dave Chinner wrote: > >> If you are going to change the return type to bool, then you should > >> also remove the manual "!!" conversions to a boolean return and let >

[PATCH v2 1/3] Add lib/glob.c

2014-06-06 Thread George Spelvin
This is a helper function from drivers/ata/libata_core.c, where it is used to blacklist particular device models. It's being moved to lib/ so other drivers may use it for the same purpose. This implementation in non-recursive, so is safe for the kernel stack. Signed-off-by: George Spelvin --- S

[PATCH v2 2/3] lib: glob.c: Add CONFIG_GLOB_SELFTEST

2014-06-06 Thread George Spelvin
This was useful during development, and is retained for future regression testing. GCC appears to have no way to place string literals in a particular section; adding __initconst to a char pointer leaves the string itself in the default string section, where it will not be thrown away after module

[PATCH v2 3/3] libata: Use glob_match from lib/glob.c

2014-06-06 Thread George Spelvin
The function may be useful for other drivers, so export it. (Suggested by Tejun Heo.) Note that I inverted the return value of glob_match; returning true on match seemed to make more sense. Signed-off-by: George Spelvin --- This is unchanged vrom v1. drivers/ata/Kconfig | 1 + drivers/a

Re: [RFC PATCH 06/16] arm: topology: Define TC2 sched energy and provide it to scheduler

2014-06-06 Thread Nicolas Pitre
On Wed, 4 Jun 2014, Peter Zijlstra wrote: > On Wed, Jun 04, 2014 at 05:02:30PM +0100, Morten Rasmussen wrote: > > On Tue, Jun 03, 2014 at 12:50:15PM +0100, Peter Zijlstra wrote: > > > On Fri, May 23, 2014 at 07:16:33PM +0100, Morten Rasmussen wrote: > > > > +static struct capacity_state cap_states

[PATCH v2 4/5] staging: ft1000: ft1000-usb: ft1000_debug.c: Remove unnecessary braces.

2014-06-06 Thread Thomas Wood
Remove unnecessary braces from single statement if blocks. Signed-off-by: Thomas Wood --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 21 +++-- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c b/drivers/stagin

[PATCH v2 5/5] staging: ft1000: ft1000-usb: ft1000_debug.c: Misc. fixes.

2014-06-06 Thread Thomas Wood
Remove initialization of static value. Invert the empty if statement's test to replace the else statement. Remove parentheses from a return statement. Fix some code indentation. Signed-off-by: Thomas Wood --- I'm pretty sure that the indentation was caused by a mistake by me earlier on in the p

[PATCH v2 0/5] staging: ft1000: ft1000-usb: ft1000_debug.c: Fix style errors and warnings.

2014-06-06 Thread Thomas Wood
Changes since v1: * Made single patch into a patch set. * Added better commit messages. Is this better, or do I still have to split up my first patch? >8--8< Remove all style errors from ft1000_debug.c and some warnings. Thomas Wood (5): s

[PATCH v2 1/5] staging: ft1000: ft1000-usb: ft1000_debug.c: Replace spaces with tabs.

2014-06-06 Thread Thomas Wood
Replace the spaces that were used as tabs with actual tabs. Signed-off-by: Thomas Wood --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 974 +++ 1 file changed, 487 insertions(+), 487 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c b/drivers

[PATCH v2 3/5] staging: ft1000: ft1000-usb: ft1000_debug.c: Remove unnecessary whitespace.

2014-06-06 Thread Thomas Wood
Remove whitespace before a quoted newline. Remove space between function name and it's parameter list. Signed-off-by: Thomas Wood --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_

[PATCH v2 2/5] staging: ft1000: ft1000-usb: ft1000_debug.c: Add required spaces.

2014-06-06 Thread Thomas Wood
Add spaces around operators, after commas, and between (foo*). Signed-off-by: Thomas Wood --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 48 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c b/driver

[PATCH v3] crypto: crc32c-pclmul - Shrink K_table to 32-bit words

2014-06-06 Thread George Spelvin
There's no need for the K_table to be made of 64-bit words. For some reason, the original authors didn't fully reduce the values modulo the CRC32C polynomial, and so had some 33-bit values in there. They can all be reduced to 32 bits. Doing that cuts the table size in half. Since the code depen

Re: [PATCH] x86/dumpstack: Walk frames when built with frame pointers

2014-06-06 Thread H. Peter Anvin
Yes, but now you need a custom adapter. Some have used a phono plug for the absolute minimum 3 wires. However, no standards... Sent from my tablet, pardon any formatting problems. > On Jun 6, 2014, at 2:35, Peter Zijlstra wrote: > >> On Fri, Jun 06, 2014 at 10:24:20AM +0200, Borislav Petkov

Re: [PATCH] x86/dumpstack: Walk frames when built with frame pointers

2014-06-06 Thread H. Peter Anvin
The USB debug port is nice once you get it to work. Assumes they haven't done anything clever like hide the special port behind a hub... Sent from my tablet, pardon any formatting problems. > On Jun 6, 2014, at 1:24, Borislav Petkov wrote: > >> On Fri, Jun 06, 2014 at 10:17:26AM +0200, Peter

[PATCH 2/2] rsi_91x_sdio: add error handling into rsi_module_init()

2014-06-06 Thread Alexey Khoroshilov
Fix rsi_module_init() to propagate sdio_register_driver() errors. Signed-off-by: Alexey Khoroshilov --- drivers/net/wireless/rsi/rsi_91x_sdio.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/rsi/rsi_91x_sdio.c b/drivers/net/wireless/rsi/rsi_91x_sd

[PATCH 1/2] rsi: Use module_usb_driver

2014-06-06 Thread Alexey Khoroshilov
module_usb_driver eliminates the boilerplate and makes the code simpler, in addition to the fact currently rsi_module_init() ignores usb_deregister() error. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/net/wireless/rsi/rsi_91x_usb

[git pull] Please pull powerpc.git next branch

2014-06-06 Thread Benjamin Herrenschmidt
Hi Linus ! Here is the bulk of the powerpc changes for this merge window. It got a bit delayed in part because I wasn't paying attention, and in part because I discovered I had a core PCI change without a PCI maintainer ack in it. Bjorn eventually agreed it was ok to merge it though we'll probably

[PATCH] mfd: mc13xxx: Use regmap irq framework for interrupts

2014-06-06 Thread Alexander Shiyan
This patch convert mc13xxx MFD driver to use regmap irq framework for interrupt registration. Signed-off-by: Alexander Shiyan --- drivers/mfd/Kconfig | 1 + drivers/mfd/mc13xxx-core.c | 299 ++-- drivers/mfd/mc13xxx.h | 7 +- include/lin

[PATCH 1/1] include/linux/memblock.h: add __init to memblock_set_bottom_up

2014-06-06 Thread Fabian Frederick
memblock_set_bottom_up is only called by __init cmdline_parse_movable_node and __init numa_init. Cc: Andrew Morton Cc: Tang Chen Signed-off-by: Fabian Frederick --- This is untested. include/linux/memblock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux

Re: [PATCH] list: Fix order of arguments for hlist_add_after(_rcu)

2014-06-06 Thread Andrew Morton
On Fri, 6 Jun 2014 10:22:51 -0700 "Paul E. McKenney" wrote: > On Fri, Jun 06, 2014 at 03:56:52PM +, David Laight wrote: > > From: Behalf Of Ken Helias > > > All other add functions for lists have the new item as first argument and > > > the > > > position where it is added as second argumen

[raid5] cf170f3fa45: +4.8% vmstat.io.bo

2014-06-06 Thread Jet Chen
Hi Eivind, FYI, we noticed the below changes on git://neil.brown.name/md for-next commit cf170f3fa451350e431314e1a0a52014fda4b2d6 ("raid5: avoid release list until last reference of the stripe") test case: lkp-st02/dd-write/11HDD-RAID5-cfq-xfs-10dd 8b32bf5e37328c0 cf170f3fa451350e431314e1a --

<    2   3   4   5   6   7