The patch titled
Fix bitmap_scnlistprintf for empty masks
has been removed from the -mm tree. Its filename was
fix-bitmap_scnlistprintf-for-empty-masks.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
Subject: Fix bitmap_scnlistprintf for empty masks
From: Andi Kleen <[EMAIL PROTECTED]>
When a bitmap is empty bitmap_scnlistprintf() would leave the buffer
uninitialized. Set it to an empty string in this case.
I didn't see any in normal kernel callers hitting this, but some custom
debug code of mine did.
Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
Acked-by: Paul Jackson <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
lib/bitmap.c | 4 ++++
1 file changed, 4 insertions(+)
diff -puN lib/bitmap.c~fix-bitmap_scnlistprintf-for-empty-masks lib/bitmap.c
--- a/lib/bitmap.c~fix-bitmap_scnlistprintf-for-empty-masks
+++ a/lib/bitmap.c
@@ -469,6 +469,10 @@ int bitmap_scnlistprintf(char *buf, unsi
/* current bit is 'cur', most recently seen range is [rbot, rtop] */
int cur, rbot, rtop;
+ if (buflen == 0)
+ return 0;
+ buf[0] = 0;
+
rbot = cur = find_first_bit(maskp, nmaskbits);
while (cur < nmaskbits) {
rtop = cur;
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
origin.patch
acpi-add-reboot-mechanism.patch
serial-keep-the-dtr-setting-for-serial-console.patch
git-x86.patch
x86_64-set-cpu_index-to-nr_cpus-instead-of-0.patch
x86_64-do-not-clear-cpu_index-set-by-store_cpu_info.patch
x86-typo-about-sequence-of-cpu_index-and-cpu_online-in.patch
x86_64-efi-boot-support-efi-frame-buffer.patch
x86_64-efi-boot-support-efi-frame-buffer-v3.patch
x86_64-efi-boot-support-efi-boot-document.patch
x86_64-add-acpi-reboot-option.patch
pci-use-pci=bfsort-for-hp-dl385-g2-dl585-g2.patch
swapin_readahead-excise-numa-bogosity.patch
revoke-add-documentation.patch
revoke-wire-up-i386-system-calls.patch
fall-back-on-interrupt-disable-in-cmpxchg8b-on-80386-and-80486.patch
profile-likely-unlikely-macros.patch
profile-likely-unlikely-macros-fix.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html