RE: [PATCH v1] ufs: fix a bug of wrong usage of test_and_set_bit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
> 
> Just a number should have been used, not a shifted value.
> 
> Signed-off-by: Kiwoong Kim <kwmad.kim@xxxxxxxxxxx>
Reviewed-by: Avri Altman <avri.altman@xxxxxxx>

Sorry for not catching this earlier.
Thanks,
Avri

> ---
>  drivers/scsi/ufs/ufs-exynos.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/scsi/ufs/ufs-exynos.h b/drivers/scsi/ufs/ufs-exynos.h
> index a91656c..032bb50 100644
> --- a/drivers/scsi/ufs/ufs-exynos.h
> +++ b/drivers/scsi/ufs/ufs-exynos.h
> @@ -216,7 +216,7 @@ struct exynos_ufs {
> 
>         struct ufs_exynos_handle handle;
>         unsigned long dbg_flag;
> -#define EXYNOS_UFS_DBG_DUMP_CXT                        BIT(0)
> +#define EXYNOS_UFS_DBG_DUMP_CXT                        0
>  };
> 
>  #define for_each_ufs_rx_lane(ufs, i) \
> --
> 2.7.4





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux