mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 22:50:41 +00:00
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: Randy 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.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
34d0938e3d
commit
af35dbad4a
@ -483,7 +483,7 @@ static void* mgslpc_get_text_ptr(void)
|
||||
return mgslpc_get_text_ptr;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* line discipline callback wrappers
|
||||
*
|
||||
* The wrappers maintain line discipline references
|
||||
@ -3857,7 +3857,7 @@ static void tx_timeout(struct timer_list *t)
|
||||
|
||||
#if SYNCLINK_GENERIC_HDLC
|
||||
|
||||
/**
|
||||
/*
|
||||
* called by generic HDLC layer when protocol selected (PPP, frame relay, etc.)
|
||||
* set encoding and frame check sequence (FCS) options
|
||||
*
|
||||
@ -3910,7 +3910,7 @@ static int hdlcdev_attach(struct net_device *dev, unsigned short encoding,
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* called by generic HDLC layer to send frame
|
||||
*
|
||||
* skb socket buffer containing HDLC frame
|
||||
@ -3955,7 +3955,7 @@ static netdev_tx_t hdlcdev_xmit(struct sk_buff *skb,
|
||||
return NETDEV_TX_OK;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* called by network layer when interface enabled
|
||||
* claim resources and initialize hardware
|
||||
*
|
||||
@ -4018,7 +4018,7 @@ static int hdlcdev_open(struct net_device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* called by network layer when interface is disabled
|
||||
* shutdown hardware and release resources
|
||||
*
|
||||
@ -4049,7 +4049,7 @@ static int hdlcdev_close(struct net_device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* called by network layer to process IOCTL call to network device
|
||||
*
|
||||
* dev pointer to network device structure
|
||||
@ -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
|
||||
*
|
||||
* dev pointer to network device structure
|
||||
@ -4175,7 +4175,7 @@ static void hdlcdev_tx_timeout(struct net_device *dev, unsigned int txqueue)
|
||||
netif_wake_queue(dev);
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* called by device driver when transmit completes
|
||||
* reenable network layer transmit if stopped
|
||||
*
|
||||
@ -4187,7 +4187,7 @@ static void hdlcdev_tx_done(MGSLPC_INFO *info)
|
||||
netif_wake_queue(info->netdev);
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* called by device driver when frame received
|
||||
* pass frame to network layer
|
||||
*
|
||||
@ -4227,7 +4227,7 @@ static const struct net_device_ops hdlcdev_ops = {
|
||||
.ndo_tx_timeout = hdlcdev_tx_timeout,
|
||||
};
|
||||
|
||||
/**
|
||||
/*
|
||||
* called by device driver when adding device instance
|
||||
* do generic HDLC initialization
|
||||
*
|
||||
@ -4275,7 +4275,7 @@ static int hdlcdev_init(MGSLPC_INFO *info)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* called by device driver when removing device instance
|
||||
* do generic HDLC cleanup
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user