Re: [PATCH] staging: rtl8192u: Align descendant arguments

From: Dan Carpenter
Date: Mon Oct 16 2023 - 01:39:27 EST


On Sun, Oct 15, 2023 at 08:44:18AM +0100, Gilbert Adikankwu wrote:
> diff --git a/drivers/staging/rtl8192u/r8190_rtl8256.c b/drivers/staging/rtl8192u/r8190_rtl8256.c
> index 54747fda552f..a81e88894e01 100644
> --- a/drivers/staging/rtl8192u/r8190_rtl8256.c
> +++ b/drivers/staging/rtl8192u/r8190_rtl8256.c
> @@ -46,17 +46,17 @@ void phy_set_rf8256_bandwidth(struct net_device *dev, enum ht_channel_width Band
> priv->card_8192_version == VERSION_819XU_B) {
> /* 8256 D-cut, E-cut, xiong: consider it later! */
> rtl8192_phy_SetRFReg(dev,
> - (enum rf90_radio_path_e)eRFPath,
> - 0x0b, bMask12Bits, 0x100); /* phy para:1ba */
> + (enum rf90_radio_path_e)eRFPath,
> + 0x0b, bMask12Bits, 0x100); /* phy para:1ba */

These ones go too long indented like this. The other sections are fine
but just leave leave this file as it was.

regards,
dan carpenter

> rtl8192_phy_SetRFReg(dev,
> - (enum rf90_radio_path_e)eRFPath,
> - 0x2c, bMask12Bits, 0x3d7);
> + (enum rf90_radio_path_e)eRFPath,
> + 0x2c, bMask12Bits, 0x3d7);
> rtl8192_phy_SetRFReg(dev,
> - (enum rf90_radio_path_e)eRFPath,
> - 0x0e, bMask12Bits, 0x021);
> + (enum rf90_radio_path_e)eRFPath,
> + 0x0e, bMask12Bits, 0x021);
> rtl8192_phy_SetRFReg(dev,
> - (enum rf90_radio_path_e)eRFPath,
> - 0x14, bMask12Bits, 0x5ab);
> + (enum rf90_radio_path_e)eRFPath,
> + 0x14, bMask12Bits, 0x5ab);
> } else {
> RT_TRACE(COMP_ERR, "%s(): unknown hardware version\n", __func__);
> }