Re: [PATCH] IB/srpt: Convert use of __constant_cpu_to_beXX to cpu_to_beXX

From: Bart Van Assche
Date: Tue Jun 23 2015 - 10:35:50 EST


On 06/22/15 21:41, Vaishali Thakkar wrote:
if (!slot || slot > 16) {
mad->mad_hdr.status
- = __constant_cpu_to_be16(DM_MAD_STATUS_INVALID_FIELD);
+ = cpu_to_be16(DM_MAD_STATUS_INVALID_FIELD);
return;
}

Without this change several statements exceeded 80 characters and were split because of that reason. Please change the multi-line statements that have been reduced to less than 80 columns into single-line statements.

Bart.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/