All of lore.kernel.org
 help / color / mirror / Atom feed
* rtl8192e: need help with variable naming convention
@ 2019-01-07 10:34 Himadri Pandya
  2019-01-07 10:45 ` Himadri Pandya
  2019-01-07 10:52 ` Greg KH
  0 siblings, 2 replies; 10+ messages in thread
From: Himadri Pandya @ 2019-01-07 10:34 UTC (permalink / raw)
  To: driverdev-devel; +Cc: gregkh

[-- Attachment #1: Type: text/plain, Size: 624 bytes --]

Hello,

I'm getting started with device drivers. And as a starter, I'm working on
some clean-up patches.  I'm particularly targeting to rename a structure
array "ChannelPlan"(in file dot11d.c) to fix a checkpatch.pl warning "Avoid
CamelCase". According to the coding style, it should be converted to
"channel_plan". But the code contains a function argument with the same
name "channel_plan". Should I then rename the array to something like
"channel_name_"? I'm sorry for asking such a silly question. But I want to
know if renaming it in such a ways fits in the convention before I make the
change.

Thank you.

- Himadri

[-- Attachment #2: Type: text/html, Size: 824 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-01-15  8:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-07 10:34 rtl8192e: need help with variable naming convention Himadri Pandya
2019-01-07 10:45 ` Himadri Pandya
2019-01-07 10:52 ` Greg KH
2019-01-07 13:03   ` Dan Carpenter
2019-01-13  6:31     ` Himadri Pandya
2019-01-14 10:51       ` Dan Carpenter
2019-01-14 12:09         ` Himadri Pandya
2019-01-14 12:37           ` Dan Carpenter
2019-01-15  8:03             ` Himadri Pandya
2019-01-13  6:26   ` Himadri Pandya

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.