Fix coding style issues from checkpatch.pl
Test command:
./scripts/checkpatch.pl --no-tree -f hw/net/ftgmac100.c
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
*/
#define FTGMAC100_MAX_FRAME_SIZE 9220
-/* Limits depending on the type of the frame
+/*
+ * Limits depending on the type of the frame
*
* 9216 for Jumbo frames (+ 4 for VLAN)
* 1518 for other frames (+ 4 for VLAN)
break;
}
- /* record transmit flags as they are valid only on the first
- * segment */
+ /*
+ * record transmit flags as they are valid only on the first
+ * segment
+ */
if (bd.des0 & FTGMAC100_TXDES0_FTS) {
flags = bd.des1;
}
*/
static uint32_t ftgmac100_rxpoll(FTGMAC100State *s)
{
- /* Polling times :
+ /*
+ * Polling times :
*
* Speed TIME_SEL=0 TIME_SEL=1
*