Submitted a first patch and no reply

shirish gajera gajerashirish at gmail.com
Thu Jan 8 15:37:15 EST 2015


Hi,

Actually on the website it's return that

Pick a warning, and try to fix it. For your first patch, only pick one
warning. In the future you can group multiple changes into one patch, but
only if you follow the PatchPhilosophy
<http://kernelnewbies.org/PatchPhilosophy> of breaking each patch into
logical changes.


That's hwy I just fix one warning.


Please let me know if I can fix more than one warning in my first patch.


Thanks,

Shirish

On Thu, Jan 8, 2015 at 12:32 PM, <Valdis.Kletnieks at vt.edu> wrote:

> On Thu, 08 Jan 2015 12:00:07 -0800, shirish gajera said:
>
> > WARNING: Single statement macros should not use a do {} while (0) loop
> >
> > I have added single statement in curly braces, because it was giving
> > me "WARNING: macros should not use a trailing semicolon".
> >
> > Signed-off-by: Shirish Gajera <gajerashirish at gmail.com>
> > ---
> >  drivers/staging/skein/skein_block.c | 8 ++++----
> >  1 file changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/drivers/staging/skein/skein_block.c
> > b/drivers/staging/skein/skein_block.c
> > index 66261ab..5f46cd6 100644
> > --- a/drivers/staging/skein/skein_block.c
> > +++ b/drivers/staging/skein/skein_block.c
> > @@ -82,10 +82,10 @@ do {
> >                   \
> >  } while (0)
> >  #else
> >  /* looping version */
> > -#define R256(p0, p1, p2, p3, ROT, r_num) \
>
> Why did you not fix the definition of R256 in the other half of
> the "#if SKEIN_UNROLL_256 == 0" code?  Or the definitions for R512
> and R1024?  You cleaned up one case, and left another 5 cases alone....
>
> (This is part of why blindly fixing checkpatch complaints without actually
> looking at the code and understanding isn't always a good thing)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150108/1b171d6d/attachment.html 


More information about the Kernelnewbies mailing list