[haiku-commits] Re: r38292 - haiku/trunk/src/system/kernel/arch/ppc

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 24 Aug 2010 11:33:51 +0200

andreas.faerber@xxxxxx wrote:
> -     return B_ERROR;
> +     return B_OK;

A call to arch_vm_set_memory_type() might actually change the current 
mapping, so returning B_OK isn't quite a valid solution.
If it's only temporary, then a comment should be added to make sure 
it's not forgotten!

Bye,
   Axel.


Other related posts: