Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

staging/qlge: fix block comment coding style

This patch fixes:
"WARNING: block comment use * on subsequent lines"
"WARNING: block comments should align the * on each line"
"WARNING: block comments use a trailing */ on a separate line"
by checkpatch.pl.

Signed-off-by: Dorothea Ehrl <dorothea.ehrl@fau.de>
Co-developed-by: Vanessa Hack <vanessa.hack@fau.de>
Signed-off-by: Vanessa Hack <vanessa.hack@fau.de>
Link: https://lore.kernel.org/r/20191127123052.16424-5-dorothea.ehrl@fau.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Dorothea Ehrl and committed by
Greg Kroah-Hartman
2a51470f 0da2d105

+7 -5
+7 -5
drivers/staging/qlge/qlge_main.c
··· 402 402 (index << MAC_ADDR_IDX_SHIFT) | /* index */ 403 403 type); /* type */ 404 404 /* This field should also include the queue id 405 - and possibly the function id. Right now we hardcode 406 - the route field to NIC core. 405 + * and possibly the function id. Right now we hardcode 406 + * the route field to NIC core. 407 407 */ 408 408 cam_output = (CAM_OUT_ROUTE_NIC | 409 409 (qdev-> ··· 683 683 FLASH_ADDR, FLASH_ADDR_RDY, FLASH_ADDR_ERR); 684 684 if (status) 685 685 goto exit; 686 - /* This data is stored on flash as an array of 686 + /* This data is stored on flash as an array of 687 687 * __le32. Since ql_read32() returns cpu endian 688 688 * we need to swap it back. 689 689 */ ··· 2223 2223 "Enter, NAPI POLL cq_id = %d.\n", rx_ring->cq_id); 2224 2224 2225 2225 /* Service the TX rings first. They start 2226 - * right after the RSS rings. */ 2226 + * right after the RSS rings. 2227 + */ 2227 2228 for (i = qdev->rss_ring_count; i < qdev->rx_ring_count; i++) { 2228 2229 trx_ring = &qdev->rx_ring[i]; 2229 2230 /* If this TX completion ring belongs to this vector and ··· 2889 2888 } 2890 2889 2891 2890 /* Allocate queues and buffers for this completions queue based 2892 - * on the values in the parameter structure. */ 2891 + * on the values in the parameter structure. 2892 + */ 2893 2893 static int ql_alloc_rx_resources(struct ql_adapter *qdev, 2894 2894 struct rx_ring *rx_ring) 2895 2895 {