ipc-utilc-ipc_rcu_alloc-cacheline-align-allocation-checkpatch-fixes.patch removed from -mm tree
Subject: [folded-merged] ipc-utilc-ipc_rcu_alloc-cacheline-align-allocation-checkpatch-fixes.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 08 Jul 2013 15:31:40 -0700
The patch titled
Subject: ipc-utilc-ipc_rcu_alloc-cacheline-align-allocation-checkpatch-fixes
has been removed from the -mm tree. Its filename was
ipc-utilc-ipc_rcu_alloc-cacheline-align-allocation-checkpatch-fixes.patch
This patch was dropped because it was folded into ipc-utilc-ipc_rcu_alloc-cacheline-align-allocation.patch
------------------------------------------------------
From: Andrew Morton <[email protected]>
Subject: ipc-utilc-ipc_rcu_alloc-cacheline-align-allocation-checkpatch-fixes
ERROR: "(foo*)" should be "(foo *)"
#47: FILE: ipc/util.c:493:
+ struct ipc_rcu *p = ((struct ipc_rcu*)ptr)-1;
ERROR: "(foo*)" should be "(foo *)"
#58: FILE: ipc/util.c:509:
+ struct ipc_rcu *p = ((struct ipc_rcu*)ptr)-1;
total: 2 errors, 0 warnings, 34 lines checked
./patches/ipc-utilc-ipc_rcu_alloc-cacheline-align-allocation.patch has style problems, please review.
If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS.
Please run checkpatch prior to sending patches
---
ipc/util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
ipc/util.c renamed from ipc/util.c~ipc-utilc-ipc_rcu_alloc-cacheline-align-allocation-checkpatch-fixes +3 -3
@@ -486,12 +486,12 @@ void *ipc_rcu_alloc(int size)if (unlikely (!out))return NULL ;atomic_set (&out->refcount,1 ); -return out+1 ; +return out +1 ; }int ipc_rcu_getref (void *ptr) { -struct ipc_rcu *p = ((struct ipc_rcu *)ptr)-1 ; +struct ipc_rcu *p = ((struct ipc_rcu *)ptr) -1 ;return atomic_inc_not_zero (&p->refcount); }
@@ -507,7 +507,7 @@ static void ipc_schedule_free(struct rcuvoid ipc_rcu_putref (void *ptr) { -struct ipc_rcu *p = ((struct ipc_rcu *)ptr)-1 ; +struct ipc_rcu *p = ((struct ipc_rcu *)ptr) -1 ;if (!atomic_dec_and_test (&p->refcount))return ;
_
Patches currently in -mm which might be from [email protected] are
origin.patch drivers-iommu-msm_iommu_devc-fix-leak-and-clean-up-error-paths.patch mm-remove-duplicated-call-of-get_pfn_range_for_nid.patch memcg-use-css_get-put-when-charging-uncharging-kmem.patch panic-add-cpu-pid-to-warn_slowpath_common-in-warning-printks.patch shm-fix-null-pointer-deref-when-userspace-specifies-invalid-hugepage-size-fix.patch ipc-utilc-ipc_rcu_alloc-cacheline-align-allocation.patch partitions-add-aix-lvm-partition-support-files-checkpatch-fixes.patch reboot-arm-change-reboot_mode-to-use-enum-reboot_mode-fix.patch reboot-arm-change-reboot_mode-to-use-enum-reboot_mode-fix-fix.patch lib-add-lz4-compressor-module-fix.patch crypto-add-lz4-cryptographic-api-fix.patch