[merged] mm-change-function-return-from-int-to-bool-for-the-function-is_page_busy.patch removed from -mm tree

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

 



The patch titled
     Subject: mm/dmapool.c: change is_page_busy() return from int to bool
has been removed from the -mm tree.  Its filename was
     mm-change-function-return-from-int-to-bool-for-the-function-is_page_busy.patch

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

------------------------------------------------------
From: Nicholas Krause <xerofoify@xxxxxxxxx>
Subject: mm/dmapool.c: change is_page_busy() return from int to bool

This makes the function is_page_busy() return bool rather then an int now
due to this particular function's single return statement only ever
evaulating to either one or zero.

Signed-off-by: Nicholas Krause <xerofoify@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/dmapool.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/dmapool.c~mm-change-function-return-from-int-to-bool-for-the-function-is_page_busy mm/dmapool.c
--- a/mm/dmapool.c~mm-change-function-return-from-int-to-bool-for-the-function-is_page_busy
+++ a/mm/dmapool.c
@@ -242,7 +242,7 @@ static struct dma_page *pool_alloc_page(
 	return page;
 }
 
-static inline int is_page_busy(struct dma_page *page)
+static inline bool is_page_busy(struct dma_page *page)
 {
 	return page->in_use != 0;
 }
_

Patches currently in -mm which might be from xerofoify@xxxxxxxxx are

mm-make-the-function-set_recommended_min_free_kbytes-have-a-return-type-of-void.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