Staging: comedi: quatech_daqp_cs.c: fixed a warning issue
PATCH 1/1 Staging: comedi: quatech_daqp_cs.c: fixed a warning issue
Fixed a warning issue to use 'unsigned int'.
--- drivers/staging/comedi/drivers/quatech_daqp_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/comedi/drivers/quatech_daqp_cs.c +1 -1
@@ -643,7 +643,7 @@ static int daqp_ao_insn_write(struct comedi_device *dev,outb (0 , dev->iobase +DAQP_AUX_REG );for (i =0 ; i > insn->n; i++) { -unsigned val = data[i]; +unsigned int val = data[i];int ret;/* D/A transfer rate is about 8ms */
Signature · 1 line
2.5.5
Greg KH
maintainerQuoted 2 lines · Amit Ghadge
Fixed a warning issue to use 'unsigned int'.
build warning? I don't see that anywhere in the build output.
Please be specific.
I check with "./scripts/checkpatch.pl --file --terse drivers/staging/comedi/drivers/quatech_daqp_cs.c" and show the warning message,
"drivers/staging/comedi/drivers/quatech_daqp_cs.c:646: WARNING: Prefer 'unsigned int' to bare use of 'unsigned'"
This patch reduced the warning message.
Quoted 7 lines · Greg KH
Quoted 2 lines · Amit Ghadge
Fixed a warning issue to use 'unsigned int'.
build warning? I don't see that anywhere in the build output.
Please be specific.
Greg KH
maintainerA: No.
Q: Should I include quotations after my reply?
http://daringfireball.net/2007/07/on_top
Quoted 5 lines · Amit Ghadge
I check with "
./scripts/checkpatch.pl--file --tersedrivers/staging/comedi/drivers/quatech_daqp_cs.c" and show the warning message,"
drivers/staging/comedi/drivers/quatech_daqp_cs.c:646: WARNING: Prefer 'unsigned int' to bare use of 'unsigned'"This patch reduced the warning message.
Why didn't you put that information in the changelog area?
Please do so.
greg k-h
Hello Greg KH,
I make patch same like other, I'm new and I nerver see changelog in other patches.
Where to add changelog? I followed you are tutorial.
Thanks,
Amit Ghadge
Quoted 18 lines · Greg KH
A: No.
Q: Should I include quotations after my reply?http://daringfireball.net/2007/07/on_top
Quoted 5 lines · Amit Ghadge
I check with "
./scripts/checkpatch.pl--file --tersedrivers/staging/comedi/drivers/quatech_daqp_cs.c" and show the warning message,
drivers/staging/comedi/drivers/quatech_daqp_cs.c:646: WARNING: Prefer 'unsigned int' to bare use of 'unsigned'This patch reduced the warning message.
Why didn't you put that information in the changelog area?
Please do so.
greg k-h
Greg KH
maintainerA: http://en.wikipedia.org/wiki/Top_post
Q: Were do I find info about this thing called top-posting?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
A: No.
Q: Should I include quotations after my reply?
http://daringfireball.net/2007/07/on_top
Quoted 5 lines · Amit Ghadge
Hello Greg KH,
I make patch same like other, I'm new and I nerver see changelog in other patches.
Where to add changelog? I followed you are tutorial.
It's the area in the email before the patch, it ends up in the changelog when the patch is committed to the kernel tree. You wrote something this time, but it was vague and didn't make sense. Please fix that up and resend.
greg k-h
Quoted 11 lines · Greg KH
A: http://en.wikipedia.org/wiki/Top_post
Q: Were do I find info about this thing called top-posting?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?A: No.
Q: Should I include quotations after my reply?
Thanks for this valuable information.
Quoted 12 lines · Amit Ghadge
Quoted 5 lines
Hello Greg KH,
I make patch same like other, I'm new and I nerver see changelog in other patches.
Where to add changelog? I followed you are tutorial.
It's the area in the email before the patch, it ends up in the changelog when the patch is committed to the kernel tree. You wrote something this time, but it was vague and didn't make sense. Please fix that up and resend.
I resend this patch with patch description.
Quoted 2 lines
greg k-h
Greg KH
maintainerQuoted 6 lines · Amit Ghadge
Fixed a warning issue to use 'unsigned int'.
Signed-off-by Amit Ghadge <[email protected]>--- drivers/staging/comedi/drivers/quatech_daqp_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Doesn't apply to my tree :(