Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1605811 > unrolled thread
| Started by | Prasant Jalan <prasant.jalan@gmail.com> |
|---|---|
| First post | 2017-03-21 18:00 +0100 |
| Last post | 2017-03-21 20:10 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] drivers: staging: vt6656: fxed coding style errors Prasant Jalan <prasant.jalan@gmail.com> - 2017-03-21 18:00 +0100
Re: [PATCH] drivers: staging: vt6656: fxed coding style errors Greg KH <gregkh@linuxfoundation.org> - 2017-03-21 19:40 +0100
[PATCH v2] drivers: staging: vt6656: fixed coding style errors Prasant Jalan <prasant.jalan@gmail.com> - 2017-03-21 20:10 +0100
| From | Prasant Jalan <prasant.jalan@gmail.com> |
|---|---|
| Date | 2017-03-21 18:00 +0100 |
| Subject | [PATCH] drivers: staging: vt6656: fxed coding style errors |
| Message-ID | <tnviy-5Yp-7@gated-at.bofh.it> |
This patch replaces spaces with tabs for indentation as per kernel coding standards. Signed-off-by: Prasant Jalan <prasant.jalan@gmail.com> --- drivers/staging/vt6656/rf.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/vt6656/rf.c b/drivers/staging/vt6656/rf.c index 068c1c8..f69bced 100644 --- a/drivers/staging/vt6656/rf.c +++ b/drivers/staging/vt6656/rf.c @@ -876,7 +876,7 @@ void vnt_rf_table_download(struct vnt_private *priv) memcpy(array, addr1, length1); vnt_control_out(priv, MESSAGE_TYPE_WRITE, 0, - MESSAGE_REQUEST_RF_INIT, length1, array); + MESSAGE_REQUEST_RF_INIT, length1, array); /* Channel Table 0 */ value = 0; @@ -889,7 +889,7 @@ void vnt_rf_table_download(struct vnt_private *priv) memcpy(array, addr2, length); vnt_control_out(priv, MESSAGE_TYPE_WRITE, - value, MESSAGE_REQUEST_RF_CH0, length, array); + value, MESSAGE_REQUEST_RF_CH0, length, array); length2 -= length; value += length; @@ -907,7 +907,7 @@ void vnt_rf_table_download(struct vnt_private *priv) memcpy(array, addr3, length); vnt_control_out(priv, MESSAGE_TYPE_WRITE, - value, MESSAGE_REQUEST_RF_CH1, length, array); + value, MESSAGE_REQUEST_RF_CH1, length, array); length3 -= length; value += length; @@ -924,7 +924,7 @@ void vnt_rf_table_download(struct vnt_private *priv) /* Init Table 2 */ vnt_control_out(priv, MESSAGE_TYPE_WRITE, - 0, MESSAGE_REQUEST_RF_INIT2, length1, array); + 0, MESSAGE_REQUEST_RF_INIT2, length1, array); /* Channel Table 0 */ value = 0; @@ -937,7 +937,7 @@ void vnt_rf_table_download(struct vnt_private *priv) memcpy(array, addr2, length); vnt_control_out(priv, MESSAGE_TYPE_WRITE, - value, MESSAGE_REQUEST_RF_CH2, length, array); + value, MESSAGE_REQUEST_RF_CH2, length, array); length2 -= length; value += length; -- 2.7.4
[toc] | [next] | [standalone]
| From | Greg KH <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2017-03-21 19:40 +0100 |
| Message-ID | <tnwRk-779-27@gated-at.bofh.it> |
| In reply to | #1605811 |
On Tue, Mar 21, 2017 at 10:25:40PM +0530, Prasant Jalan wrote: > This patch replaces spaces with tabs for indentation as per kernel > coding standards. > > Signed-off-by: Prasant Jalan <prasant.jalan@gmail.com> > --- > drivers/staging/vt6656/rf.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/staging/vt6656/rf.c b/drivers/staging/vt6656/rf.c > index 068c1c8..f69bced 100644 > --- a/drivers/staging/vt6656/rf.c > +++ b/drivers/staging/vt6656/rf.c > @@ -876,7 +876,7 @@ void vnt_rf_table_download(struct vnt_private *priv) > memcpy(array, addr1, length1); > > vnt_control_out(priv, MESSAGE_TYPE_WRITE, 0, > - MESSAGE_REQUEST_RF_INIT, length1, array); > + MESSAGE_REQUEST_RF_INIT, length1, array); > > /* Channel Table 0 */ > value = 0; > @@ -889,7 +889,7 @@ void vnt_rf_table_download(struct vnt_private *priv) > memcpy(array, addr2, length); > > vnt_control_out(priv, MESSAGE_TYPE_WRITE, > - value, MESSAGE_REQUEST_RF_CH0, length, array); > + value, MESSAGE_REQUEST_RF_CH0, length, array); > > length2 -= length; > value += length; > @@ -907,7 +907,7 @@ void vnt_rf_table_download(struct vnt_private *priv) > memcpy(array, addr3, length); > > vnt_control_out(priv, MESSAGE_TYPE_WRITE, > - value, MESSAGE_REQUEST_RF_CH1, length, array); > + value, MESSAGE_REQUEST_RF_CH1, length, array); > > length3 -= length; > value += length; > @@ -924,7 +924,7 @@ void vnt_rf_table_download(struct vnt_private *priv) > > /* Init Table 2 */ > vnt_control_out(priv, MESSAGE_TYPE_WRITE, > - 0, MESSAGE_REQUEST_RF_INIT2, length1, array); > + 0, MESSAGE_REQUEST_RF_INIT2, length1, array); > > /* Channel Table 0 */ > value = 0; > @@ -937,7 +937,7 @@ void vnt_rf_table_download(struct vnt_private *priv) > memcpy(array, addr2, length); > > vnt_control_out(priv, MESSAGE_TYPE_WRITE, > - value, MESSAGE_REQUEST_RF_CH2, length, array); > + value, MESSAGE_REQUEST_RF_CH2, length, array); Why make this last change? It's now not indented properly :( thanks, greg k-h
[toc] | [prev] | [next] | [standalone]
| From | Prasant Jalan <prasant.jalan@gmail.com> |
|---|---|
| Date | 2017-03-21 20:10 +0100 |
| Subject | [PATCH v2] drivers: staging: vt6656: fixed coding style errors |
| Message-ID | <tnxkl-7xz-9@gated-at.bofh.it> |
| In reply to | #1605887 |
This patch replaces spaces with tabs for indentation as per kernel coding standards. Signed-off-by: Prasant Jalan <prasant.jalan@gmail.com> --- drivers/staging/vt6656/rf.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/staging/vt6656/rf.c b/drivers/staging/vt6656/rf.c index 068c1c8..0e3a62a 100644 --- a/drivers/staging/vt6656/rf.c +++ b/drivers/staging/vt6656/rf.c @@ -876,7 +876,7 @@ void vnt_rf_table_download(struct vnt_private *priv) memcpy(array, addr1, length1); vnt_control_out(priv, MESSAGE_TYPE_WRITE, 0, - MESSAGE_REQUEST_RF_INIT, length1, array); + MESSAGE_REQUEST_RF_INIT, length1, array); /* Channel Table 0 */ value = 0; @@ -889,7 +889,7 @@ void vnt_rf_table_download(struct vnt_private *priv) memcpy(array, addr2, length); vnt_control_out(priv, MESSAGE_TYPE_WRITE, - value, MESSAGE_REQUEST_RF_CH0, length, array); + value, MESSAGE_REQUEST_RF_CH0, length, array); length2 -= length; value += length; @@ -907,7 +907,7 @@ void vnt_rf_table_download(struct vnt_private *priv) memcpy(array, addr3, length); vnt_control_out(priv, MESSAGE_TYPE_WRITE, - value, MESSAGE_REQUEST_RF_CH1, length, array); + value, MESSAGE_REQUEST_RF_CH1, length, array); length3 -= length; value += length; @@ -924,7 +924,7 @@ void vnt_rf_table_download(struct vnt_private *priv) /* Init Table 2 */ vnt_control_out(priv, MESSAGE_TYPE_WRITE, - 0, MESSAGE_REQUEST_RF_INIT2, length1, array); + 0, MESSAGE_REQUEST_RF_INIT2, length1, array); /* Channel Table 0 */ value = 0; @@ -937,7 +937,8 @@ void vnt_rf_table_download(struct vnt_private *priv) memcpy(array, addr2, length); vnt_control_out(priv, MESSAGE_TYPE_WRITE, - value, MESSAGE_REQUEST_RF_CH2, length, array); + value, MESSAGE_REQUEST_RF_CH2, length, + array); length2 -= length; value += length; -- 2.7.4
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web