Re: [V3] firmware: vpd: use memunmap instead of iounmap

2017-08-10 Thread Dmitry Torokhov
On Fri, Aug 11, 2017 at 07:13:13AM +0800, Pan Bian wrote: > In functions vpd_sections_init() and vpd_section_init(), iounmap() is > used to unmap memory. However, in these cases, memunmap() should be > used. > > Signed-off-by: Pan Bian Reviewed-by: Dmitry Torokhov

Re: [V3] firmware: vpd: use memunmap instead of iounmap

2017-08-10 Thread Dmitry Torokhov
On Fri, Aug 11, 2017 at 07:13:13AM +0800, Pan Bian wrote: > In functions vpd_sections_init() and vpd_section_init(), iounmap() is > used to unmap memory. However, in these cases, memunmap() should be > used. > > Signed-off-by: Pan Bian Reviewed-by: Dmitry Torokhov > --- > V2: change error

[V3] firmware: vpd: use memunmap instead of iounmap

2017-08-10 Thread Pan Bian
In functions vpd_sections_init() and vpd_section_init(), iounmap() is used to unmap memory. However, in these cases, memunmap() should be used. Signed-off-by: Pan Bian --- V2: change error label err_iounmap to err_memunmap V3: add changes from V1 to V2 ---

[V3] firmware: vpd: use memunmap instead of iounmap

2017-08-10 Thread Pan Bian
In functions vpd_sections_init() and vpd_section_init(), iounmap() is used to unmap memory. However, in these cases, memunmap() should be used. Signed-off-by: Pan Bian --- V2: change error label err_iounmap to err_memunmap V3: add changes from V1 to V2 --- drivers/firmware/google/vpd.c | 10