Commit 30d69ada authored by Derek Robson's avatar Derek Robson Committed by Greg Kroah-Hartman

Staging: rtl8192u: r819xU_firmware.c - style fix

Fixed style of block comments
Found using checkpatch
Signed-off-by: default avatarDerek Robson <robsonde@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 991397d1
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* Returns: * Returns:
* NDIS_STATUS_FAILURE - the following initialization process should be terminated * NDIS_STATUS_FAILURE - the following initialization process should be terminated
* NDIS_STATUS_SUCCESS - if firmware initialization process success * NDIS_STATUS_SUCCESS - if firmware initialization process success
**************************************************************************************************/ **************************************************************************************************/
#include "r8192U.h" #include "r8192U.h"
#include "r8192U_hw.h" #include "r8192U_hw.h"
...@@ -62,7 +62,7 @@ static bool fw_download_code(struct net_device *dev, u8 *code_virtual_address, ...@@ -62,7 +62,7 @@ static bool fw_download_code(struct net_device *dev, u8 *code_virtual_address,
/* Allocate skb buffer to contain firmware info and tx descriptor info /* Allocate skb buffer to contain firmware info and tx descriptor info
* add 4 to avoid packet appending overflow. * add 4 to avoid packet appending overflow.
* */ */
skb = dev_alloc_skb(USB_HWDESC_HEADER_LEN + frag_length + 4); skb = dev_alloc_skb(USB_HWDESC_HEADER_LEN + frag_length + 4);
if (!skb) if (!skb)
return false; return false;
...@@ -277,7 +277,7 @@ bool init_firmware(struct net_device *dev) ...@@ -277,7 +277,7 @@ bool init_firmware(struct net_device *dev)
* 2. each packet segment will be put in the skb_buff packet. * 2. each packet segment will be put in the skb_buff packet.
* 3. each skb_buff packet data content will already include the firmware info * 3. each skb_buff packet data content will already include the firmware info
* and Tx descriptor info * and Tx descriptor info
* */ */
rt_status = fw_download_code(dev, mapped_file, file_length); rt_status = fw_download_code(dev, mapped_file, file_length);
if (rst_opt == OPT_SYSTEM_RESET) if (rst_opt == OPT_SYSTEM_RESET)
release_firmware(fw_entry); release_firmware(fw_entry);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment