staging: wlan-ng: End block comments with */ on new line
PATCH 1/1 staging: wlan-ng: End block comments with */ on new line
Warning found by checkpatch. Also cleans up the start of the comment for less noise and easier reading.
Signed-off-by Katie Dunne <[email protected]>
--- drivers/staging/wlan-ng/prism2fw.c | 44 +++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 22 deletions(-)
drivers/staging/wlan-ng/prism2fw.c +22 -22
@@ -190,7 +190,7 @@ static int validate_identity(void);/*================================================================*/ /* Function Definitions */ -/*---------------------------------------------------------------- +/* * prism2_fwtry * * Try and get firmware into memory
@@ -202,7 +202,7 @@ 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 ;
@@ -227,7 +227,7 @@ static int prism2_fwtry(struct usb_device *udev, struct wlandevice *wlandev)return 0 ; } -/*---------------------------------------------------------------- +/* * prism2_fwapply * * Apply the firmware loaded into memory
@@ -239,7 +239,7 @@ 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) {
@@ -373,7 +373,7 @@ out:return result; } -/*---------------------------------------------------------------- +/* * crcimage * * Adds a CRC16 in the two bytes prior to each block identified by
@@ -389,7 +389,7 @@ out:* Returns: * 0 success * ~0 failure -----------------------------------------------------------------*/ +*/ static int crcimage (struct imgchunk *fchunk,unsigned int nfchunks,struct s3crcrec *s3crc,unsigned int ns3crc) {
@@ -440,7 +440,7 @@ static int crcimage(struct imgchunk *fchunk, unsigned int nfchunks,return result; } -/*---------------------------------------------------------------- +/* * free_chunks * * Clears the chunklist data structures in preparation for a new file.
@@ -450,7 +450,7 @@ static int crcimage(struct imgchunk *fchunk, unsigned int nfchunks,* * Returns: * nothing -----------------------------------------------------------------*/ +*/ static void free_chunks (struct imgchunk *fchunk,unsigned int *nfchunks) {int i;
@@ -463,7 +463,7 @@ static void free_chunks(struct imgchunk *fchunk, unsigned int *nfchunks) } -/*---------------------------------------------------------------- +/* * free_srecs * * Clears the srec data structures in preparation for a new file.
@@ -473,7 +473,7 @@ static void free_chunks(struct imgchunk *fchunk, unsigned int *nfchunks)* * Returns: * nothing -----------------------------------------------------------------*/ +*/ static void free_srecs (void ) { ns3data =0 ;
@@ -487,7 +487,7 @@ static void free_srecs(void) startaddr =0 ; } -/*---------------------------------------------------------------- +/* * mkimage * * Scans the currently loaded set of S records for data residing
@@ -500,7 +500,7 @@ 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 ;
@@ -578,7 +578,7 @@ static int mkimage(struct imgchunk *clist, unsigned int *ccnt)return result; } -/*---------------------------------------------------------------- +/* * mkpdrlist * * Reads a raw PDA and builds an array of pdrec_t structures.
@@ -591,7 +591,7 @@ 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;
@@ -645,7 +645,7 @@ static int mkpdrlist(struct pda *pda)return 0 ; } -/*---------------------------------------------------------------- +/* * plugimage * * Plugs the given image using the given plug records from the given
@@ -661,7 +661,7 @@ 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)
@@ -751,7 +751,7 @@ static int plugimage(struct imgchunk *fchunk, unsigned int nfchunks, } -/*---------------------------------------------------------------- +/* * read_cardpda * * Sends the command for the driver to read the pda from the card
@@ -768,7 +768,7 @@ 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 ;
@@ -804,7 +804,7 @@ static int read_cardpda(struct pda *pda, struct wlandevice *wlandev)return result; } -/*---------------------------------------------------------------- +/* * read_fwfile * * Reads the given fw file which should have been compiled from an srec
@@ -863,7 +863,7 @@ 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;
@@ -970,7 +970,7 @@ static int read_fwfile(const struct ihex_binrec *record)return 0 ; } -/*---------------------------------------------------------------- +/* * writeimage * * Takes the chunks, builds p80211 messages and sends them down
@@ -984,7 +984,7 @@ 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) {
Signature · 1 line
2.7.4