2017-06-05 17:03:23

by Andreas Noever

[permalink] [raw]
Subject: Re: [PATCH] thunderbolt: fix spelling mistake: "missmatch" -> "mismatch"

On Thu, May 18, 2017 at 9:42 AM, Colin King <[email protected]> wrote:
> From: Colin Ian King <[email protected]>
>
> Trivial fix to spelling mistake in tb_sw_warn warning message
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/thunderbolt/eeprom.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/thunderbolt/eeprom.c b/drivers/thunderbolt/eeprom.c
> index 6392990c984d..1c3eb937a728 100644
> --- a/drivers/thunderbolt/eeprom.c
> +++ b/drivers/thunderbolt/eeprom.c
> @@ -283,7 +283,7 @@ int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid)
>
> crc = tb_crc8(data + 1, 8);
> if (crc != data[0]) {
> - tb_sw_warn(sw, "uid crc8 missmatch (expected: %#x, got: %#x)\n",
> + tb_sw_warn(sw, "uid crc8 mismatch (expected: %#x, got: %#x)\n",
> data[0], crc);
> return -EIO;
> }
> --
> 2.11.0
>

Signed-off-by: Andreas Noever <[email protected]>

Greg, I believe that this line survived Mika's series. Would you add it as well?

Thanks,
Andreas


2017-06-09 09:33:02

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH] thunderbolt: fix spelling mistake: "missmatch" -> "mismatch"

On Mon, Jun 05, 2017 at 07:02:54PM +0200, Andreas Noever wrote:
> On Thu, May 18, 2017 at 9:42 AM, Colin King <[email protected]> wrote:
> > From: Colin Ian King <[email protected]>
> >
> > Trivial fix to spelling mistake in tb_sw_warn warning message
> >
> > Signed-off-by: Colin Ian King <[email protected]>
> > ---
> > drivers/thunderbolt/eeprom.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/thunderbolt/eeprom.c b/drivers/thunderbolt/eeprom.c
> > index 6392990c984d..1c3eb937a728 100644
> > --- a/drivers/thunderbolt/eeprom.c
> > +++ b/drivers/thunderbolt/eeprom.c
> > @@ -283,7 +283,7 @@ int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid)
> >
> > crc = tb_crc8(data + 1, 8);
> > if (crc != data[0]) {
> > - tb_sw_warn(sw, "uid crc8 missmatch (expected: %#x, got: %#x)\n",
> > + tb_sw_warn(sw, "uid crc8 mismatch (expected: %#x, got: %#x)\n",
> > data[0], crc);
> > return -EIO;
> > }
> > --
> > 2.11.0
> >
>
> Signed-off-by: Andreas Noever <[email protected]>
>
> Greg, I believe that this line survived Mika's series. Would you add it as well?

Will do, thanks.

greg k-h