Loading drivers/soc/qcom/hab/hab_qvm.c +5 −5 Original line number Diff line number Diff line /* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. /* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -375,12 +375,12 @@ static void hab_shmem_shutdown(struct platform_device *pdev) int i; struct qvm_channel *dev; struct physical_channel *pchan; struct hab_device hab_dev; struct hab_device *hab_dev; for (i = 0; i < hab_driver.ndevices; i++) { hab_dev = hab_driver.devp[i]; pr_debug("detaching %s\n", hab_dev.name); list_for_each_entry(pchan, &hab_dev.pchannels, node) { hab_dev = &hab_driver.devp[i]; pr_debug("detaching %s\n", hab_dev->name); list_for_each_entry(pchan, &hab_dev->pchannels, node) { dev = (struct qvm_channel *)pchan->hyp_data; dev->guest_ctrl->detach = 0; } Loading Loading
drivers/soc/qcom/hab/hab_qvm.c +5 −5 Original line number Diff line number Diff line /* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. /* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -375,12 +375,12 @@ static void hab_shmem_shutdown(struct platform_device *pdev) int i; struct qvm_channel *dev; struct physical_channel *pchan; struct hab_device hab_dev; struct hab_device *hab_dev; for (i = 0; i < hab_driver.ndevices; i++) { hab_dev = hab_driver.devp[i]; pr_debug("detaching %s\n", hab_dev.name); list_for_each_entry(pchan, &hab_dev.pchannels, node) { hab_dev = &hab_driver.devp[i]; pr_debug("detaching %s\n", hab_dev->name); list_for_each_entry(pchan, &hab_dev->pchannels, node) { dev = (struct qvm_channel *)pchan->hyp_data; dev->guest_ctrl->detach = 0; } Loading