linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: fsl-dpaa2/eth: fix a couple of implicit includes
@ 2017-06-22 12:52 laurentiu.tudor
  2017-06-22 15:50 ` Ruxandra Ioana Radulescu
  0 siblings, 1 reply; 2+ messages in thread
From: laurentiu.tudor @ 2017-06-22 12:52 UTC (permalink / raw)
  To: gregkh, ruxandra.radulescu
  Cc: devel, linux-kernel, bogdan.purcareata, leoyang.li, stuyoder,
	roy.pledge, linux-arm-kernel, Laurentiu Tudor

From: Laurentiu Tudor <laurentiu.tudor@nxp.com>

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 <laurentiu.tudor@nxp.com>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH] staging: fsl-dpaa2/eth: fix a couple of implicit includes
  2017-06-22 12:52 [PATCH] staging: fsl-dpaa2/eth: fix a couple of implicit includes laurentiu.tudor
@ 2017-06-22 15:50 ` Ruxandra Ioana Radulescu
  0 siblings, 0 replies; 2+ messages in thread
From: Ruxandra Ioana Radulescu @ 2017-06-22 15:50 UTC (permalink / raw)
  To: Laurentiu Tudor, gregkh
  Cc: devel, linux-kernel, Bogdan Purcareata, Leo Li, stuyoder,
	Roy Pledge, linux-arm-kernel, Laurentiu Tudor

> -----Original Message-----
> From: laurentiu.tudor@nxp.com [mailto:laurentiu.tudor@nxp.com]
> Sent: Thursday, June 22, 2017 3:52 PM
> To: gregkh@linuxfoundation.org; Ruxandra Ioana Radulescu
> <ruxandra.radulescu@nxp.com>
> Cc: devel@driverdev.osuosl.org; linux-kernel@vger.kernel.org; Bogdan
> Purcareata <bogdan.purcareata@nxp.com>; Leo Li <leoyang.li@nxp.com>;
> stuyoder@gmail.com; Roy Pledge <roy.pledge@nxp.com>; linux-arm-
> kernel@lists.infradead.org; Laurentiu Tudor <laurentiu.tudor@nxp.com>
> Subject: [PATCH] staging: fsl-dpaa2/eth: fix a couple of implicit includes
> 
> From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
> 
> 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 <laurentiu.tudor@nxp.com>
 
Acked-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-22 15:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-22 12:52 [PATCH] staging: fsl-dpaa2/eth: fix a couple of implicit includes laurentiu.tudor
2017-06-22 15:50 ` Ruxandra Ioana Radulescu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).