Commit af35dbad authored by Randy Dunlap's avatar Randy Dunlap Committed by Greg Kroah-Hartman

pcmcia: synclink_cs: remove kernel-doc notation

Remove all kernel-doc "/**" markers; just use "/*" comments since
these are not in kernel-doc format.
This eliminates 11 kernel-doc warnings:

drivers/char/pcmcia/synclink_cs.c:487: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 * line discipline callback wrappers
drivers/char/pcmcia/synclink_cs.c:3861: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 * called by generic HDLC layer when protocol selected (PPP, frame relay, etc.)
drivers/char/pcmcia/synclink_cs.c:3914: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 * called by generic HDLC layer to send frame
drivers/char/pcmcia/synclink_cs.c:3959: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 * called by network layer when interface enabled
drivers/char/pcmcia/synclink_cs.c:4022: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 * called by network layer when interface is disabled
drivers/char/pcmcia/synclink_cs.c:4053: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 * called by network layer to process IOCTL call to network device
drivers/char/pcmcia/synclink_cs.c:4156: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 * called by network layer when transmit timeout is detected
drivers/char/pcmcia/synclink_cs.c:4179: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 * called by device driver when transmit completes
drivers/char/pcmcia/synclink_cs.c:4191: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 * called by device driver when frame received
drivers/char/pcmcia/synclink_cs.c:4231: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 * called by device driver when adding device instance
drivers/char/pcmcia/synclink_cs.c:4279: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 * called by device driver when removing device instance
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20230114034646.1535-1-rdunlap@infradead.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 34d0938e
...@@ -483,7 +483,7 @@ static void* mgslpc_get_text_ptr(void) ...@@ -483,7 +483,7 @@ static void* mgslpc_get_text_ptr(void)
return mgslpc_get_text_ptr; return mgslpc_get_text_ptr;
} }
/** /*
* line discipline callback wrappers * line discipline callback wrappers
* *
* The wrappers maintain line discipline references * The wrappers maintain line discipline references
...@@ -3857,7 +3857,7 @@ static void tx_timeout(struct timer_list *t) ...@@ -3857,7 +3857,7 @@ static void tx_timeout(struct timer_list *t)
#if SYNCLINK_GENERIC_HDLC #if SYNCLINK_GENERIC_HDLC
/** /*
* called by generic HDLC layer when protocol selected (PPP, frame relay, etc.) * called by generic HDLC layer when protocol selected (PPP, frame relay, etc.)
* set encoding and frame check sequence (FCS) options * set encoding and frame check sequence (FCS) options
* *
...@@ -3910,7 +3910,7 @@ static int hdlcdev_attach(struct net_device *dev, unsigned short encoding, ...@@ -3910,7 +3910,7 @@ static int hdlcdev_attach(struct net_device *dev, unsigned short encoding,
return 0; return 0;
} }
/** /*
* called by generic HDLC layer to send frame * called by generic HDLC layer to send frame
* *
* skb socket buffer containing HDLC frame * skb socket buffer containing HDLC frame
...@@ -3955,7 +3955,7 @@ static netdev_tx_t hdlcdev_xmit(struct sk_buff *skb, ...@@ -3955,7 +3955,7 @@ static netdev_tx_t hdlcdev_xmit(struct sk_buff *skb,
return NETDEV_TX_OK; return NETDEV_TX_OK;
} }
/** /*
* called by network layer when interface enabled * called by network layer when interface enabled
* claim resources and initialize hardware * claim resources and initialize hardware
* *
...@@ -4018,7 +4018,7 @@ static int hdlcdev_open(struct net_device *dev) ...@@ -4018,7 +4018,7 @@ static int hdlcdev_open(struct net_device *dev)
return 0; return 0;
} }
/** /*
* called by network layer when interface is disabled * called by network layer when interface is disabled
* shutdown hardware and release resources * shutdown hardware and release resources
* *
...@@ -4049,7 +4049,7 @@ static int hdlcdev_close(struct net_device *dev) ...@@ -4049,7 +4049,7 @@ static int hdlcdev_close(struct net_device *dev)
return 0; return 0;
} }
/** /*
* called by network layer to process IOCTL call to network device * called by network layer to process IOCTL call to network device
* *
* dev pointer to network device structure * dev pointer to network device structure
...@@ -4152,7 +4152,7 @@ static int hdlcdev_wan_ioctl(struct net_device *dev, struct if_settings *ifs) ...@@ -4152,7 +4152,7 @@ static int hdlcdev_wan_ioctl(struct net_device *dev, struct if_settings *ifs)
} }
} }
/** /*
* called by network layer when transmit timeout is detected * called by network layer when transmit timeout is detected
* *
* dev pointer to network device structure * dev pointer to network device structure
...@@ -4175,7 +4175,7 @@ static void hdlcdev_tx_timeout(struct net_device *dev, unsigned int txqueue) ...@@ -4175,7 +4175,7 @@ static void hdlcdev_tx_timeout(struct net_device *dev, unsigned int txqueue)
netif_wake_queue(dev); netif_wake_queue(dev);
} }
/** /*
* called by device driver when transmit completes * called by device driver when transmit completes
* reenable network layer transmit if stopped * reenable network layer transmit if stopped
* *
...@@ -4187,7 +4187,7 @@ static void hdlcdev_tx_done(MGSLPC_INFO *info) ...@@ -4187,7 +4187,7 @@ static void hdlcdev_tx_done(MGSLPC_INFO *info)
netif_wake_queue(info->netdev); netif_wake_queue(info->netdev);
} }
/** /*
* called by device driver when frame received * called by device driver when frame received
* pass frame to network layer * pass frame to network layer
* *
...@@ -4227,7 +4227,7 @@ static const struct net_device_ops hdlcdev_ops = { ...@@ -4227,7 +4227,7 @@ static const struct net_device_ops hdlcdev_ops = {
.ndo_tx_timeout = hdlcdev_tx_timeout, .ndo_tx_timeout = hdlcdev_tx_timeout,
}; };
/** /*
* called by device driver when adding device instance * called by device driver when adding device instance
* do generic HDLC initialization * do generic HDLC initialization
* *
...@@ -4275,7 +4275,7 @@ static int hdlcdev_init(MGSLPC_INFO *info) ...@@ -4275,7 +4275,7 @@ static int hdlcdev_init(MGSLPC_INFO *info)
return 0; return 0;
} }
/** /*
* called by device driver when removing device instance * called by device driver when removing device instance
* do generic HDLC cleanup * do generic HDLC cleanup
* *
......
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