All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Shivani Bhardwaj <shivanib134@gmail.com>
Cc: outreachy-kernel@googlegroups.com
Subject: Re: [Outreachy kernel] [PATCH] Drivers: staging: wlan-ng: p80211conv: replaced functions for copying/comparing ethernet addresses
Date: Wed, 30 Sep 2015 03:57:16 +0200	[thread overview]
Message-ID: <20150930015716.GC8770@kroah.com> (raw)
In-Reply-To: <20150929221607.GA15184@ubuntu>

On Wed, Sep 30, 2015 at 03:46:08AM +0530, Shivani Bhardwaj wrote:
> Replaced the function memcpy() by ether_addr_copy() and, memcmp() by
> ether_addr_equal() as these functions are more preferable for copying
> and comparing the ethernet addresses respectively.
> Also fixed the issue of character limit of 80 per line and removed
> one unnecessary statement.

When you start listing "other" things you did in a patch, that's a huge
sign that you need to split this up into different patches.  Remember,
it's "only one thing per patch".

Also, you can't just do a search/replace for ether_addr_equal(),
otherwise we would have done that a long time ago.  You have to be able
to prove that this function will work properly, and that depends on
knowing the layout of the structure to ensure that everything is aligned
properly.  Look at how other people have made this change in the
drivers/staging/ tree in the past for the type of proof that I need in
order to accept this change.

thanks,

greg k-h


  reply	other threads:[~2015-09-30  2:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-29 22:16 [PATCH] Drivers: staging: wlan-ng: p80211conv: replaced functions for copying/comparing ethernet addresses Shivani Bhardwaj
2015-09-30  1:57 ` Greg KH [this message]
2015-09-30  5:16 ` [Outreachy kernel] " Julia Lawall
     [not found]   ` <CAKHNQQFv07V3NZdJk3CQQBjmUgdr-3viHh-pG-r7vfHidTKkdg@mail.gmail.com>
2015-09-30 18:07     ` Shivani Bhardwaj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150930015716.GC8770@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=outreachy-kernel@googlegroups.com \
    --cc=shivanib134@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.