All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@lip6.fr>
To: sanjana99reddy99@gmail.com
Cc: outreachy-kernel <outreachy-kernel@googlegroups.com>
Subject: Re: [Outreachy kernel] [PATCH 2/3] staging: rtl8192u: r8192U_dm: Fix alignment issue.
Date: Tue, 19 Mar 2019 15:48:43 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.20.1903191548160.8263@hadrien> (raw)
In-Reply-To: <6e31cf7e-174d-4d81-b119-cb6498244ea3@googlegroups.com>

[-- Attachment #1: Type: text/plain, Size: 12166 bytes --]



On Tue, 19 Mar 2019, sanjana99reddy99@gmail.com wrote:

>
>
> On Tuesday, March 19, 2019 at 8:03:04 PM UTC+5:30, Julia Lawall wrote:
>
>
>       On Tue, 19 Mar 2019, Julia Lawall wrote:
>
>       >
>       >
>       > On Tue, 19 Mar 2019, Sanjana Sanikommu wrote:
>       >
>       > > Ajdust alignment to match open paranthesis.
>       > > Issue found by checkpatch.pl
>       > >
>       > > CHECK: Alignment should match open paranthesis.
>       > >
>       > > Signed-off-by: Sanjana Sanikommu <sanjana9...@gmail.com>
>       > > ---
>       > > ᅵdrivers/staging/rtl8192u/r8192U_dm.c | 20
>       ++++++++++----------
>       > > ᅵ1 file changed, 10 insertions(+), 10 deletions(-)
>       > >
>       > > diff --git a/drivers/staging/rtl8192u/r8192U_dm.c
>       b/drivers/staging/rtl8192u/r8192U_dm.c
>       > > index 4fe4c99a0880..8279fa721c74 100644
>       > > --- a/drivers/staging/rtl8192u/r8192U_dm.c
>       > > +++ b/drivers/staging/rtl8192u/r8192U_dm.c
>       > > @@ -1451,7 +1451,7 @@ static void
>       dm_CCKTxPowerAdjust_ThermalMeter(struct net_device *dev, bool
>       ᅵbInCH
>       > >
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵrtl8192_setBBreg(dev, rCCK0_TxFilter1,
>       bMaskHWord, TempVal);
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵRT_TRACE(COMP_POWER_TRACKING, "CCK chnl 14,
>       reg 0x%x = 0x%x\n",
>       > > -ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵrCCK0_TxFilter1, TempVal);
>       > > +ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ rCCK0_TxFilter1, TempVal);
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ/* Write 0xa24 ~ 0xa27 */
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵTempVal
>       =ᅵᅵᅵᅵᅵᅵᅵᅵCCKSwingTable_Ch14[priv->CCK_index][2] +
>       >
>       > Since you will be sending this series again, maybe you could
>       add another
>       > patch in the series to remove these big spaces between the =
>       and the array
>       > reference. ᅵI wonder if it is tab that should be a space, but
>       I'm not sure
>       > because the next line seems to be aligned according to this
>       big distance.
>
>       Oh well, it seems that you sent the new seris again already :)
>
>
> I missed your review. Should I correct and send them again? I would like to
> know.

It would be nice to do at some point, but perhaps get the current series
of patches accepted first.

julia

>
> Thank you Sanjanaᅵ
>
>       julia
>
>       >
>       > julia
>       >
>       > >ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ(CCKSwingTable_Ch14[priv->CCK_inde
>       x][3]<<8) +
>       > > @@ -1459,14 +1459,14 @@ static void
>       dm_CCKTxPowerAdjust_ThermalMeter(struct net_device *dev, bool
>       ᅵbInCH
>       > >ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ(CCKSwingTable_Ch14[priv->CCK_inde
>       x][5]<<24);
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵrtl8192_setBBreg(dev, rCCK0_TxFilter2,
>       bMaskDWord, TempVal);
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵRT_TRACE(COMP_POWER_TRACKING, "CCK chnl 14,
>       reg 0x%x = 0x%x\n",
>       > > -ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵrCCK0_TxFilter2, TempVal);
>       > > +ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ rCCK0_TxFilter2, TempVal);
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ/* Write 0xa28 ᅵ0xa29 */
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵTempVal
>       =ᅵᅵᅵᅵᅵᅵᅵᅵCCKSwingTable_Ch14[priv->CCK_index][6] +
>       > >ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ(CCKSwingTable_Ch14[priv->CCK_inde
>       x][7]<<8);
>       > >
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵrtl8192_setBBreg(dev, rCCK0_DebugPort,
>       bMaskLWord, TempVal);
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵRT_TRACE(COMP_POWER_TRACKING, "CCK chnl 14,
>       reg 0x%x = 0x%x\n",
>       > > -ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵrCCK0_DebugPort, TempVal);
>       > > +ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ rCCK0_DebugPort, TempVal);
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵ}
>       > > ᅵ}
>       > >
>       > > @@ -1517,7 +1517,7 @@ void
>       dm_restore_dynamic_mechanism_state(struct net_device *dev)
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵreturn;
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵ/* TODO: Only 11n mode is implemented currently, */
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵif (!(priv->ieee80211->mode == WIRELESS_MODE_N_24G
>       ||
>       > > -ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵpriv->ieee80211->mode ==
>       WIRELESS_MODE_N_5G))
>       > > +ᅵᅵᅵᅵᅵᅵᅵᅵ ᅵ ᅵ ᅵpriv->ieee80211->mode == WIRELESS_MODE_N_5G))
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵreturn;
>       > >
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵ{
>       > > @@ -1748,7 +1748,7 @@ static void
>       dm_ctrl_initgain_byrssi_by_fwfalse_alarm(
>       > >
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵ/* For smooth, we can not change DIG state. */
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵif ((priv->undecorated_smoothed_pwdb >
>       dm_digtable.rssi_low_thresh) &&
>       > > -ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ(priv->undecorated_smoothed_pwdb <
>       dm_digtable.rssi_high_thresh))
>       > > +ᅵᅵᅵᅵᅵᅵᅵᅵ ᅵ ᅵ(priv->undecorated_smoothed_pwdb <
>       dm_digtable.rssi_high_thresh))
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵreturn;
>       > >
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵ/*DbgPrint("Dig by Fw False Alarm\n");*/
>       > > @@ -1811,7 +1811,7 @@ static void
>       dm_ctrl_initgain_byrssi_by_fwfalse_alarm(
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵu8 reset_flag = 0;
>       > >
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵif (dm_digtable.dig_state == DM_STA_DIG_ON
>       &&
>       > > -ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ(priv->reset_count == reset_cnt)) {
>       > > +ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ ᅵ ᅵ(priv->reset_count == reset_cnt)) {
>       > >
>       ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵdm_ctrl_initgain_byrssi_highpwr(dev);
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵreturn;
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ}
>       > > @@ -1909,7 +1909,7 @@ static void
>       dm_ctrl_initgain_byrssi_highpwr(
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵ */
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵif (priv->undecorated_smoothed_pwdb >=
>       dm_digtable.rssi_high_power_highthresh) {
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵif (dm_digtable.dig_highpwr_state ==
>       DM_STA_DIG_ON &&
>       > > -ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ(priv->reset_count ==
>       reset_cnt_highpwr))
>       > > +ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ ᅵ ᅵ(priv->reset_count ==
>       reset_cnt_highpwr))
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵreturn;
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵdm_digtable.dig_highpwr_state =
>       DM_STA_DIG_ON;
>       > >
>       > > @@ -1925,7 +1925,7 @@ static void
>       dm_ctrl_initgain_byrssi_highpwr(
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵwrite_nic_byte(dev,
>       rOFDM0_RxDetector1, 0x43);
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵ} else {
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵif (dm_digtable.dig_highpwr_state ==
>       DM_STA_DIG_OFF &&
>       > > -ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ(priv->reset_count ==
>       reset_cnt_highpwr))
>       > > +ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ ᅵ ᅵ(priv->reset_count ==
>       reset_cnt_highpwr))
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵreturn;
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵdm_digtable.dig_highpwr_state =
>       DM_STA_DIG_OFF;
>       > >
>       > > @@ -2126,7 +2126,7 @@ staticᅵᅵᅵᅵᅵᅵᅵᅵvoid dm_cs_ratio(
>       > >
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵ{
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵif ((dm_digtable.precs_ratio_state !=
>       dm_digtable.curcs_ratio_state) ||
>       > > -ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ!initialized || force_write) {
>       > > +ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ ᅵ ᅵ!initialized || force_write) {
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ/*DbgPrint("Write CS_ratio state =
>       %d\n", DM_DigTable.CurCS_ratioState);*/
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵif (dm_digtable.curcs_ratio_state
>       == DIG_CS_RATIO_LOWER) {
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ/* ᅵLower CS ratio for CCK.
>       */
>       > > @@ -2643,7 +2643,7 @@ void dm_fsync_timer_callback(struct
>       timer_list *t)
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵboolᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵbDoubleTimeInterval = false;
>       > >
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵif (priv->ieee80211->state == IEEE80211_LINKED &&
>       > > -ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵpriv->ieee80211->bfsync_enable &&
>       > > +ᅵᅵᅵᅵᅵᅵᅵᅵ ᅵ ᅵpriv->ieee80211->bfsync_enable &&
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ(priv->ieee80211->pHTInfo->IOTAction &
>       HT_IOT_ACT_CDD_FSYNC)) {
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵ/* Count rate 54, MCS [7], [12, 13, 14, 15]
>       */
>       > > ᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵᅵu32 rate_bitmap;
>       > > --
>       > > 2.17.1
>       > >
>       > > --
>       > > 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/20190319141806.8592-1-sa
>       njana99reddy99%40gmail.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-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/alpine.DEB.2.20.19031915
>       30000.8263%40hadrien.
>       > 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/6e31cf7e-174d-4d81-b119-
> cb6498244ea3%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>

  reply	other threads:[~2019-03-19 14:48 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-19 14:14 [PATCH 0/3] Fix various warnings and checks Sanjana Sanikommu
2019-03-19 14:16 ` Greg KH
2019-03-19 14:22   ` sanjana99reddy99
2019-03-19 14:17 ` [PATCH 1/3] staging: rtl8192u: r8192U_dm: Remove unnecessary blank lines Sanjana Sanikommu
2019-03-19 14:18 ` [PATCH 2/3] staging: rtl8192u: r8192U_dm: Fix alignment issue Sanjana Sanikommu
2019-03-19 14:32   ` [Outreachy kernel] " Julia Lawall
2019-03-19 14:32     ` Julia Lawall
2019-03-19 14:36       ` sanjana99reddy99
2019-03-19 14:48         ` Julia Lawall [this message]
2019-03-19 14:19 ` [PATCH 3/3] staging: rtl8192u: r8192U: Fix space issue around operators Sanjana Sanikommu
2019-03-19 14:28 ` [PATCH v2 0/3] staging: rtl8192u: r8192U_dm: Fix various warnings and checks Sanjana Sanikommu
2019-03-19 14:30 ` [PATCH v2 1/3] staging: rtl8192u: r8192U_dm: Remove unnecessary blank lines Sanjana Sanikommu
2019-03-19 14:39   ` Greg KH
2019-03-19 14:31 ` [PATCH v2 2/3] staging: rtl8192u: r8192U_dm: Fix alignment issue Sanjana Sanikommu
2019-03-19 14:33 ` [PATCH v2 3/3] staging: rtl8192u: r8192U: Fix space issue around operators Sanjana Sanikommu
2019-03-19 15:22 ` [PATCH v3 0/3] staging: rtl8192u: r8192U_dm: Fix various checks Sanjana Sanikommu
2019-03-19 15:23 ` [PATCH v3 1/3] staging: rtl8192u: r8192U_dm: Fix alignment issue Sanjana Sanikommu
2019-03-19 15:25 ` [PATCH v3 2/3] staging: rtl8192u: r8192U_dm: Fix space issue around operators Sanjana Sanikommu
2019-03-19 15:26 ` [PATCH v3 3/3] staging: rtl8192u: r8192U_dm: Remove unnecessary blank lines Sanjana Sanikommu
2019-03-20  6:49   ` Greg KH
2019-03-20  7:45     ` Sanjana Sanikommu

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=alpine.DEB.2.20.1903191548160.8263@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=outreachy-kernel@googlegroups.com \
    --cc=sanjana99reddy99@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.