Skip to contentSkip to conversation

Patch "staging: fsl-mc: Add missing header" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Nov 6, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

staging: fsl-mc: Add missing header

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
staging-fsl-mc-add-missing-header.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From foo@baz Mon Nov 6 10:07:35 CET 2017

From: Bogdan Purcareata <[email protected]>
Date: Sat, 7 Oct 2017 22:36:46 +0000
Subject: staging: fsl-mc: Add missing header

From: Bogdan Purcareata <[email protected]>

[ Upstream commit 07e9ef146071adf316312b3dd4abfe41c9a45a7d ]

Compiling the fsl-mc bus driver will yield a couple of static analysis errors:
warning: symbol 'fsl_mc_msi_domain_alloc_irqs' was not declared
warning: symbol 'fsl_mc_msi_domain_free_irqs' was not declared.
warning: symbol 'its_fsl_mc_msi_init' was not declared.
warning: symbol 'its_fsl_mc_msi_cleanup' was not declared.

Since these are properly declared, but the header is not included, add it in the source files. This way the symbol is properly exported.

---
 drivers/staging/fsl-mc/bus/fsl-mc-msi.c                |    1 +
 drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c |    1 +
 2 files changed, 2 insertions(+)
drivers/staging/fsl-mc/bus/fsl-mc-msi.c +1 -0
@@ -17,6 +17,7 @@
 #include <linux/irqdomain.h>
 #include <linux/msi.h>
 #include "../include/mc-bus.h"
+#include "fsl-mc-private.h"
 
 /*
  * Generate a unique ID identifying the interrupt (only used within the MSI
drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c +1 -0
@@ -17,6 +17,7 @@
 #include <linux/of.h>
 #include <linux/of_irq.h>
 #include "../include/mc-bus.h"
+#include "fsl-mc-private.h"
 
 static struct irq_chip its_msi_irq_chip = {
 	.name = "fsl-mc-bus-msi",

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/staging-fsl-mc-add-missing-header.patch