lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 16 Dec 2020 12:33:14 -0600
From:   Bjorn Andersson <bjorn.andersson@...aro.org>
To:     Zheng Yongjun <zhengyongjun3@...wei.com>
Cc:     agross@...nel.org, srinivas.kandagatla@...aro.org,
        linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] nvmem: convert comma to semicolon

On Wed 16 Dec 07:28 CST 2020, Zheng Yongjun wrote:

> Replace a comma between expression statements by a semicolon.
> 

Reviewed-by: Bjorn Andersson <bjorn.andersson@...aro.org>

> Signed-off-by: Zheng Yongjun <zhengyongjun3@...wei.com>
> ---
>  drivers/nvmem/qcom-spmi-sdam.c | 2 +-
>  drivers/nvmem/snvs_lpgpr.c     | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/nvmem/qcom-spmi-sdam.c b/drivers/nvmem/qcom-spmi-sdam.c
> index a72704cd0468..b73783a04e22 100644
> --- a/drivers/nvmem/qcom-spmi-sdam.c
> +++ b/drivers/nvmem/qcom-spmi-sdam.c
> @@ -142,7 +142,7 @@ static int sdam_probe(struct platform_device *pdev)
>  	sdam->sdam_config.dev = &pdev->dev;
>  	sdam->sdam_config.name = "spmi_sdam";
>  	sdam->sdam_config.id = NVMEM_DEVID_AUTO;
> -	sdam->sdam_config.owner = THIS_MODULE,
> +	sdam->sdam_config.owner = THIS_MODULE;
>  	sdam->sdam_config.stride = 1;
>  	sdam->sdam_config.word_size = 1;
>  	sdam->sdam_config.reg_read = sdam_read;
> diff --git a/drivers/nvmem/snvs_lpgpr.c b/drivers/nvmem/snvs_lpgpr.c
> index c527d26ca6ac..4692aa985bd6 100644
> --- a/drivers/nvmem/snvs_lpgpr.c
> +++ b/drivers/nvmem/snvs_lpgpr.c
> @@ -123,7 +123,7 @@ static int snvs_lpgpr_probe(struct platform_device *pdev)
>  	cfg->dev = dev;
>  	cfg->stride = 4;
>  	cfg->word_size = 4;
> -	cfg->size = dcfg->size,
> +	cfg->size = dcfg->size;
>  	cfg->owner = THIS_MODULE;
>  	cfg->reg_read  = snvs_lpgpr_read;
>  	cfg->reg_write = snvs_lpgpr_write;
> -- 
> 2.22.0
> 

Powered by blists - more mailing lists