Re: [PATCH] mailbox: pcc: Put the PCCT table for error path

2020-07-22 Thread Markus Elfring
… > In acpi_pcc_probe(), the PCCT table entries will be used as private > data for communication chan at runtime, but the table should be put > for error path. * An imperative wording can be preferred for the change description, can't it? * Will the tag “Fixes” become helpful for the commit

[PATCH] mailbox: pcc: Put the PCCT table for error path

2020-07-22 Thread Hanjun Guo
The acpi_get_table() should be coupled with acpi_put_table() if the mapped table is not used at runtime to release the table mapping. In acpi_pcc_probe(), the PCCT table entries will be used as private data for communication chan at runtime, but the table should be put for error path.