Re: [PATCH 1/9] Staging:wlan-ng:cfg80211.c,p80211conv.h,p80211metastruct.h,p80211netdev.h: Fixed code style issue by decreasing charecters in one line to fit within 80

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 24 July 2013 09:31 PM, Dan Carpenter wrote:
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

Got it.. Thanks a lot. And yeah cloning completed so i can get maintainers as well.

This time i randomly checked this driver to fix and to work on. can you tell me that for beginners which area will be well?

    Like working on
    1. filesystem codes
2. Drivers (if yes then should i be specific or should work on all of them)
    etc


Regards,
Kumar Gaurav
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux