]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
net: emaclite: Add 'maxlen' description
authorRadhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Fri, 2 Mar 2018 09:38:37 +0000 (15:08 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 9 Mar 2018 08:09:35 +0000 (09:09 +0100)
Add 'maxlen' description. Fixes kernel-doc warning.

drivers/net/ethernet/xilinx/xilinx_emaclite.c:381:
warning: No description found for parameter 'maxlen'

Signed-off-by: Radhey Shyam Pandey <radheys@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/ethernet/xilinx/xilinx_emaclite.c

index b98ca9bec6377037e611dc7018ef62af09204d1b..3399edc5765af14e9f7b525bfc15c2b5f0bd1547 100644 (file)
@@ -371,6 +371,7 @@ static int xemaclite_send_data(struct net_local *drvdata, u8 *data,
  * xemaclite_recv_data - Receive a frame
  * @drvdata:   Pointer to the Emaclite device private data
  * @data:      Address where the data is to be received
+ * @maxlen:    Maximum supported ethernet packet length
  *
  * This function is intended to be called from the interrupt context or
  * with a wrapper which waits for the receive frame to be available.