Re: [PATCH] staging: wlan-ng: Renamed prism2_fragmenthreshold in prism2mib.c

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

 



The idea was to reduce the length of the line (to 80 characters) by renaming this function. 
But, now reviewing the result I can see that the name of the function has lost meaning. 
Please ignore this patch. 

-Erich

12.10.2014, 21:28, "Greg KH" <gregkh@xxxxxxxxxxxxxxxxxxx>:
> On Sun, Oct 12, 2014 at 09:29:32PM -0500, Erich Cordoba Malibran wrote:
>>  From: Erich Cordoba Malibran <erich.cordoba@xxxxxxxxxx>
>>
>>  Renamed function to fix style issues.
>
> Why is changing a name, to a misspelled one, a "style issue fix"?
>>  Signed-off-by: Erich Cordoba Malibran <erich.cordoba@xxxxxxxxxx>
>>  ---
>>   drivers/staging/wlan-ng/prism2mib.c | 26 +++++++++++++-------------
>>   1 file changed, 13 insertions(+), 13 deletions(-)
>>
>>  diff --git a/drivers/staging/wlan-ng/prism2mib.c b/drivers/staging/wlan-ng/prism2mib.c
>>  index 0163e06..30d224f 100644
>>  --- a/drivers/staging/wlan-ng/prism2mib.c
>>  +++ b/drivers/staging/wlan-ng/prism2mib.c
>>  @@ -132,12 +132,12 @@ static int prism2mib_excludeunencrypted(struct mibrec *mib,
>>                                           struct p80211msg_dot11req_mibset *msg,
>>                                           void *data);
>>
>>  -static int prism2mib_fragmentationthreshold(struct mibrec *mib,
>>  -    int isget,
>>  -    wlandevice_t *wlandev,
>>  -    hfa384x_t *hw,
>>  -    struct p80211msg_dot11req_mibset *msg,
>>  -    void *data);
>>  +static int prism2mib_fragmenthreshold(struct mibrec *mib,
>>  +      int isget,
>>  +      wlandevice_t *wlandev,
>>  +      hfa384x_t *hw,
>>  +      struct p80211msg_dot11req_mibset *msg,
>>  +      void *data);
>>
>>   static int prism2mib_priv(struct mibrec *mib,
>>                             int isget,
>>  @@ -198,7 +198,7 @@ static struct mibrec mibtab[] = {
>>           {DIDmib_dot11mac_dot11OperationTable_dot11FragmentationThreshold,
>>            F_STA | F_READ | F_WRITE,
>>            HFA384x_RID_FRAGTHRESH, 0, 0,
>>  - prism2mib_fragmentationthreshold},
>>  + prism2mib_fragmenthreshold},
>>           {DIDmib_dot11mac_dot11OperationTable_dot11MaxTransmitMSDULifetime,
>>            F_STA | F_READ,
>>            HFA384x_RID_MAXTXLIFETIME, 0, 0,
>>  @@ -660,12 +660,12 @@ static int prism2mib_excludeunencrypted(struct mibrec *mib,
>>   *
>>   ----------------------------------------------------------------*/
>>
>>  -static int prism2mib_fragmentationthreshold(struct mibrec *mib,
>>  -    int isget,
>>  -    wlandevice_t *wlandev,
>>  -    hfa384x_t *hw,
>>  -    struct p80211msg_dot11req_mibset *msg,
>>  -    void *data)
>>  +static int prism2mib_fragmenthreshold(struct mibrec *mib,
>>  +      int isget,
>>  +      wlandevice_t *wlandev,
>>  +      hfa384x_t *hw,
>>  +      struct p80211msg_dot11req_mibset *msg,
>>  +      void *data)
>>   {
>>           int result;
>>           u32 *uint32 = (u32 *) data;
>>  --
>>  2.1.2
>
> I don't understand the problem you are trying to solve here, what is it?
>
> confused,
>
> greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel





[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux