From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 From: Himadri Pandya Date: Mon, 7 Jan 2019 16:04:46 +0530 Message-ID: Subject: rtl8192e: need help with variable naming convention Content-Type: multipart/alternative; boundary="000000000000478f9d057edbc879" List-ID: To: driverdev-devel@linuxdriverproject.org Cc: gregkh@linuxfoundation.org --000000000000478f9d057edbc879 Content-Type: text/plain; charset="UTF-8" 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 --000000000000478f9d057edbc879 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I'm getting started with dev= ice drivers. And as a starter, I'm working on some clean-up patches.=C2= =A0 I'm particularly targeting to rename a structure array "Channe= lPlan"(in file dot11d.c) to fix a che= ckpatch.pl warning "Avoid CamelCase". According to the coding= style, it should be converted to "channel_plan". But the code co= ntains a function argument with the same name "channel_plan". Sho= uld I then rename the array to something like "channel_name_"? I&= #39;m sorry for asking such a silly question. But I want to know if renamin= g it in such a ways fits in the convention before I make the change.

Thank you.

- Himadri
<= /div> --000000000000478f9d057edbc879--