Skip to contentSkip to conversation

IB/hns: Explicitly include linux/interrupt.h

PATCH In review Mark Brown 3 participants 4 messages Jul 28, 2017 – Aug 22, 2017 3 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 IB/hns: Explicitly include linux/interrupt.h

This file uses interrupt APIs but doesn't explicitly include linux/interrupt.h meaning that changes in other header files could cause build breakage as happened in next-20170728 for arm64. Add an explicit include to avoid such problems.

---
 drivers/infiniband/hw/hns/hns_roce_eq.c | 1 +
 1 file changed, 1 insertion(+)
drivers/infiniband/hw/hns/hns_roce_eq.c +1 -0
index 50f864935a0e..e1e4c16ca3d5 100644
@@ -30,6 +30,7 @@
  * SOFTWARE.
  */
 
+#include <linux/interrupt.h>
 #include <linux/platform_device.h>
 #include "hns_roce_common.h"
 #include "hns_roce_device.h"
Signature · 6 lines
2.13.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20170728105112.7577-1-broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org

#2 lore raw
Quoted 18 lines · Mark Brown

This file uses interrupt APIs but doesn't explicitly include linux/interrupt.h meaning that changes in other header files could cause
build breakage as happened in next-20170728 for arm64. Add an explicit
include to avoid such problems.

---
 drivers/infiniband/hw/hns/hns_roce_eq.c | 1 +
 1 file changed, 1 insertion(+)
drivers/infiniband/hw/hns/hns_roce_eq.c +0 -0
index 50f864935a0e..e1e4c16ca3d5 100644

drivers/infiniband/hw/hns/hns_roce_eq.c line 36

Quoted 7 lines
drivers/infiniband/hw/hns/hns_roce_eq.c +1 -0
@@ -30,6 +30,7 @@
  * SOFTWARE.
  */
 
+#include <linux/interrupt.h>
 #include <linux/platform_device.h>
 #include "hns_roce_common.h"
 #include "hns_roce_device.h"

Hi Mark,

Your patch is fine, but I grabbed the one from Arnd before I grabbed this one. That was an accident on my part (yours was sent to the list first and I normally would have grabbed it), my apologies for that. I knew I had seen a patch come through and I scrolled back until I found it without realizing there were two.

Signature · 8 lines
Doug Ledford <[email protected]>
    GPG KeyID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Hi, Doug & Mark Brown & Arnd Bergmann
Thanks for your patches!

@Doug, Which branch can we found this patch? Thanks Regards
Wei Hu

Quoted 28 lines · Doug Ledford
Quoted 18 lines · Mark Brown

This file uses interrupt APIs but doesn't explicitly include linux/interrupt.h meaning that changes in other header files could cause
build breakage as happened in next-20170728 for arm64. Add an explicit
include to avoid such problems.

---
  drivers/infiniband/hw/hns/hns_roce_eq.c | 1 +
  1 file changed, 1 insertion(+)
drivers/infiniband/hw/hns/hns_roce_eq.c +0 -0
index 50f864935a0e..e1e4c16ca3d5 100644

drivers/infiniband/hw/hns/hns_roce_eq.c line 36

Quoted 7 lines
drivers/infiniband/hw/hns/hns_roce_eq.c +1 -0
@@ -30,6 +30,7 @@
   * SOFTWARE.
   */
 
+#include <linux/interrupt.h>
  #include <linux/platform_device.h>
  #include "hns_roce_common.h"
  #include "hns_roce_device.h"

Hi Mark,

Quoted 6 lines

Your patch is fine, but I grabbed the one from Arnd before I grabbed this one. That was an accident on my part (yours was sent to the list first and I normally would have grabbed it), my apologies for that. I knew I had seen a patch come through and I scrolled back until I found it without realizing there were two.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw
Quoted 4 lines · Wei Hu (Xavier)

Hi, Doug & Mark Brown & Arnd Bergmann
Thanks for your patches!

@Doug, Which branch can we found this patch? Thanks

I put this in -rc, it should already be visible to you in Linus' master branch.

Quoted 46 lines

Regards
Wei Hu

Quoted 40 lines · Doug Ledford
Quoted 19 lines · Mark Brown

This file uses interrupt APIs but doesn't explicitly include linux/interrupt.h meaning that changes in other header files could
cause
build breakage as happened in next-20170728 for arm64. Add an explicit
include to avoid such problems.

---
  drivers/infiniband/hw/hns/hns_roce_eq.c | 1 +
  1 file changed, 1 insertion(+)
drivers/infiniband/hw/hns/hns_roce_eq.c +0 -0
index 50f864935a0e..e1e4c16ca3d5 100644

drivers/infiniband/hw/hns/hns_roce_eq.c line 36

Quoted 7 lines
drivers/infiniband/hw/hns/hns_roce_eq.c +1 -0
@@ -30,6 +30,7 @@
   * SOFTWARE.
   */
 
+#include <linux/interrupt.h>
  #include <linux/platform_device.h>
  #include "hns_roce_common.h"
  #include "hns_roce_device.h"

Hi Mark,

Your patch is fine, but I grabbed the one from Arnd before I grabbed
this one. That was an accident on my part (yours was sent to the list
first and I normally would have grabbed it), my apologies for that. I
knew I had seen a patch come through and I scrolled back until I found
it without realizing there were two.

Signature · 8 lines
Doug Ledford <[email protected]>
    GPG KeyID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html