From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Date: Wed, 24 Jul 2013 16:01:23 +0000 Subject: Re: [PATCH 1/9] Staging:wlan-ng:cfg80211.c,p80211conv.h,p80211metastruct.h,p80211netdev.h: Message-Id: <20130724160123.GW5585@mwanda> List-Id: References: <1374673972-10041-1-git-send-email-kumargauravgupta3@gmail.com> In-Reply-To: <1374673972-10041-1-git-send-email-kumargauravgupta3@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kernel-janitors@vger.kernel.org On Wed, Jul 24, 2013 at 08:55:34PM +0530, Kumar Gaurav wrote: > Thanks for your valuable suggestions. > Sorry to ask stupid questions but still i do have before i can > correct fix for above. Please spare me and answer them > > 1. Is it correct to change variable names for long variables > in code without notifying the author of the code? Sending to kernel-janitors is just practice. Next time send it to the people from ./scripts/get_maintainer.pl (You need git for this to work correctly really). But I help maintain staging/ so I know what patches are likely to be applied there. > 2. How would i align long statement in multiple lines so that > they remain readable (this i'll google now, but still adding) - bss = cfg80211_inform_bss(wiphy, - ieee80211_get_channel(wiphy, ieee80211_dsss_chan_to_freq(msg2.dschannel.data)), + freq = ieee80211_dsss_chan_to_freq(msg2.dschannel.data); + chan = ieee80211_get_channel(wiphy, freq); + bss = cfg80211_inform_bss(wiphy, chan, ... etc. regards, dan carpenter