mirror of https://gitee.com/openkylin/linux.git
staging: wlan-ng: fix block comment warnings in prism2fw.c
This patch fix the following checkpatch.pl warnings in prism2fw.c WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
258ffd7bf1
commit
33630b0018
|
@ -200,7 +200,8 @@ static int validate_identity(void);
|
|||
* Returns:
|
||||
* 0 - success
|
||||
* ~0 - failure
|
||||
----------------------------------------------------------------*/
|
||||
*----------------------------------------------------------------
|
||||
*/
|
||||
static int prism2_fwtry(struct usb_device *udev, struct wlandevice *wlandev)
|
||||
{
|
||||
const struct firmware *fw_entry = NULL;
|
||||
|
@ -237,7 +238,8 @@ static int prism2_fwtry(struct usb_device *udev, struct wlandevice *wlandev)
|
|||
* Returns:
|
||||
* 0 - success
|
||||
* ~0 - failure
|
||||
----------------------------------------------------------------*/
|
||||
*----------------------------------------------------------------
|
||||
*/
|
||||
static int prism2_fwapply(const struct ihex_binrec *rfptr,
|
||||
struct wlandevice *wlandev)
|
||||
{
|
||||
|
@ -387,7 +389,8 @@ static int prism2_fwapply(const struct ihex_binrec *rfptr,
|
|||
* Returns:
|
||||
* 0 success
|
||||
* ~0 failure
|
||||
----------------------------------------------------------------*/
|
||||
*----------------------------------------------------------------
|
||||
*/
|
||||
static int crcimage(struct imgchunk *fchunk, unsigned int nfchunks,
|
||||
struct s3crcrec *s3crc, unsigned int ns3crc)
|
||||
{
|
||||
|
@ -448,7 +451,8 @@ static int crcimage(struct imgchunk *fchunk, unsigned int nfchunks,
|
|||
*
|
||||
* Returns:
|
||||
* nothing
|
||||
----------------------------------------------------------------*/
|
||||
*----------------------------------------------------------------
|
||||
*/
|
||||
static void free_chunks(struct imgchunk *fchunk, unsigned int *nfchunks)
|
||||
{
|
||||
int i;
|
||||
|
@ -471,7 +475,8 @@ static void free_chunks(struct imgchunk *fchunk, unsigned int *nfchunks)
|
|||
*
|
||||
* Returns:
|
||||
* nothing
|
||||
----------------------------------------------------------------*/
|
||||
*----------------------------------------------------------------
|
||||
*/
|
||||
static void free_srecs(void)
|
||||
{
|
||||
ns3data = 0;
|
||||
|
@ -498,7 +503,8 @@ static void free_srecs(void)
|
|||
* Returns:
|
||||
* 0 - success
|
||||
* ~0 - failure (probably an errno)
|
||||
----------------------------------------------------------------*/
|
||||
*----------------------------------------------------------------
|
||||
*/
|
||||
static int mkimage(struct imgchunk *clist, unsigned int *ccnt)
|
||||
{
|
||||
int result = 0;
|
||||
|
@ -589,7 +595,8 @@ static int mkimage(struct imgchunk *clist, unsigned int *ccnt)
|
|||
* Returns:
|
||||
* 0 - success
|
||||
* ~0 - failure (probably an errno)
|
||||
----------------------------------------------------------------*/
|
||||
*----------------------------------------------------------------
|
||||
*/
|
||||
static int mkpdrlist(struct pda *pda)
|
||||
{
|
||||
u16 *pda16 = (u16 *)pda->buf;
|
||||
|
@ -659,7 +666,8 @@ static int mkpdrlist(struct pda *pda)
|
|||
* Returns:
|
||||
* 0 success
|
||||
* ~0 failure
|
||||
----------------------------------------------------------------*/
|
||||
*----------------------------------------------------------------
|
||||
*/
|
||||
static int plugimage(struct imgchunk *fchunk, unsigned int nfchunks,
|
||||
struct s3plugrec *s3plug, unsigned int ns3plug, struct pda *pda)
|
||||
{
|
||||
|
@ -765,7 +773,8 @@ static int plugimage(struct imgchunk *fchunk, unsigned int nfchunks,
|
|||
* Returns:
|
||||
* 0 - success
|
||||
* ~0 - failure (probably an errno)
|
||||
----------------------------------------------------------------*/
|
||||
*----------------------------------------------------------------
|
||||
*/
|
||||
static int read_cardpda(struct pda *pda, struct wlandevice *wlandev)
|
||||
{
|
||||
int result = 0;
|
||||
|
@ -860,7 +869,8 @@ static int read_cardpda(struct pda *pda, struct wlandevice *wlandev)
|
|||
* Returns:
|
||||
* 0 - success
|
||||
* ~0 - failure (probably an errno)
|
||||
----------------------------------------------------------------*/
|
||||
*----------------------------------------------------------------
|
||||
*/
|
||||
static int read_fwfile(const struct ihex_binrec *record)
|
||||
{
|
||||
int i;
|
||||
|
@ -981,7 +991,8 @@ static int read_fwfile(const struct ihex_binrec *record)
|
|||
* Returns:
|
||||
* 0 success
|
||||
* ~0 failure
|
||||
----------------------------------------------------------------*/
|
||||
*----------------------------------------------------------------
|
||||
*/
|
||||
static int writeimage(struct wlandevice *wlandev, struct imgchunk *fchunk,
|
||||
unsigned int nfchunks)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue