- alternatives-paravirt-use-null-for-pointers.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     alternatives/paravirt: use NULL for pointers
has been removed from the -mm tree.  Its filename was
     alternatives-paravirt-use-null-for-pointers.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: alternatives/paravirt: use NULL for pointers
From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Use NULL instead of 0 for pointers.

arch/x86_64/kernel/../../i386/kernel/alternative.c:432:18: warning: Using plain integer as NULL pointer
arch/x86_64/kernel/../../i386/kernel/alternative.c:432:44: warning: Using plain integer as NULL pointer

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Cc: Andi Kleen <ak@xxxxxxx>
Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/asm-i386/alternative.h   |    5 +++--
 include/asm-x86_64/alternative.h |    5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff -puN include/asm-i386/alternative.h~alternatives-paravirt-use-null-for-pointers include/asm-i386/alternative.h
--- a/include/asm-i386/alternative.h~alternatives-paravirt-use-null-for-pointers
+++ a/include/asm-i386/alternative.h
@@ -5,6 +5,7 @@
 
 #include <asm/types.h>
 
+#include <linux/stddef.h>
 #include <linux/types.h>
 
 struct alt_instr {
@@ -125,8 +126,8 @@ void apply_paravirt(struct paravirt_patc
 static inline void
 apply_paravirt(struct paravirt_patch *start, struct paravirt_patch *end)
 {}
-#define __start_parainstructions 0
-#define __stop_parainstructions 0
+#define __start_parainstructions NULL
+#define __stop_parainstructions NULL
 #endif
 
 #endif /* _I386_ALTERNATIVE_H */
diff -puN include/asm-x86_64/alternative.h~alternatives-paravirt-use-null-for-pointers include/asm-x86_64/alternative.h
--- a/include/asm-x86_64/alternative.h~alternatives-paravirt-use-null-for-pointers
+++ a/include/asm-x86_64/alternative.h
@@ -3,6 +3,7 @@
 
 #ifdef __KERNEL__
 
+#include <linux/stddef.h>
 #include <linux/types.h>
 #include <asm/cpufeature.h>
 
@@ -140,8 +141,8 @@ void apply_paravirt(struct paravirt_patc
 static inline void
 apply_paravirt(struct paravirt_patch *start, struct paravirt_patch *end)
 {}
-#define __start_parainstructions 0
-#define __stop_parainstructions 0
+#define __start_parainstructions NULL
+#define __stop_parainstructions NULL
 #endif
 
 #endif /* _X86_64_ALTERNATIVE_H */
_

Patches currently in -mm which might be from randy.dunlap@xxxxxxxxxx are

origin.patch
git-acpi.patch
git-alsa.patch
alsa-add-struct-forward-declaration.patch
cpufreq-select-consistently-re-2619-rc5-mm1.patch
git-gfs2-nmw.patch
git-ieee1394.patch
git-input.patch
git-mtd.patch
mtd-esb2rom-uses-pci.patch
parisc-fix-module_param-iommu-permission.patch
git-scsi-misc.patch
scsi-advansys-wrap-pci-table-inside-ifdef-config_pci.patch
make-i386-default-to-highmem4g-instead-of-nohighmem.patch
fuse-fix-compile-without-config_block.patch
tifm-fix-null-ptr-and-style.patch
kconfig-printk_time-depends-on-printk.patch
hpfs-fix-printk-format-warnings.patch
declare-smp_call_function_single-in-generic-code.patch
i2o-handle-__copy_from_user.patch
i2o-fix-i2o_config-without-adaptec-extension.patch
parport-section-mismatches-with-hotplug=n.patch
agp-amd64-section-mismatches-with-hotplug=n.patch
ciss-require-same-scsi-module-support.patch
export-toshiba-smm-support-for-neofb-module.patch
kernel-doc-add-fusion-and-i2o-to-kernel-api-book.patch
kernel-doc-fix-fusion-and-i2o-docs.patch
kernel-api-book-remove-videodev-chapter.patch
kernel-doc-stricter-function-pointer-recognition.patch
reporting-bugs-request-config-file.patch
lib-functions-always-build-hweight-for-loadable-modules.patch
generic-bug-implementation-handle-bug=n.patch
reiser4-use-null-for-pointers.patch
visws-sgivwfb-is-module-needs-exports.patch
extend-notifier_call_chain-to-count-nr_calls-made-fixes.patch
kvm-fix-null-and-c99-init-sparse-warnings.patch
profile_likely-export-do_check_likely.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux