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 from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux