Re: [PATCH] ipmi:bt-bmc: Fix some format issue of the code
From: Corey Minyard
Date: Tue Apr 14 2020 - 15:42:03 EST
On Tue, Apr 14, 2020 at 10:18:14PM +0800, Tang Bin wrote:
> Fix some format issue of the code in bt-bmc.c
Applied, thanks.
-corey
>
> Signed-off-by: Tang Bin <tangbin@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Shengju Zhang <zhangshengju@xxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/char/ipmi/bt-bmc.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/char/ipmi/bt-bmc.c b/drivers/char/ipmi/bt-bmc.c
> index 890ad55aa..cd0349bff 100644
> --- a/drivers/char/ipmi/bt-bmc.c
> +++ b/drivers/char/ipmi/bt-bmc.c
> @@ -463,9 +463,9 @@ static int bt_bmc_probe(struct platform_device *pdev)
> init_waitqueue_head(&bt_bmc->queue);
>
> bt_bmc->miscdev.minor = MISC_DYNAMIC_MINOR,
> - bt_bmc->miscdev.name = DEVICE_NAME,
> - bt_bmc->miscdev.fops = &bt_bmc_fops,
> - bt_bmc->miscdev.parent = dev;
> + bt_bmc->miscdev.name = DEVICE_NAME,
> + bt_bmc->miscdev.fops = &bt_bmc_fops,
> + bt_bmc->miscdev.parent = dev;
> rc = misc_register(&bt_bmc->miscdev);
> if (rc) {
> dev_err(dev, "Unable to register misc device\n");
> --
> 2.20.1.windows.1
>
>
>