The patch titled
kill swapfile.c:nr_extents warning
has been added to the -mm tree. Its filename is
swap-swap-unsigned-int-consistency-warning-fix.patch
Patches currently in -mm which might be from [EMAIL PROTECTED] are
swap-swap-unsigned-int-consistency-warning-fix.patch
scan-all-enabled-ports-on-ata_piix.patch
kill-bio-bi_set.patch
dell_rbu-new-dell-bios-update-driver-fix.patch
cleanup-of-deadline_dispatch_requests.patch
include-linux-bioh-extern-inline-static-inline.patch
drivers-block-fix-up-schedule_timeout-usage.patch
drivers-cdrom-fix-up-schedule_timeout-usage.patch
From: Jens Axboe <[EMAIL PROTECTED]>
mm/swapfile.c: In function `sys_swapon':
mm/swapfile.c:1294: warning: `nr_extents' might be used uninitialized in
this function
Signed-off-by: Jens Axboe <[EMAIL PROTECTED]>
Cc: Hugh Dickins <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
mm/swapfile.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN mm/swapfile.c~swap-swap-unsigned-int-consistency-warning-fix
mm/swapfile.c
--- 25/mm/swapfile.c~swap-swap-unsigned-int-consistency-warning-fix Mon Aug
29 14:30:34 2005
+++ 25-akpm/mm/swapfile.c Mon Aug 29 14:30:34 2005
@@ -1277,7 +1277,7 @@ asmlinkage long sys_swapon(const char __
union swap_header *swap_header = NULL;
int swap_header_version;
unsigned int nr_good_pages = 0;
- int nr_extents;
+ int nr_extents = 0;
sector_t span;
unsigned long maxpages = 1;
int swapfilesize;
_
-
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