Re: [PATCH v2 3/3] mfd: rtsx: prevent 'used uninitialised' warnings

From: Lee Jones
Date: Tue Dec 03 2013 - 05:40:17 EST


On Tue, 03 Dec 2013, micky_ching@xxxxxxxxxxxxxx wrote:

> From: Micky Ching <micky_ching@xxxxxxxxxxxxxx>

This should contain the author's name.

You should use:
`git rebase -i` /* Use edit option */
then
`git commit --amend --author="First Last <first.last@xxxxxxxxx>"

To apply it.

> drivers/mfd/rtl8411.c: In function 'rtl8411_fetch_vendor_settings':
> drivers/mfd/rtl8411.c:58:7: warning: 'reg1' is used uninitialized in this function [-Wuninitialized]
> drivers/mfd/rtl8411.c: In function 'rtl8411b_fetch_vendor_settings':
> drivers/mfd/rtl8411.c:79:7: warning: 'reg' is used uninitialized in this function [-Wuninitialized]
> drivers/mfd/rtl8411.c: In function 'rtl8411_fetch_vendor_settings':
> drivers/mfd/rtl8411.c:69:26: warning: 'reg3' may be used uninitialized in this function [-Wuninitialized]
>
> Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
> Tested-by: Micky Ching <micky_ching@xxxxxxxxxxxxxx>

I know this is a bit of a strange situation, but whenever you sent
patches to the MLs, you need to sign it off yourself too.


--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/