Re: [PATCH] fix a Sparse warning in the arch/x86/kernel/irq_work.c file

2013-08-13 Thread Steven Rostedt
On Tue, 13 Aug 2013 11:09:34 +0530 anish singh wrote: > > Instead, it calls irq_work() to do the event within a normal interrupt > > context. Some architectures have the ability to trigger an interrupt on > > irq_work processes event in normal interrupt context as you said but > why interrupt c

Re: [PATCH] fix a Sparse warning in the arch/x86/kernel/irq_work.c file

2013-08-13 Thread Borislav Petkov
On Mon, Aug 12, 2013 at 08:29:09PM -0400, Steven Rostedt wrote: > The patch looks good. Let me give you a bit more information and > background on that function. Just your FYI. Well, if anything else doesn't pan out, you can always get a job teaching kernel development! I wish I had JFYIs like tha

Re: [PATCH] fix a Sparse warning in the arch/x86/kernel/irq_work.c file

2013-08-12 Thread anish singh
On Tue, Aug 13, 2013 at 5:59 AM, Steven Rostedt wrote: > On Mon, 12 Aug 2013 15:18:16 -0700 > Shailaja Neelam wrote: > >> I am a high school student trying to become familiar with the >> opensource process and linux kernel. This is my first submission to >> the ITC mailing list. > > Hi Shailaja,

Re: [PATCH] fix a Sparse warning in the arch/x86/kernel/irq_work.c file

2013-08-12 Thread Steven Rostedt
On Mon, 12 Aug 2013 15:18:16 -0700 Shailaja Neelam wrote: > I am a high school student trying to become familiar with the > opensource process and linux kernel. This is my first submission to > the ITC mailing list. Hi Shailaja, Welcome to Linux kernel development :-) > > My patch is for the

[PATCH] fix a Sparse warning in the arch/x86/kernel/irq_work.c file

2013-08-12 Thread Shailaja Neelam
I am a high school student trying to become familiar with the opensource process and linux kernel. This is my first submission to the ITC mailing list. My patch is for the file arch/x86/kernel/irq_work.c in the vesion linux-3.10 kernel. When I ran the kernel with Sparse, the error read: arch/x86/k