All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: board: Fixed the error for implicit declaration of function
@ 2015-10-02  4:06 Shivani Bhardwaj
  2015-10-02  8:00 ` [Outreachy kernel] " Julia Lawall
  2015-10-02 10:00 ` Shivani Bhardwaj
  0 siblings, 2 replies; 21+ messages in thread
From: Shivani Bhardwaj @ 2015-10-02  4:06 UTC (permalink / raw)
  To: outreachy-kernel

Fixed the error for implicit declaration of the function
'of_find_all_nodes' by adding the appropriate header file and declaring
the function before it has been called.

Signed-off-by: Shivani Bhardwaj: <shivanib134@gmail.com>
---
 drivers/staging/board/board.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/staging/board/board.c b/drivers/staging/board/board.c
index 29d456e..8d0ac82 100644
--- a/drivers/staging/board/board.c
+++ b/drivers/staging/board/board.c
@@ -19,11 +19,13 @@
 #include <linux/of_irq.h>
 #include <linux/platform_device.h>
 #include <linux/pm_domain.h>
+#include <asm/prom.h>
 
 #include "board.h"
 
 static struct device_node *irqc_node __initdata;
 static unsigned int irqc_base __initdata;
+struct device_node *of_find_all_nodes(struct device_node *prev);
 
 static bool find_by_address(u64 base_address)
 {
-- 
2.1.0



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

* Re: [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-02  4:06 [PATCH] Staging: board: Fixed the error for implicit declaration of function Shivani Bhardwaj
@ 2015-10-02  8:00 ` Julia Lawall
  2015-10-02  8:09   ` Shivani Bhardwaj
  2015-10-02 10:00 ` Shivani Bhardwaj
  1 sibling, 1 reply; 21+ messages in thread
From: Julia Lawall @ 2015-10-02  8:00 UTC (permalink / raw)
  To: Shivani Bhardwaj; +Cc: outreachy-kernel

On Fri, 2 Oct 2015, Shivani Bhardwaj wrote:

> Fixed the error for implicit declaration of the function
> 'of_find_all_nodes' by adding the appropriate header file and declaring
> the function before it has been called.

I haven't looked at the code, but I wonder why you need both the header
file and the local declaration?

julia

> Signed-off-by: Shivani Bhardwaj: <shivanib134@gmail.com>
> ---
>  drivers/staging/board/board.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/staging/board/board.c b/drivers/staging/board/board.c
> index 29d456e..8d0ac82 100644
> --- a/drivers/staging/board/board.c
> +++ b/drivers/staging/board/board.c
> @@ -19,11 +19,13 @@
>  #include <linux/of_irq.h>
>  #include <linux/platform_device.h>
>  #include <linux/pm_domain.h>
> +#include <asm/prom.h>
>
>  #include "board.h"
>
>  static struct device_node *irqc_node __initdata;
>  static unsigned int irqc_base __initdata;
> +struct device_node *of_find_all_nodes(struct device_node *prev);
>
>  static bool find_by_address(u64 base_address)
>  {
> --
> 2.1.0
>
> --
> You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20151002040637.GA41415%40ubuntu.
> For more options, visit https://groups.google.com/d/optout.
>


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

* Re: [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-02  8:00 ` [Outreachy kernel] " Julia Lawall
@ 2015-10-02  8:09   ` Shivani Bhardwaj
  2015-10-02  9:09     ` Julia Lawall
  2015-10-02 10:28     ` Sudip Mukherjee
  0 siblings, 2 replies; 21+ messages in thread
From: Shivani Bhardwaj @ 2015-10-02  8:09 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: shivanib134


[-- Attachment #1.1: Type: text/plain, Size: 2157 bytes --]

I tried declaring it first, it didn't work. I added the header, it worked. 
Now, when I tried again, it works without header too. I'll update the 
patch, I must have done something wrong while declaring for the first time. 
Thanks, Julia. I'm sorry I'm making such petty errors, I'm noting 
everything, I'll make sure to send a good patch soon.

On Friday, October 2, 2015 at 1:30:40 PM UTC+5:30, Julia Lawall wrote:
>
> On Fri, 2 Oct 2015, Shivani Bhardwaj wrote: 
>
> > Fixed the error for implicit declaration of the function 
> > 'of_find_all_nodes' by adding the appropriate header file and declaring 
> > the function before it has been called. 
>
> I haven't looked at the code, but I wonder why you need both the header 
> file and the local declaration? 
>
> julia 
>
> > Signed-off-by: Shivani Bhardwaj: <shiva...@gmail.com <javascript:>> 
> > --- 
> >  drivers/staging/board/board.c | 2 ++ 
> >  1 file changed, 2 insertions(+) 
> > 
> > diff --git a/drivers/staging/board/board.c 
> b/drivers/staging/board/board.c 
> > index 29d456e..8d0ac82 100644 
> > --- a/drivers/staging/board/board.c 
> > +++ b/drivers/staging/board/board.c 
> > @@ -19,11 +19,13 @@ 
> >  #include <linux/of_irq.h> 
> >  #include <linux/platform_device.h> 
> >  #include <linux/pm_domain.h> 
> > +#include <asm/prom.h> 
> > 
> >  #include "board.h" 
> > 
> >  static struct device_node *irqc_node __initdata; 
> >  static unsigned int irqc_base __initdata; 
> > +struct device_node *of_find_all_nodes(struct device_node *prev); 
> > 
> >  static bool find_by_address(u64 base_address) 
> >  { 
> > -- 
> > 2.1.0 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "outreachy-kernel" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to outreachy-kern...@googlegroups.com <javascript:>. 
> > To post to this group, send email to outreach...@googlegroups.com 
> <javascript:>. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/outreachy-kernel/20151002040637.GA41415%40ubuntu. 
>
> > For more options, visit https://groups.google.com/d/optout. 
> > 
>

[-- Attachment #1.2: Type: text/html, Size: 3085 bytes --]

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

* Re: [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-02  8:09   ` Shivani Bhardwaj
@ 2015-10-02  9:09     ` Julia Lawall
  2015-10-02 10:28     ` Sudip Mukherjee
  1 sibling, 0 replies; 21+ messages in thread
From: Julia Lawall @ 2015-10-02  9:09 UTC (permalink / raw)
  To: Shivani Bhardwaj; +Cc: outreachy-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 3084 bytes --]

On Fri, 2 Oct 2015, Shivani Bhardwaj wrote:

> I tried declaring it first, it didn't work. I added the header, it worked.
> Now, when I tried again, it works without header too. I'll update the patch,
> I must have done something wrong while declaring for the first time. Thanks,
> Julia. I'm sorry I'm making such petty errors, I'm noting everything, I'll
> make sure to send a good patch soon.

If the header declares the function, then it doesn't seem like a good idea
to declare the function locally as well.

julia

>
> On Friday, October 2, 2015 at 1:30:40 PM UTC+5:30, Julia Lawall wrote:
>       On Fri, 2 Oct 2015, Shivani Bhardwaj wrote:
>
>       > Fixed the error for implicit declaration of the function
>       > 'of_find_all_nodes' by adding the appropriate header file and
>       declaring
>       > the function before it has been called.
>
>       I haven't looked at the code, but I wonder why you need both the
>       header
>       file and the local declaration?
>
>       julia
>
>       > Signed-off-by: Shivani Bhardwaj: <shiva...@gmail.com>
>       > ---
>       >  drivers/staging/board/board.c | 2 ++
>       >  1 file changed, 2 insertions(+)
>       >
>       > diff --git a/drivers/staging/board/board.c
>       b/drivers/staging/board/board.c
>       > index 29d456e..8d0ac82 100644
>       > --- a/drivers/staging/board/board.c
>       > +++ b/drivers/staging/board/board.c
>       > @@ -19,11 +19,13 @@
>       >  #include <linux/of_irq.h>
>       >  #include <linux/platform_device.h>
>       >  #include <linux/pm_domain.h>
>       > +#include <asm/prom.h>
>       >
>       >  #include "board.h"
>       >
>       >  static struct device_node *irqc_node __initdata;
>       >  static unsigned int irqc_base __initdata;
>       > +struct device_node *of_find_all_nodes(struct device_node
>       *prev);
>       >
>       >  static bool find_by_address(u64 base_address)
>       >  {
>       > --
>       > 2.1.0
>       >
>       > --
>       > You received this message because you are subscribed to the
>       Google Groups "outreachy-kernel" group.
>       > To unsubscribe from this group and stop receiving emails from
>       it, send an email to outreachy-kern...@googlegroups.com.
>       > To post to this group, send email to
>       outreach...@googlegroups.com.
>       > To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/20151002040637.GA41415%4
>       0ubuntu.
>       > For more options, visit https://groups.google.com/d/optout.
>       >
>
> --
> You received this message because you are subscribed to the Google Groups
> "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/83a1df2c-03c5-456a-9131-
> 3dca7182d7ef%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>

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

* Re: [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-02  4:06 [PATCH] Staging: board: Fixed the error for implicit declaration of function Shivani Bhardwaj
  2015-10-02  8:00 ` [Outreachy kernel] " Julia Lawall
@ 2015-10-02 10:00 ` Shivani Bhardwaj
  2015-10-02 11:19   ` [Outreachy kernel] " Julia Lawall
  1 sibling, 1 reply; 21+ messages in thread
From: Shivani Bhardwaj @ 2015-10-02 10:00 UTC (permalink / raw)
  To: outreachy-kernel


[-- Attachment #1.1: Type: text/plain, Size: 1513 bytes --]

Hi Julia! I have a doubt. I think I'm having trouble with the header file 
because it declares the function prototype with an extern keyword (I'm not 
sure if memory allocation plays a role in this). And, if the function has 
been declared in some header file then re-declaration of it won't be a good 
practice, I suppose. Please tell me whether extern has to do anything with 
it or not. This is the header file 
http://lxr.free-electrons.com/source/include/linux/of.h#L189. 
Thank you.

On Friday, October 2, 2015 at 9:36:47 AM UTC+5:30, Shivani Bhardwaj wrote:
>
> Fixed the error for implicit declaration of the function 
> 'of_find_all_nodes' by adding the appropriate header file and declaring 
> the function before it has been called. 
>
> Signed-off-by: Shivani Bhardwaj: <shivanib134@gmail.com> 
> --- 
>  drivers/staging/board/board.c | 2 ++ 
>  1 file changed, 2 insertions(+) 
>
> diff --git a/drivers/staging/board/board.c b/drivers/staging/board/board.c 
> index 29d456e..8d0ac82 100644 
> --- a/drivers/staging/board/board.c 
> +++ b/drivers/staging/board/board.c 
> @@ -19,11 +19,13 @@ 
>  #include <linux/of_irq.h> 
>  #include <linux/platform_device.h> 
>  #include <linux/pm_domain.h> 
> +#include <asm/prom.h> 
>   
>  #include "board.h" 
>   
>  static struct device_node *irqc_node __initdata; 
>  static unsigned int irqc_base __initdata; 
> +struct device_node *of_find_all_nodes(struct device_node *prev); 
>   
>  static bool find_by_address(u64 base_address) 
>  { 
> -- 
> 2.1.0 
>
>

[-- Attachment #1.2: Type: text/html, Size: 1881 bytes --]

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

* Re: [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-02  8:09   ` Shivani Bhardwaj
  2015-10-02  9:09     ` Julia Lawall
@ 2015-10-02 10:28     ` Sudip Mukherjee
  2015-10-02 11:50       ` Shivani Bhardwaj
  2015-10-02 12:01       ` Shivani Bhardwaj
  1 sibling, 2 replies; 21+ messages in thread
From: Sudip Mukherjee @ 2015-10-02 10:28 UTC (permalink / raw)
  To: Shivani Bhardwaj; +Cc: outreachy-kernel

On Fri, Oct 02, 2015 at 01:09:30AM -0700, Shivani Bhardwaj wrote:
> I tried declaring it first, it didn't work. I added the header, it worked. 
> Now, when I tried again, it works without header too. I'll update the 
> patch, I must have done something wrong while declaring for the first time. 
> Thanks, Julia. I'm sorry I'm making such petty errors, I'm noting 
> everything, I'll make sure to send a good patch soon.

We all have done mistakes while starting. Let me point out one more thing -
please do not top post.

I am not seeing this build error/warning. How you are building it? Can
you please post your .config file.

regards
sudip


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

* Re: [Outreachy kernel] Re: [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-02 10:00 ` Shivani Bhardwaj
@ 2015-10-02 11:19   ` Julia Lawall
  2015-10-02 11:57     ` Shivani Bhardwaj
  0 siblings, 1 reply; 21+ messages in thread
From: Julia Lawall @ 2015-10-02 11:19 UTC (permalink / raw)
  To: Shivani Bhardwaj; +Cc: outreachy-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2425 bytes --]



On Fri, 2 Oct 2015, Shivani Bhardwaj wrote:

> Hi Julia! I have a doubt. I think I'm having trouble with the header file
> because it declares the function prototype with an extern keyword (I'm not
> sure if memory allocation plays a role in this). And, if the function has
> been declared in some header file then re-declaration of it won't be a good
> practice, I suppose. Please tell me whether extern has to do anything with
> it or not. This is the header file
> http://lxr.free-electrons.com/source/include/linux/of.h#L189.

Why did you suggest to add an include of prom.h rather than of of.h?

You shouldn't declare such a generic function in the specific driver.

julia

> Thank you.
>
> On Friday, October 2, 2015 at 9:36:47 AM UTC+5:30, Shivani Bhardwaj wrote:
>       Fixed the error for implicit declaration of the function
>       'of_find_all_nodes' by adding the appropriate header file and
>       declaring
>       the function before it has been called.
>
>       Signed-off-by: Shivani Bhardwaj: <shivanib134@gmail.com>
>       ---
>        drivers/staging/board/board.c | 2 ++
>        1 file changed, 2 insertions(+)
>
>       diff --git a/drivers/staging/board/board.c
>       b/drivers/staging/board/board.c
>       index 29d456e..8d0ac82 100644
>       --- a/drivers/staging/board/board.c
>       +++ b/drivers/staging/board/board.c
>       @@ -19,11 +19,13 @@
>        #include <linux/of_irq.h>
>        #include <linux/platform_device.h>
>        #include <linux/pm_domain.h>
>       +#include <asm/prom.h>
>        
>        #include "board.h"
>        
>        static struct device_node *irqc_node __initdata;
>        static unsigned int irqc_base __initdata;
>       +struct device_node *of_find_all_nodes(struct device_node
>       *prev);
>        
>        static bool find_by_address(u64 base_address)
>        {
>       --
>       2.1.0
>
> --
> You received this message because you are subscribed to the Google Groups
> "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/b520f0bf-34b7-41a1-948f-
> 7ca510325cfd%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>

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

* [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-02 10:28     ` Sudip Mukherjee
@ 2015-10-02 11:50       ` Shivani Bhardwaj
  2015-10-02 12:01       ` Shivani Bhardwaj
  1 sibling, 0 replies; 21+ messages in thread
From: Shivani Bhardwaj @ 2015-10-02 11:50 UTC (permalink / raw)
  To: outreachy-kernel

On Fri, Oct 02, 2015 at 03:58:19PM +0530, Sudip Mukherjee wrote:
> On Fri, Oct 02, 2015 at 01:09:30AM -0700, Shivani Bhardwaj wrote:
>>> Hi Sudip! I'm using sparse to find out the errors and make command
>>> to compile a particular module. I'm sending my .config file. Thanks!     
>>> 
> > I tried declaring it first, it didn't work. I added the header, it worked. 
> > Now, when I tried again, it works without header too. I'll update the 
> > patch, I must have done something wrong while declaring for the first time. 
> > Thanks, Julia. I'm sorry I'm making such petty errors, I'm noting 
> > everything, I'll make sure to send a good patch soon.
> 
> We all have done mistakes while starting. Let me point out one more thing -
> please do not top post.
> 
> I am not seeing this build error/warning. How you are building it? Can
> you please post your .config file.
> 
> regards
> sudip


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

* Re: [Outreachy kernel] Re: [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-02 11:19   ` [Outreachy kernel] " Julia Lawall
@ 2015-10-02 11:57     ` Shivani Bhardwaj
  0 siblings, 0 replies; 21+ messages in thread
From: Shivani Bhardwaj @ 2015-10-02 11:57 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: shivanib134


[-- Attachment #1.1: Type: text/plain, Size: 3016 bytes --]


Julia, I'm sorry. I looked for all the places where the function was 
available, prom.h wasn't the ideal place though. I've removed it and I'm 
still not able to configure what is causing problems if I do have correct 
header files and everything needed. I'm working on this. Thank you so much.
On Friday, October 2, 2015 at 4:49:51 PM UTC+5:30, Julia Lawall wrote:
>
>
>
> On Fri, 2 Oct 2015, Shivani Bhardwaj wrote: 
> > Hi Julia! I have a doubt. I think I'm having trouble with the header 
> file 
> > because it declares the function prototype with an extern keyword (I'm 
> not 
> > sure if memory allocation plays a role in this). And, if the function 
> has 
> > been declared in some header file then re-declaration of it won't be a 
> good 
> > practice, I suppose. Please tell me whether extern has to do anything 
> with 
> > it or not. This is the header file 
> > http://lxr.free-electrons.com/source/include/linux/of.h#L189. 
>
> Why did you suggest to add an include of prom.h rather than of of.h? 
>
> You shouldn't declare such a generic function in the specific driver. 
>
> julia 
>
> > Thank you. 
> > 
> > On Friday, October 2, 2015 at 9:36:47 AM UTC+5:30, Shivani Bhardwaj 
> wrote: 
> >       Fixed the error for implicit declaration of the function 
> >       'of_find_all_nodes' by adding the appropriate header file and 
> >       declaring 
> >       the function before it has been called. 
> > 
> >       Signed-off-by: Shivani Bhardwaj: <shiva...@gmail.com <javascript:>> 
>
> >       --- 
> >        drivers/staging/board/board.c | 2 ++ 
> >        1 file changed, 2 insertions(+) 
> > 
> >       diff --git a/drivers/staging/board/board.c 
> >       b/drivers/staging/board/board.c 
> >       index 29d456e..8d0ac82 100644 
> >       --- a/drivers/staging/board/board.c 
> >       +++ b/drivers/staging/board/board.c 
> >       @@ -19,11 +19,13 @@ 
> >        #include <linux/of_irq.h> 
> >        #include <linux/platform_device.h> 
> >        #include <linux/pm_domain.h> 
> >       +#include <asm/prom.h> 
> >         
> >        #include "board.h" 
> >         
> >        static struct device_node *irqc_node __initdata; 
> >        static unsigned int irqc_base __initdata; 
> >       +struct device_node *of_find_all_nodes(struct device_node 
> >       *prev); 
> >         
> >        static bool find_by_address(u64 base_address) 
> >        { 
> >       -- 
> >       2.1.0 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "outreachy-kernel" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to outreachy-kern...@googlegroups.com <javascript:>. 
> > To post to this group, send email to outreach...@googlegroups.com 
> <javascript:>. 
> > To view this discussion on the web visithttps://
> groups.google.com/d/msgid/outreachy-kernel/b520f0bf-34b7-41a1-948f- 
> > 7ca510325cfd%40googlegroups.com. 
> > For more options, visit https://groups.google.com/d/optout. 
> > 
> >


[-- Attachment #1.2: Type: text/html, Size: 4310 bytes --]

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

* Re: [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-02 10:28     ` Sudip Mukherjee
  2015-10-02 11:50       ` Shivani Bhardwaj
@ 2015-10-02 12:01       ` Shivani Bhardwaj
  2015-10-02 12:14         ` Sudip Mukherjee
  2015-10-02 12:59         ` Sudip Mukherjee
  1 sibling, 2 replies; 21+ messages in thread
From: Shivani Bhardwaj @ 2015-10-02 12:01 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: shivanib134


[-- Attachment #1.1: Type: text/plain, Size: 1067 bytes --]

Hi Sudeep! I'm having trouble with inline mode of communication, I think 
I'm doing it wrong. I'm not getting exactly difference between top-post and 
inline way, I've been warned about this before as well. I'll learn as soon 
as possible. I've sent my .config file. You can check it. 
Thanks a lot!

On Friday, October 2, 2015 at 3:58:25 PM UTC+5:30, Sudip Mukherjee wrote:
>
> On Fri, Oct 02, 2015 at 01:09:30AM -0700, Shivani Bhardwaj wrote: 
> > I tried declaring it first, it didn't work. I added the header, it 
> worked. 
> > Now, when I tried again, it works without header too. I'll update the 
> > patch, I must have done something wrong while declaring for the first 
> time. 
> > Thanks, Julia. I'm sorry I'm making such petty errors, I'm noting 
> > everything, I'll make sure to send a good patch soon. 
>
> We all have done mistakes while starting. Let me point out one more thing 
> - 
> please do not top post. 
>
> I am not seeing this build error/warning. How you are building it? Can 
> you please post your .config file. 
>
> regards 
> sudip 
>

[-- Attachment #1.2: Type: text/html, Size: 1297 bytes --]

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

* Re: [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-02 12:01       ` Shivani Bhardwaj
@ 2015-10-02 12:14         ` Sudip Mukherjee
  2015-10-02 12:59         ` Sudip Mukherjee
  1 sibling, 0 replies; 21+ messages in thread
From: Sudip Mukherjee @ 2015-10-02 12:14 UTC (permalink / raw)
  To: Shivani Bhardwaj; +Cc: outreachy-kernel

On Fri, Oct 02, 2015 at 05:01:06AM -0700, Shivani Bhardwaj wrote:

This is top posting .. replying on top of the mail.

> Hi Sudeep! I'm having trouble with inline mode of communication, I think 
> I'm doing it wrong. I'm not getting exactly difference between top-post and 
> inline way, I've been warned about this before as well. I'll learn as soon 
> as possible. I've sent my .config file. You can check it. 

And this in inline posting. BTW, are you using gmail web interface for
replying? I could not find any reference of client in this mail's
header.

regards
sudip


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

* Re: [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-02 12:01       ` Shivani Bhardwaj
  2015-10-02 12:14         ` Sudip Mukherjee
@ 2015-10-02 12:59         ` Sudip Mukherjee
  2015-10-04 10:19           ` Shivani Bhardwaj
  1 sibling, 1 reply; 21+ messages in thread
From: Sudip Mukherjee @ 2015-10-02 12:59 UTC (permalink / raw)
  To: Shivani Bhardwaj; +Cc: outreachy-kernel

On Fri, Oct 02, 2015 at 05:01:06AM -0700, Shivani Bhardwaj wrote:
> Hi Sudeep! I'm having trouble with inline mode of communication, I think 
> I'm doing it wrong. I'm not getting exactly difference between top-post and 
> inline way, I've been warned about this before as well. I'll learn as soon 
> as possible. I've sent my .config file. You can check it. 
Ok, now I understand why you are getting the warning. :)
In your .config CONFIG_STAGING_BOARD is not selected. So staging/board
is not included in the build and as a result the modules on which board
is dependent are also not built. So in this scenario when you try to do
make M=drivers/staging/board it gives warning. To test properly try with
make allmodconfig.

regards
sudip


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

* Re: [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-02 12:59         ` Sudip Mukherjee
@ 2015-10-04 10:19           ` Shivani Bhardwaj
  2015-10-04 12:59             ` Julia Lawall
  0 siblings, 1 reply; 21+ messages in thread
From: Shivani Bhardwaj @ 2015-10-04 10:19 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: shivanib134


[-- Attachment #1.1: Type: text/plain, Size: 1045 bytes --]

Thanks, Sudip! And for last two messages I did make use of mutt, I don't 
know why doesn't it show up.
And, does this mean that every time I compile, I must use allmodconfig?
Thank you

On Friday, October 2, 2015 at 6:29:15 PM UTC+5:30, Sudip Mukherjee wrote:
>
> On Fri, Oct 02, 2015 at 05:01:06AM -0700, Shivani Bhardwaj wrote: 
> > Hi Sudeep! I'm having trouble with inline mode of communication, I think 
> > I'm doing it wrong. I'm not getting exactly difference between top-post 
> and 
> > inline way, I've been warned about this before as well. I'll learn as 
> soon 
> > as possible. I've sent my .config file. You can check it. 
> Ok, now I understand why you are getting the warning. :) 
> In your .config CONFIG_STAGING_BOARD is not selected. So staging/board 
> is not included in the build and as a result the modules on which board 
> is dependent are also not built. So in this scenario when you try to do 
> make M=drivers/staging/board it gives warning. To test properly try with 
> make allmodconfig. 
>
> regards 
> sudip 
>

[-- Attachment #1.2: Type: text/html, Size: 1259 bytes --]

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

* Re: [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-04 10:19           ` Shivani Bhardwaj
@ 2015-10-04 12:59             ` Julia Lawall
  2015-10-06  4:08               ` Shivani Bhardwaj
  0 siblings, 1 reply; 21+ messages in thread
From: Julia Lawall @ 2015-10-04 12:59 UTC (permalink / raw)
  To: Shivani Bhardwaj; +Cc: outreachy-kernel

On Sun, 4 Oct 2015, Shivani Bhardwaj wrote:

> Thanks, Sudip! And for last two messages I did make use of mutt, I don't
> know why doesn't it show up.
> And, does this mean that every time I compile, I must use allmodconfig?

You have top posted again.  Once you make allmodconfig, it should be good
enough to leave it as is, at least until you update your kernel and get a
new Kconfig file.

julia

> Thank you
>
> On Friday, October 2, 2015 at 6:29:15 PM UTC+5:30, Sudip Mukherjee wrote:
>       On Fri, Oct 02, 2015 at 05:01:06AM -0700, Shivani Bhardwaj
>       wrote:
>       > Hi Sudeep! I'm having trouble with inline mode of
>       communication, I think
>       > I'm doing it wrong. I'm not getting exactly difference between
>       top-post and
>       > inline way, I've been warned about this before as well. I'll
>       learn as soon
>       > as possible. I've sent my .config file. You can check it.
>       Ok, now I understand why you are getting the warning. :)
>       In your .config CONFIG_STAGING_BOARD is not selected. So
>       staging/board
>       is not included in the build and as a result the modules on
>       which board
>       is dependent are also not built. So in this scenario when you
>       try to do
>       make M=drivers/staging/board it gives warning. To test properly
>       try with
>       make allmodconfig.
>
>       regards
>       sudip
>
> --
> You received this message because you are subscribed to the Google Groups
> "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/71611fa2-5d15-4032-bd55-
> b7991ea55a5b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>


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

* Re: [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-04 12:59             ` Julia Lawall
@ 2015-10-06  4:08               ` Shivani Bhardwaj
  2015-10-06  4:43                 ` Shivani Bhardwaj
  0 siblings, 1 reply; 21+ messages in thread
From: Shivani Bhardwaj @ 2015-10-06  4:08 UTC (permalink / raw)
  To: outreachy-kernel

On Sun, Oct 04, 2015 at 02:59:17PM +0200, Julia Lawall wrote:
> On Sun, 4 Oct 2015, Shivani Bhardwaj wrote:
> 
>>>
>>> Hi Julia, Sudip! I think after I have used make allmodconfig,
>>> something is not working right. Now, when I use sparse, it shows
>>> messages and warnings for arch/ and include/ , is this dues to some
>>> change in configuration file? Please respond. 
>>> Thank you!
>>>
> > Thanks, Sudip! And for last two messages I did make use of mutt, I don't
> > know why doesn't it show up.
> > And, does this mean that every time I compile, I must use allmodconfig?
> 
> You have top posted again.  Once you make allmodconfig, it should be good
> enough to leave it as is, at least until you update your kernel and get a
> new Kconfig file.
> 
> julia
> 
> > Thank you
> >
> > On Friday, October 2, 2015 at 6:29:15 PM UTC+5:30, Sudip Mukherjee wrote:
> >       On Fri, Oct 02, 2015 at 05:01:06AM -0700, Shivani Bhardwaj
> >       wrote:
> >       > Hi Sudeep! I'm having trouble with inline mode of
> >       communication, I think
> >       > I'm doing it wrong. I'm not getting exactly difference between
> >       top-post and
> >       > inline way, I've been warned about this before as well. I'll
> >       learn as soon
> >       > as possible. I've sent my .config file. You can check it.
> >       Ok, now I understand why you are getting the warning. :)
> >       In your .config CONFIG_STAGING_BOARD is not selected. So
> >       staging/board
> >       is not included in the build and as a result the modules on
> >       which board
> >       is dependent are also not built. So in this scenario when you
> >       try to do
> >       make M=drivers/staging/board it gives warning. To test properly
> >       try with
> >       make allmodconfig.
> >
> >       regards
> >       sudip
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "outreachy-kernel" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to outreachy-kernel+unsubscribe@googlegroups.com.
> > To post to this group, send email to outreachy-kernel@googlegroups.com.
> > To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/71611fa2-5d15-4032-bd55-
> > b7991ea55a5b%40googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
> >
> >


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

* Re: [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-06  4:08               ` Shivani Bhardwaj
@ 2015-10-06  4:43                 ` Shivani Bhardwaj
  2015-10-06  4:53                   ` Vaishali Thakkar
                                     ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Shivani Bhardwaj @ 2015-10-06  4:43 UTC (permalink / raw)
  To: outreachy-kernel


[-- Attachment #1.1: Type: text/plain, Size: 2765 bytes --]


Done. Seems like those folders didn't have much to compile, only one file 
whose dependencies were compiled.
Thank you
On Tuesday, October 6, 2015 at 9:38:25 AM UTC+5:30, Shivani Bhardwaj wrote:
>
> On Sun, Oct 04, 2015 at 02:59:17PM +0200, Julia Lawall wrote: 
> > On Sun, 4 Oct 2015, Shivani Bhardwaj wrote: 
> > 
> >>> 
> >>> Hi Julia, Sudip! I think after I have used make allmodconfig, 
> >>> something is not working right. Now, when I use sparse, it shows 
> >>> messages and warnings for arch/ and include/ , is this dues to some 
> >>> change in configuration file? Please respond. 
> >>> Thank you! 
> >>> 
> > > Thanks, Sudip! And for last two messages I did make use of mutt, I 
> don't 
> > > know why doesn't it show up. 
> > > And, does this mean that every time I compile, I must use 
> allmodconfig? 
> > 
> > You have top posted again.  Once you make allmodconfig, it should be 
> good 
> > enough to leave it as is, at least until you update your kernel and get 
> a 
> > new Kconfig file. 
> > 
> > julia 
> > 
> > > Thank you 
> > > 
> > > On Friday, October 2, 2015 at 6:29:15 PM UTC+5:30, Sudip Mukherjee 
> wrote: 
> > >       On Fri, Oct 02, 2015 at 05:01:06AM -0700, Shivani Bhardwaj 
> > >       wrote: 
> > >       > Hi Sudeep! I'm having trouble with inline mode of 
> > >       communication, I think 
> > >       > I'm doing it wrong. I'm not getting exactly difference between 
> > >       top-post and 
> > >       > inline way, I've been warned about this before as well. I'll 
> > >       learn as soon 
> > >       > as possible. I've sent my .config file. You can check it. 
> > >       Ok, now I understand why you are getting the warning. :) 
> > >       In your .config CONFIG_STAGING_BOARD is not selected. So 
> > >       staging/board 
> > >       is not included in the build and as a result the modules on 
> > >       which board 
> > >       is dependent are also not built. So in this scenario when you 
> > >       try to do 
> > >       make M=drivers/staging/board it gives warning. To test properly 
> > >       try with 
> > >       make allmodconfig. 
> > > 
> > >       regards 
> > >       sudip 
> > > 
> > > -- 
> > > You received this message because you are subscribed to the Google 
> Groups 
> > > "outreachy-kernel" group. 
> > > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > > email to outreachy-kernel+unsubscribe@googlegroups.com. 
> > > To post to this group, send email to outreachy-kernel@googlegroups.com. 
>
> > > To view this discussion on the web visithttps://
> groups.google.com/d/msgid/outreachy-kernel/71611fa2-5d15-4032-bd55- 
> > > b7991ea55a5b%40googlegroups.com. 
> > > For more options, visit https://groups.google.com/d/optout. 
> > > 
> > > 
>

[-- Attachment #1.2: Type: text/html, Size: 3873 bytes --]

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

* Re: [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-06  4:43                 ` Shivani Bhardwaj
@ 2015-10-06  4:53                   ` Vaishali Thakkar
  2015-10-06  5:00                   ` Julia Lawall
  2015-10-06  5:01                   ` Sudip Mukherjee
  2 siblings, 0 replies; 21+ messages in thread
From: Vaishali Thakkar @ 2015-10-06  4:53 UTC (permalink / raw)
  To: Shivani Bhardwaj; +Cc: outreachy-kernel

On Tue, Oct 6, 2015 at 10:13 AM, Shivani Bhardwaj <shivanib134@gmail.com> wrote:
>
> Done. Seems like those folders didn't have much to compile, only one file
> whose dependencies were compiled.
> Thank you

Hi,

You top posted again even after the explanation from Sudip. :(

Please don't do this. Read this:
http://kernelnewbies.org/mailinglistguidelines

And consider the following line:

'Please do not TOP POST. On almost all open source mailing list
top-posting is considered RUDE.'

Thank you.

> On Tuesday, October 6, 2015 at 9:38:25 AM UTC+5:30, Shivani Bhardwaj wrote:
>>
>> On Sun, Oct 04, 2015 at 02:59:17PM +0200, Julia Lawall wrote:
>> > On Sun, 4 Oct 2015, Shivani Bhardwaj wrote:
>> >
>> >>>
>> >>> Hi Julia, Sudip! I think after I have used make allmodconfig,
>> >>> something is not working right. Now, when I use sparse, it shows
>> >>> messages and warnings for arch/ and include/ , is this dues to some
>> >>> change in configuration file? Please respond.
>> >>> Thank you!
>> >>>
>> > > Thanks, Sudip! And for last two messages I did make use of mutt, I
>> > > don't
>> > > know why doesn't it show up.
>> > > And, does this mean that every time I compile, I must use
>> > > allmodconfig?
>> >
>> > You have top posted again.  Once you make allmodconfig, it should be
>> > good
>> > enough to leave it as is, at least until you update your kernel and get
>> > a
>> > new Kconfig file.
>> >
>> > julia
>> >
>> > > Thank you
>> > >
>> > > On Friday, October 2, 2015 at 6:29:15 PM UTC+5:30, Sudip Mukherjee
>> > > wrote:
>> > >       On Fri, Oct 02, 2015 at 05:01:06AM -0700, Shivani Bhardwaj
>> > >       wrote:
>> > >       > Hi Sudeep! I'm having trouble with inline mode of
>> > >       communication, I think
>> > >       > I'm doing it wrong. I'm not getting exactly difference between
>> > >       top-post and
>> > >       > inline way, I've been warned about this before as well. I'll
>> > >       learn as soon
>> > >       > as possible. I've sent my .config file. You can check it.
>> > >       Ok, now I understand why you are getting the warning. :)
>> > >       In your .config CONFIG_STAGING_BOARD is not selected. So
>> > >       staging/board
>> > >       is not included in the build and as a result the modules on
>> > >       which board
>> > >       is dependent are also not built. So in this scenario when you
>> > >       try to do
>> > >       make M=drivers/staging/board it gives warning. To test properly
>> > >       try with
>> > >       make allmodconfig.
>> > >
>> > >       regards
>> > >       sudip
>> > >
>> > > --
>> > > You received this message because you are subscribed to the Google
>> > > Groups
>> > > "outreachy-kernel" group.
>> > > To unsubscribe from this group and stop receiving emails from it, send
>> > > an
>> > > email to outreachy-kernel+unsubscribe@googlegroups.com.
>> > > To post to this group, send email to
>> > > outreachy-kernel@googlegroups.com.
>> > > To view this discussion on the web
>> > > visithttps://groups.google.com/d/msgid/outreachy-kernel/71611fa2-5d15-4032-bd55-
>> > > b7991ea55a5b%40googlegroups.com.
>> > > For more options, visit https://groups.google.com/d/optout.
>> > >
>> > >
>
> --
> You received this message because you are subscribed to the Google Groups
> "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/outreachy-kernel/c6724038-bdcb-4813-b49b-22b9d8f5af2b%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



-- 
Vaishali


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

* Re: [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-06  4:43                 ` Shivani Bhardwaj
  2015-10-06  4:53                   ` Vaishali Thakkar
@ 2015-10-06  5:00                   ` Julia Lawall
  2015-10-06  5:09                     ` Sudip Mukherjee
  2015-10-06  5:01                   ` Sudip Mukherjee
  2 siblings, 1 reply; 21+ messages in thread
From: Julia Lawall @ 2015-10-06  5:00 UTC (permalink / raw)
  To: Shivani Bhardwaj; +Cc: outreachy-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 4160 bytes --]

On Mon, 5 Oct 2015, Shivani Bhardwaj wrote:

>
> Done. Seems like those folders didn't have much to compile, only one file whose dependencies were compiled.

Before you send a patch, at least check that you have a .o file or the .c
file that is affected by your patch.  You can also compile by saying make
path/to/file.o.  The only risk with that method is that it won't find
missing dependencies between files, if you eg change a function name in
one place but not everywhere that it is used.  But changes inside
functions often don't relate to that.  And with make path/to/file.o you
will see immediately if it is able to compile your file.

julia

> Thank you
> On Tuesday, October 6, 2015 at 9:38:25 AM UTC+5:30, Shivani Bhardwaj wrote:
>       On Sun, Oct 04, 2015 at 02:59:17PM +0200, Julia Lawall wrote:
>       > On Sun, 4 Oct 2015, Shivani Bhardwaj wrote:
>       >
>       >>>
>       >>> Hi Julia, Sudip! I think after I have used make allmodconfig,
>       >>> something is not working right. Now, when I use sparse, it shows
>       >>> messages and warnings for arch/ and include/ , is this dues to some
>       >>> change in configuration file? Please respond.
>       >>> Thank you!
>       >>>
>       > > Thanks, Sudip! And for last two messages I did make use of mutt, I don't
>       > > know why doesn't it show up.
>       > > And, does this mean that every time I compile, I must use allmodconfig?
>       >
>       > You have top posted again.  Once you make allmodconfig, it should be good
>       > enough to leave it as is, at least until you update your kernel and get a
>       > new Kconfig file.
>       >
>       > julia
>       >
>       > > Thank you
>       > >
>       > > On Friday, October 2, 2015 at 6:29:15 PM UTC+5:30, Sudip Mukherjee wrote:
>       > >       On Fri, Oct 02, 2015 at 05:01:06AM -0700, Shivani Bhardwaj
>       > >       wrote:
>       > >       > Hi Sudeep! I'm having trouble with inline mode of
>       > >       communication, I think
>       > >       > I'm doing it wrong. I'm not getting exactly difference between
>       > >       top-post and
>       > >       > inline way, I've been warned about this before as well. I'll
>       > >       learn as soon
>       > >       > as possible. I've sent my .config file. You can check it.
>       > >       Ok, now I understand why you are getting the warning. :)
>       > >       In your .config CONFIG_STAGING_BOARD is not selected. So
>       > >       staging/board
>       > >       is not included in the build and as a result the modules on
>       > >       which board
>       > >       is dependent are also not built. So in this scenario when you
>       > >       try to do
>       > >       make M=drivers/staging/board it gives warning. To test properly
>       > >       try with
>       > >       make allmodconfig.
>       > >
>       > >       regards
>       > >       sudip
>       > >
>       > > --
>       > > You received this message because you are subscribed to the Google Groups
>       > > "outreachy-kernel" group.
>       > > To unsubscribe from this group and stop receiving emails from it, send an
>       > > email to outreachy-kernel+unsubscribe@googlegroups.com.
>       > > To post to this group, send email to outreachy-kernel@googlegroups.com.
>       > > To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/71611fa2-5d15-4032-bd55-
>       > > b7991ea55a5b%40googlegroups.com.
>       > > For more options, visit https://groups.google.com/d/optout.
>       > >
>       > >
>
> --
> You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/c6724038-bdcb-4813-b49b-22b9d8f5af2b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>

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

* Re: [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-06  4:43                 ` Shivani Bhardwaj
  2015-10-06  4:53                   ` Vaishali Thakkar
  2015-10-06  5:00                   ` Julia Lawall
@ 2015-10-06  5:01                   ` Sudip Mukherjee
  2 siblings, 0 replies; 21+ messages in thread
From: Sudip Mukherjee @ 2015-10-06  5:01 UTC (permalink / raw)
  To: Shivani Bhardwaj; +Cc: outreachy-kernel

On Mon, Oct 05, 2015 at 09:43:52PM -0700, Shivani Bhardwaj wrote:
> 
> Done. Seems like those folders didn't have much to compile, only one file 
> whose dependencies were compiled.

Top posting.. :(

It will not recompile if the .o files are already there and .c files
have not been modified. So if you want to recompile all files do make clean
or much better make distclean. make distclean will clean everything even
your .config file also. But usually when I am working or checking patches
for staging I will just do make clean M=drivers/staging , so it will just
clean staging and now when you make again it will compile all files in
staging which are in your .config.
With sparse if you use C=2 then it will recompile even .o files are
there, but with C=1 the default behaviour of not compiling will take
effect.

regard
sudip


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

* Re: [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-06  5:00                   ` Julia Lawall
@ 2015-10-06  5:09                     ` Sudip Mukherjee
  2015-10-07  0:47                       ` Shivani Bhardwaj
  0 siblings, 1 reply; 21+ messages in thread
From: Sudip Mukherjee @ 2015-10-06  5:09 UTC (permalink / raw)
  To: Julia Lawall; +Cc: Shivani Bhardwaj, outreachy-kernel

On Tue, Oct 06, 2015 at 06:00:23AM +0100, Julia Lawall wrote:
> On Mon, 5 Oct 2015, Shivani Bhardwaj wrote:
> 
> >
> > Done. Seems like those folders didn't have much to compile, only one file whose dependencies were compiled.
> 
> Before you send a patch, at least check that you have a .o file or the .c
> file that is affected by your patch.  You can also compile by saying make
> path/to/file.o.  The only risk with that method is that it won't find
> missing dependencies between files, if you eg change a function name in
> one place but not everywhere that it is used.  But changes inside
> functions often don't relate to that.  And with make path/to/file.o you
> will see immediately if it is able to compile your file.

Usually I will compile the whole folder. Suppose I change something in
unisys and I want to check it, I will do:
make clean M=drivers/staging/unisys
make M=drivers/staging/unisys

regards
sudip


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

* Re: [Outreachy kernel] [PATCH] Staging: board: Fixed the error for implicit declaration of function
  2015-10-06  5:09                     ` Sudip Mukherjee
@ 2015-10-07  0:47                       ` Shivani Bhardwaj
  0 siblings, 0 replies; 21+ messages in thread
From: Shivani Bhardwaj @ 2015-10-07  0:47 UTC (permalink / raw)
  To: outreachy-kernel

On Tue, Oct 6, 2015 at 10:39 AM, Sudip Mukherjee
<sudipm.mukherjee@gmail.com> wrote:
> On Tue, Oct 06, 2015 at 06:00:23AM +0100, Julia Lawall wrote:
>> On Mon, 5 Oct 2015, Shivani Bhardwaj wrote:
>
> Thank you, Sudeep! :)
>
>>
>> >
>> > Done. Seems like those folders didn't have much to compile, only one file whose dependencies were compiled.
>>
>> Before you send a patch, at least check that you have a .o file or the .c
>> file that is affected by your patch.  You can also compile by saying make
>> path/to/file.o.  The only risk with that method is that it won't find
>> missing dependencies between files, if you eg change a function name in
>> one place but not everywhere that it is used.  But changes inside
>> functions often don't relate to that.  And with make path/to/file.o you
>> will see immediately if it is able to compile your file.
>
> Usually I will compile the whole folder. Suppose I change something in
> unisys and I want to check it, I will do:
> make clean M=drivers/staging/unisys
> make M=drivers/staging/unisys
>
> regards
> sudip


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

end of thread, other threads:[~2015-10-07  0:47 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-02  4:06 [PATCH] Staging: board: Fixed the error for implicit declaration of function Shivani Bhardwaj
2015-10-02  8:00 ` [Outreachy kernel] " Julia Lawall
2015-10-02  8:09   ` Shivani Bhardwaj
2015-10-02  9:09     ` Julia Lawall
2015-10-02 10:28     ` Sudip Mukherjee
2015-10-02 11:50       ` Shivani Bhardwaj
2015-10-02 12:01       ` Shivani Bhardwaj
2015-10-02 12:14         ` Sudip Mukherjee
2015-10-02 12:59         ` Sudip Mukherjee
2015-10-04 10:19           ` Shivani Bhardwaj
2015-10-04 12:59             ` Julia Lawall
2015-10-06  4:08               ` Shivani Bhardwaj
2015-10-06  4:43                 ` Shivani Bhardwaj
2015-10-06  4:53                   ` Vaishali Thakkar
2015-10-06  5:00                   ` Julia Lawall
2015-10-06  5:09                     ` Sudip Mukherjee
2015-10-07  0:47                       ` Shivani Bhardwaj
2015-10-06  5:01                   ` Sudip Mukherjee
2015-10-02 10:00 ` Shivani Bhardwaj
2015-10-02 11:19   ` [Outreachy kernel] " Julia Lawall
2015-10-02 11:57     ` Shivani Bhardwaj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.