Inline comments and the line length
Hi,
I'm working on tidying up the vt6655 driver and I can see warnings about lines with inline comments that are too long, for example:
```
CHECK: line length of 129 exceeds 100 columns
#171: FILE: drivers/staging/vt6655/rf.c:171:
0x08031B00 + (BY_AL7230_REG_LEN << 3) + IFREGCTL_REGW, /* init
0x080B1B00 => 0x080F1B00 for 3 wire control TxGain(D10) */
```Is this something that should be addressed or is it ok to leave it as it is?
Thanks,
Karolina
Quoted 10 lines · Karolina Drobnik
Hi,
I'm working on tidying up the vt6655 driver and I can see warnings about lines with inline comments that are too long, for example:
```
CHECK: line length of 129 exceeds 100 columns
#171: FILE:drivers/staging/vt6655/rf.c:171:0x08031B00 + (BY_AL7230_REG_LEN << 3) + IFREGCTL_REGW, /* init
0x080B1B00=>0x080F1B00for 3 wire control TxGain(D10) */
I think you can put the comment above this statement.
/* init 0x080B1B00 => 0x080F1B00 for 3 wire control TxGain(D10) */ 0x08031B00 + (BY_AL7230_REG_LEN << 3) + IFREGCTL_REGW,
However, I do see other entries are not in 80 column boundary. So, lets wait for more comments.
Quoted 9 lines
```
Is this something that should be addressed or is it ok to leave it as it is?
Thanks,
Karolina
Regards,
~Praveen.