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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >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.
> >
> Sorry Lee, I will modify it. Is the order important? or only your
> name is need here?
> >>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.

Actually, you don't need to worry now. I already applied the patch
with the correct author applied with your Ack.

> Did you mean I need write like this ?
> 
> Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
> Tested-by: Micky Ching <micky_ching@xxxxxxxxxxxxxx>
> Signed-off-by: Micky Ching <micky_ching@xxxxxxxxxxxxxx>

As I say, this situation is a bit different, but in the normal case,
yes. Then the Maintainer will probably remove some and chop them
around a little to his/her liking.

FYI: The top SoB is usually the author, the subsequent ones are
usually gatekeepers of upstream repos. Anyone can take a patch and
submit it though, so in the case where the submitter isn't the author,
the second SoB is usually the patch submitter.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel





[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux