[PATCH 7/7] ACPI-APEI-HEST: Rename jump labels in hest_parse_ghes()

SF Markus Elfring
2016-09-05T20:23:29Z

Date: Mon, 5 Sep 2016 21:56:02 +0200

Adjust jump labels according to the current Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
drivers/acpi/apei/hest.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/acpi/apei/hest.c b/drivers/acpi/apei/hest.c
index 0e629c0..d5b75fe 100644
--- a/drivers/acpi/apei/hest.c
+++ b/drivers/acpi/apei/hest.c
@@ -167,15 +167,15 @@ static int __init hest_parse_ghes(struct acpi_hest_header *hest_hdr, void *data)

rc = platform_device_add_data(ghes_dev, &hest_hdr, sizeof(void *));
if (rc)
- goto err;
+ goto put_device;

rc = platform_device_add(ghes_dev);
if (rc)
- goto err;
+ goto put_device;
ghes_arr->ghes_devs[ghes_arr->count++] = ghes_dev;

return 0;
-err:
+ put_device:
platform_device_put(ghes_dev);
return rc;
}
--
2.10.0