Skip to contentSkip to conversation

Automatic adjustment of max frame size

PATCH Toshiaki Makita 1 participant 1 message Oct 26, 2015 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

On 2015/10/23 13:46, ND Linux CI Server wrote:
...

Quoted 18 lines

checkpatch.pl has some complaints:

--------------------------------------------------------------------------------

checkpatch.pl results for patch "[PATCH 2/4] e1000e: Add ndo_enc_hdr_len"

WARNING:LONG_LINE: line over 80 characters
#53: FILE: drivers/net/ethernet/intel/e1000e/netdev.c:3981:

(quoted diff) +1 -0
+		if (adapter->max_frame_size > VLAN_ETH_FRAME_LEN + ETH_FCS_LEN) {

WARNING:LONG_LINE: line over 80 characters
#62: FILE: drivers/net/ethernet/intel/e1000e/netdev.c:4000:

(quoted diff) +1 -0
+		if (adapter->max_frame_size > VLAN_ETH_FRAME_LEN + ETH_FCS_LEN) {

WARNING:LONG_LINE: line over 80 characters
#71: FILE: drivers/net/ethernet/intel/e1000e/netdev.c:4014:

(quoted diff) +1 -0
+		if (adapter->max_frame_size <= VLAN_ETH_FRAME_LEN + ETH_FCS_LEN) {
Quoted 1 line

total: 0 errors, 3 warnings, 0 checks, 184 lines checked

I was aware of these warnings but my understanding was that lines without over 80 characters are not mandatory requirement and a short overrun can be acceptable, like 81 or 82... Not sure what made me think so, though.

Anyway, I will fix these warnings.

Thanks,
Toshiaki Makita