Re: [openib-general] Re: [PATCH 3/27] Add MAD helper functions

From: Tom Duffy
Date: Tue Jul 12 2005 - 16:55:04 EST


On Mon, 2005-07-11 at 22:38 +0400, Alexey Dobriyan wrote:
> $ make allmodconfig >/dev/null
> $ make C=2 CHECK="sparse -Wbitwise" drivers/infiniband/ 2>&1 | tee ../W_infiniband
> [snip]
> $ grep -c "warning: " ../W_infiniband
> 430

These seem to be mostly coming from cpu_to_be*() and be*_to_cpu(). Is
there a good rule of thumb for fixing these warnings?

Thanks,

-tduffy

Attachment: signature.asc
Description: This is a digitally signed message part