[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOMZO5BirX4pS8BeXM4bydPMREBkLRvOtFtV2aS_-uY8RxdTaw@mail.gmail.com>
Date: Wed, 15 Jan 2014 22:13:40 -0200
From: Fabio Estevam <festevam@...il.com>
To: Joe Perches <joe@...ches.com>
Cc: Mark Brown <broonie@...nel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Fabio Estevam <fabio.estevam@...escale.com>
Subject: Re: [PATCH] regulator: pfuze100-regulator: Fix some checkpatch complaints
On Wed, Jan 15, 2014 at 1:02 AM, Joe Perches <joe@...ches.com> wrote:
> On Wed, 2014-01-15 at 00:52 -0200, Fabio Estevam wrote:
>> Fix the following checkpatch error and warning:
>
> While you're at it:
>
>> diff --git a/drivers/regulator/pfuze100-regulator.c b/drivers/regulator/pfuze100-regulator.c
> []
>> @@ -309,14 +309,17 @@ static int pfuze_identify(struct pfuze_chip *pfuze_chip)
> []
>> + case 0x8:
>> + dev_info(pfuze_chip->dev, "Assuming misprogrammed ID=0x8");
>
> missing "\n" terminating newline and
> missing break (or fallthrough comment)
>
>> + case 0x0:
>> + break;
>> + default:
>> + dev_warn(pfuze_chip->dev, "Illegal ID: %x\n", value);
>
> invalid vs illegal
Thanks, Joe.
Will address your suggestions through a different patch.
Regards,
Fabio Estevam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists