Skip to contentSkip to conversation

Staging: ioo: ad9832: Replace 'unsigned' with 'unsigned int'

PATCH Superseded Svetlana Orlik 2 participants 3 messages Mar 21, 2016 – Mar 22, 2016

Subsystems (4)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Staging: ioo: ad9832: Replace 'unsigned' with 'unsigned int'

Replace 'unsigned' with 'unsigned int' to avoid checkpatch.pl warning.

---
Changes in v2:
Send patch using mutt.
v1 patch was sent using Google Groups web interface. Not sure it works.

 drivers/staging/iio/frequency/ad9832.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/iio/frequency/ad9832.c +1 -1
index 18b27a1..358400b 100644
@@ -31,7 +31,7 @@ static unsigned long ad9832_calc_freqreg(unsigned long mclk, unsigned long fout)
 }
 
 static int ad9832_write_frequency(struct ad9832_state *st,
-				  unsigned addr, unsigned long fout)
+				  unsigned int addr, unsigned long fout)
 {
 	unsigned long regval;
 
Signature · 1 line
2.5.0
maintainer
#1 lore raw
Quoted 8 lines · Svetlana Orlik

Replace 'unsigned' with 'unsigned int' to avoid checkpatch.pl warning.

---
Changes in v2:
Send patch using mutt.
v1 patch was sent using Google Groups web interface. Not sure it works.

Not sure what works? The subject line still is incorrect.

Did you test-build the patch?

thanks,

greg k-h

#2 lore raw
Quoted 10 lines · Greg KH
Quoted 8 lines · Svetlana Orlik

Replace 'unsigned' with 'unsigned int' to avoid checkpatch.pl warning.

---
Changes in v2:
Send patch using mutt.
v1 patch was sent using Google Groups web interface. Not sure it works.

Quoted 8 lines

Not sure what works? The subject line still is incorrect.

Did you test-build the patch?

thanks,

greg k-h

Hi,Greg!

To be clear, I was 'not sure' the Google Groups web interface will do the right job, when I was using it to post the patch (v1). And it didn't.

Yes, I did test-build the patch with 'make drivers/staging/iio/frequency/*'. Will correct the subject right away.

Sveta.