[PATCH] firmware: arm_scmi: removed asm-generic

Tanzir Hasan posted 1 patch 2 years ago
drivers/firmware/arm_scmi/shmem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] firmware: arm_scmi: removed asm-generic
Posted by Tanzir Hasan 2 years ago
asm-generic/bug.h can be replaced by linux/bug.h and the file will still
build correctly. It is an asm-generic file which should be avoided if
possible.

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Tanzir Hasan <tanzirh@google.com>
---
 drivers/firmware/arm_scmi/shmem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/arm_scmi/shmem.c b/drivers/firmware/arm_scmi/shmem.c
index 87b4f4d35f06..524509f4468e 100644
--- a/drivers/firmware/arm_scmi/shmem.c
+++ b/drivers/firmware/arm_scmi/shmem.c
@@ -10,7 +10,7 @@
 #include <linux/processor.h>
 #include <linux/types.h>
 
-#include <asm-generic/bug.h>
+#include <linux/bug.h>
 
 #include "common.h"
 

---
base-commit: fbafc3e621c3f4ded43720fdb1d6ce1728ec664e
change-id: 20231226-shmem-1a44aa308e18

Best regards,
-- 
Tanzir Hasan <tanzirh@google.com>
Re: [PATCH] firmware: arm_scmi: removed asm-generic
Posted by Sudeep Holla 1 year, 11 months ago
On Tue, 26 Dec 2023 22:52:03 +0000, Tanzir Hasan wrote:
> asm-generic/bug.h can be replaced by linux/bug.h and the file will still
> build correctly. It is an asm-generic file which should be avoided if
> possible.
> 

Applied to sudeep.holla/linux (for-next/scmi/fixes), thanks!

[1/1] firmware: arm_scmi: removed asm-generic
      https://git.kernel.org/sudeep.holla/c/0726fcc8d4af
--
Regards,
Sudeep