Re: [Patch v4 08/12] memory-hotplug: remove memmap of sparse-vmemmap

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

 



On 11/27/2012 06:00 PM, Wen Congyang wrote:
  static int __remove_section(struct zone *zone, struct mem_section *ms)
  {
  	unsigned long flags;
@@ -330,9 +317,9 @@ static int __remove_section(struct zone *zone, struct mem_section *ms)
  	pgdat_resize_lock(pgdat,&flags);
  	sparse_remove_one_section(zone, ms);
  	pgdat_resize_unlock(pgdat,&flags);
-	return 0;
+
+	return ret;

I think we don't need to change this line. :)

Reviewed-by: Tang Chen <tangchen@xxxxxxxxxxxxxx>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]