From: Laurentiu Tudor <[email protected]>
dpni.c is using byte order macros and error codes but does
not explicitly include the required kernel header, so add it.
Signed-off-by: Laurentiu Tudor <[email protected]>
---
drivers/staging/fsl-dpaa2/ethernet/dpni.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpni.c b/drivers/staging/fsl-dpaa2/ethernet/dpni.c
index cea46ed..2c4b1a8 100644
--- a/drivers/staging/fsl-dpaa2/ethernet/dpni.c
+++ b/drivers/staging/fsl-dpaa2/ethernet/dpni.c
@@ -30,6 +30,8 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include <linux/kernel.h>
+#include <linux/errno.h>
#include "../../fsl-mc/include/mc-sys.h"
#include "../../fsl-mc/include/mc-cmd.h"
#include "dpni.h"
--
2.9.4
> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: Thursday, June 22, 2017 3:52 PM
> To: [email protected]; Ruxandra Ioana Radulescu
> <[email protected]>
> Cc: [email protected]; [email protected]; Bogdan
> Purcareata <[email protected]>; Leo Li <[email protected]>;
> [email protected]; Roy Pledge <[email protected]>; linux-arm-
> [email protected]; Laurentiu Tudor <[email protected]>
> Subject: [PATCH] staging: fsl-dpaa2/eth: fix a couple of implicit includes
>
> From: Laurentiu Tudor <[email protected]>
>
> dpni.c is using byte order macros and error codes but does
> not explicitly include the required kernel header, so add it.
>
> Signed-off-by: Laurentiu Tudor <[email protected]>
Acked-by: Ioana Radulescu <[email protected]>