* [PATCH -next] infiniband: fix ipath_chip_init.c build errors [not found] ` <20111007174230.702f4a0bf1fe71dab5e10961-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org> @ 2011-10-07 20:59 ` Randy Dunlap [not found] ` <4E8F683D.9020604-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org> 0 siblings, 1 reply; 9+ messages in thread From: Randy Dunlap @ 2011-10-07 20:59 UTC (permalink / raw) To: Stephen Rothwell Cc: linux-next-u79uwXL29TY76Z2rM5mHXA, LKML, Mike Marciniszyn, linux-rdma-u79uwXL29TY76Z2rM5mHXA, Andrew Morton From: Randy Dunlap <rdunlap-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org> Add <linux/stat.h> to fix build errors: drivers/infiniband/hw/ipath/ipath_init_chip.c:54:1: error: 'S_IRUGO' undeclared here (not in a function) drivers/infiniband/hw/ipath/ipath_init_chip.c:54:1: error: bit-field '<anonymous>' width not an integer constant drivers/infiniband/hw/ipath/ipath_init_chip.c:67:1: error: 'S_IWUSR' undeclared here (not in a function) drivers/infiniband/hw/ipath/ipath_init_chip.c:67:1: error: bit-field '<anonymous>' width not an integer constant Signed-off-by: Randy Dunlap <rdunlap-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org> Cc: Mike Marciniszyn <infinipath-h88ZbnxC6KDQT0dZR+AlfA@public.gmane.org> Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org --- drivers/infiniband/hw/ipath/ipath_init_chip.c | 1 + 1 file changed, 1 insertion(+) --- next-2011-1007.orig/drivers/infiniband/hw/ipath/ipath_init_chip.c +++ next-2011-1007/drivers/infiniband/hw/ipath/ipath_init_chip.c @@ -35,6 +35,7 @@ #include <linux/netdevice.h> #include <linux/moduleparam.h> #include <linux/slab.h> +#include <linux/stat.h> #include <linux/vmalloc.h> #include "ipath_kernel.h" -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <4E8F683D.9020604-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org>]
* Re: [PATCH -next] infiniband: fix ipath_chip_init.c build errors [not found] ` <4E8F683D.9020604-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org> @ 2011-10-07 21:21 ` Roland Dreier 2011-10-07 22:05 ` Randy Dunlap 2011-10-10 18:57 ` Mike Marciniszyn 2011-10-11 13:06 ` Mike Marciniszyn 1 sibling, 2 replies; 9+ messages in thread From: Roland Dreier @ 2011-10-07 21:21 UTC (permalink / raw) To: Randy Dunlap Cc: Stephen Rothwell, linux-next-u79uwXL29TY76Z2rM5mHXA, LKML, Mike Marciniszyn, linux-rdma-u79uwXL29TY76Z2rM5mHXA, Andrew Morton On Fri, Oct 7, 2011 at 1:59 PM, Randy Dunlap <rdunlap-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org> wrote: > Add <linux/stat.h> to fix build errors: When did this break? I build ipath in my test config all the time... - R. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH -next] infiniband: fix ipath_chip_init.c build errors 2011-10-07 21:21 ` Roland Dreier @ 2011-10-07 22:05 ` Randy Dunlap [not found] ` <4E8F77B8.3000805-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org> 2011-10-10 19:02 ` Roland Dreier 2011-10-10 18:57 ` Mike Marciniszyn 1 sibling, 2 replies; 9+ messages in thread From: Randy Dunlap @ 2011-10-07 22:05 UTC (permalink / raw) To: Roland Dreier Cc: Stephen Rothwell, linux-next, LKML, Mike Marciniszyn, linux-rdma, Andrew Morton On 10/07/11 14:21, Roland Dreier wrote: > On Fri, Oct 7, 2011 at 1:59 PM, Randy Dunlap <rdunlap@xenotime.net> wrote: >> Add <linux/stat.h> to fix build errors: > > When did this break? I build ipath in my test config all the time... First I saw it was in today's linux-next (20111007). -- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <4E8F77B8.3000805-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org>]
* Re: [PATCH -next] infiniband: fix ipath_chip_init.c build errors [not found] ` <4E8F77B8.3000805-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org> @ 2011-10-07 23:28 ` Stephen Rothwell 0 siblings, 0 replies; 9+ messages in thread From: Stephen Rothwell @ 2011-10-07 23:28 UTC (permalink / raw) To: Roland Dreier Cc: Randy Dunlap, linux-next-u79uwXL29TY76Z2rM5mHXA, LKML, Mike Marciniszyn, linux-rdma-u79uwXL29TY76Z2rM5mHXA, Andrew Morton [-- Attachment #1: Type: text/plain, Size: 796 bytes --] Hi all, On Fri, 07 Oct 2011 15:05:44 -0700 Randy Dunlap <rdunlap-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org> wrote: > > On 10/07/11 14:21, Roland Dreier wrote: > > On Fri, Oct 7, 2011 at 1:59 PM, Randy Dunlap <rdunlap-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org> wrote: > >> Add <linux/stat.h> to fix build errors: > > > > When did this break? I build ipath in my test config all the time... > > First I saw it was in today's linux-next (20111007). Its probably associated with the module.h split up. But see Rule 1 in Documentation/SubmitChecklist. Implicit inclusion of files can easily break when built for a different architecture or config ... -- Cheers, Stephen Rothwell sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org http://www.canb.auug.org.au/~sfr/ [-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH -next] infiniband: fix ipath_chip_init.c build errors 2011-10-07 22:05 ` Randy Dunlap [not found] ` <4E8F77B8.3000805-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org> @ 2011-10-10 19:02 ` Roland Dreier 2011-10-11 0:33 ` Stephen Rothwell 1 sibling, 1 reply; 9+ messages in thread From: Roland Dreier @ 2011-10-10 19:02 UTC (permalink / raw) To: Randy Dunlap Cc: Stephen Rothwell, linux-next, LKML, Mike Marciniszyn, linux-rdma, Andrew Morton On Fri, Oct 7, 2011 at 3:05 PM, Randy Dunlap <rdunlap@xenotime.net> wrote: > First I saw it was in today's linux-next (20111007). Got it... a latent problem exposed by some include clean up, probably. Applied, thanks. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH -next] infiniband: fix ipath_chip_init.c build errors 2011-10-10 19:02 ` Roland Dreier @ 2011-10-11 0:33 ` Stephen Rothwell 0 siblings, 0 replies; 9+ messages in thread From: Stephen Rothwell @ 2011-10-11 0:33 UTC (permalink / raw) To: Roland Dreier Cc: Randy Dunlap, linux-next, LKML, Mike Marciniszyn, linux-rdma, Andrew Morton [-- Attachment #1: Type: text/plain, Size: 451 bytes --] On Mon, 10 Oct 2011 12:02:29 -0700 Roland Dreier <roland@purestorage.com> wrote: > > On Fri, Oct 7, 2011 at 3:05 PM, Randy Dunlap <rdunlap@xenotime.net> wrote: > > First I saw it was in today's linux-next (20111007). > > Got it... a latent problem exposed by some include clean up, probably. Almost certainly the module.h split up. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [PATCH -next] infiniband: fix ipath_chip_init.c build errors 2011-10-07 21:21 ` Roland Dreier 2011-10-07 22:05 ` Randy Dunlap @ 2011-10-10 18:57 ` Mike Marciniszyn 2011-10-10 19:02 ` Randy Dunlap 1 sibling, 1 reply; 9+ messages in thread From: Mike Marciniszyn @ 2011-10-10 18:57 UTC (permalink / raw) To: Roland Dreier, Randy Dunlap Cc: Stephen Rothwell, linux-next@vger.kernel.org, linux-kernel, Dept_Infinipath, linux-rdma@vger.kernel.org, Andrew Morton As do I. I've confirmed that patch does no harm, but I would like to see the error. Which of the github repos exposes the error? Mike > -----Original Message----- > From: Roland Dreier [mailto:roland@purestorage.com] > Sent: Friday, October 07, 2011 5:21 PM > To: Randy Dunlap > Cc: Stephen Rothwell; linux-next@vger.kernel.org; linux-kernel; > Dept_Infinipath; linux-rdma@vger.kernel.org; Andrew Morton > Subject: Re: [PATCH -next] infiniband: fix ipath_chip_init.c build > errors > > On Fri, Oct 7, 2011 at 1:59 PM, Randy Dunlap <rdunlap@xenotime.net> > wrote: > > Add <linux/stat.h> to fix build errors: > > When did this break? I build ipath in my test config all the time... > > - R. This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH -next] infiniband: fix ipath_chip_init.c build errors 2011-10-10 18:57 ` Mike Marciniszyn @ 2011-10-10 19:02 ` Randy Dunlap 0 siblings, 0 replies; 9+ messages in thread From: Randy Dunlap @ 2011-10-10 19:02 UTC (permalink / raw) To: Mike Marciniszyn Cc: Roland Dreier, Stephen Rothwell, linux-next@vger.kernel.org, linux-kernel, Dept_Infinipath, linux-rdma@vger.kernel.org, Andrew Morton On 10/10/11 11:57, Mike Marciniszyn wrote: > As do I. > > I've confirmed that patch does no harm, but I would like to see the error. > > Which of the github repos exposes the error? I saw it in linux-next of 20111007. > Mike > >> -----Original Message----- >> From: Roland Dreier [mailto:roland@purestorage.com] >> Sent: Friday, October 07, 2011 5:21 PM >> To: Randy Dunlap >> Cc: Stephen Rothwell; linux-next@vger.kernel.org; linux-kernel; >> Dept_Infinipath; linux-rdma@vger.kernel.org; Andrew Morton >> Subject: Re: [PATCH -next] infiniband: fix ipath_chip_init.c build >> errors >> >> On Fri, Oct 7, 2011 at 1:59 PM, Randy Dunlap <rdunlap@xenotime.net> >> wrote: >>> Add <linux/stat.h> to fix build errors: >> >> When did this break? I build ipath in my test config all the time... >> >> - R. -- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** ^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [PATCH -next] infiniband: fix ipath_chip_init.c build errors [not found] ` <4E8F683D.9020604-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org> 2011-10-07 21:21 ` Roland Dreier @ 2011-10-11 13:06 ` Mike Marciniszyn 1 sibling, 0 replies; 9+ messages in thread From: Mike Marciniszyn @ 2011-10-11 13:06 UTC (permalink / raw) To: Randy Dunlap Cc: linux-next-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel, Dept_Infinipath, linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Andrew Morton, Stephen Rothwell, Roland Dreier > Add <linux/stat.h> to fix build errors: > > drivers/infiniband/hw/ipath/ipath_init_chip.c:54:1: error: 'S_IRUGO' > undeclared here (not in a function) > drivers/infiniband/hw/ipath/ipath_init_chip.c:54:1: error: bit-field > '<anonymous>' width not an integer constant > drivers/infiniband/hw/ipath/ipath_init_chip.c:67:1: error: 'S_IWUSR' > undeclared here (not in a function) > drivers/infiniband/hw/ipath/ipath_init_chip.c:67:1: error: bit-field > '<anonymous>' width not an integer constant > > Signed-off-by: Randy Dunlap <rdunlap-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org> Thanks for the patch! Acked-by: Mike Marciniszyn <mike.marciniszyn-h88ZbnxC6KDQT0dZR+AlfA@public.gmane.org> This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-10-11 13:06 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20111007174230.702f4a0bf1fe71dab5e10961@canb.auug.org.au>
[not found] ` <20111007174230.702f4a0bf1fe71dab5e10961-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org>
2011-10-07 20:59 ` [PATCH -next] infiniband: fix ipath_chip_init.c build errors Randy Dunlap
[not found] ` <4E8F683D.9020604-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org>
2011-10-07 21:21 ` Roland Dreier
2011-10-07 22:05 ` Randy Dunlap
[not found] ` <4E8F77B8.3000805-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org>
2011-10-07 23:28 ` Stephen Rothwell
2011-10-10 19:02 ` Roland Dreier
2011-10-11 0:33 ` Stephen Rothwell
2011-10-10 18:57 ` Mike Marciniszyn
2011-10-10 19:02 ` Randy Dunlap
2011-10-11 13:06 ` Mike Marciniszyn
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox