Re: Is iounmap(NULL) safe or not?

2017-05-06 Thread Benjamin Herrenschmidt
On Sat, 2017-05-06 at 01:50 +0300, Alexey Khoroshilov wrote: > Could you please clarify if iounmap(NULL) safe or not. > I guess it would be less errorprone if the answer is architecture independent. I think it's supposed to be and we should fix ppc. Cheers, Ben.

Re: Is iounmap(NULL) safe or not?

2017-05-06 Thread Benjamin Herrenschmidt
On Sat, 2017-05-06 at 01:50 +0300, Alexey Khoroshilov wrote: > Could you please clarify if iounmap(NULL) safe or not. > I guess it would be less errorprone if the answer is architecture independent. I think it's supposed to be and we should fix ppc. Cheers, Ben.

Is iounmap(NULL) safe or not?

2017-05-05 Thread Alexey Khoroshilov
" " at 0x%p\n", addr); return; } Could you please clarify if iounmap(NULL) safe or not. I guess it would be less errorprone if the answer is architecture independent. -- Thank you, Alexey Khoroshilov Linux Verification Center, ISPRAS web: http://linuxtesting.org

Is iounmap(NULL) safe or not?

2017-05-05 Thread Alexey Khoroshilov
" " at 0x%p\n", addr); return; } Could you please clarify if iounmap(NULL) safe or not. I guess it would be less errorprone if the answer is architecture independent. -- Thank you, Alexey Khoroshilov Linux Verification Center, ISPRAS web: http://linuxtesting.org