Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1663511
| From | Dan Carpenter <dan.carpenter@oracle.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 3/3] staging: rtl8188eu: Shorten lines over 80 chars |
| Date | 2017-06-12 15:40 +0200 |
| Message-ID | <tRxJv-2GO-7@gated-at.bofh.it> (permalink) |
| References | <tRxqa-2AI-11@gated-at.bofh.it> <tRxqb-2AI-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Jun 12, 2017 at 04:16:18PM +0300, Aviya Erenfeld wrote: > From: Aviya Erenfeld <aviyae42@gmail.com> No need for this, your email is set up correctly so it works fine as-is. > > Shorten lines over 80 chars > > Signed-off-by: Aviya Erenfeld <aviyae42@gmail.com> > --- > drivers/staging/rtl8188eu/core/rtw_sta_mgt.c | 58 +++++++++++++++++++--------- > 1 file changed, 39 insertions(+), 19 deletions(-) > > diff --git a/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c b/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c > index cd348ca..c924c9e 100644 > --- a/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c > +++ b/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c > @@ -68,7 +68,8 @@ u32 _rtw_init_sta_priv(struct sta_priv *pstapriv) > struct sta_info *psta; > s32 i; > > - pstapriv->pallocated_stainfo_buf = vzalloc(sizeof(struct sta_info) * NUM_STA + 4); > + pstapriv->pallocated_stainfo_buf = vzalloc(sizeof(struct sta_info) * > + NUM_STA + 4); None of these are aligned correctly. Run checkpatch.pl --strict over your patch. It should be something like: pstapriv->pallocated_stainfo_buf = vzalloc(sizeof(struct sta_info) * NUM_STA + 4); Also the patch is corrupted and doesn't apply. Read Documentation/process/email-clients.rst regards, dan carpenter
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/3] staging:rtl8188eu: fix some style issues Aviya Erenfeld <aviyae42@gmail.com> - 2017-06-12 15:20 +0200
[PATCH 2/3] staging: rtl8188eu: Remove unneeded blank lines Aviya Erenfeld <aviyae42@gmail.com> - 2017-06-12 15:20 +0200
[PATCH 1/3] staging: rtl8188eu: Remove redundant parenthesis Aviya Erenfeld <aviyae42@gmail.com> - 2017-06-12 15:20 +0200
[PATCH 3/3] staging: rtl8188eu: Shorten lines over 80 chars Aviya Erenfeld <aviyae42@gmail.com> - 2017-06-12 15:20 +0200
Re: [PATCH 3/3] staging: rtl8188eu: Shorten lines over 80 chars Dan Carpenter <dan.carpenter@oracle.com> - 2017-06-12 15:40 +0200
csiph-web