RE: [PATCH] bfa: fix compilation warning in powerpc (resend)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jing Huang
Date: Thursday, April 22, 2010 - 12:50 pm

>> Fix the compilation warning in powerpc.

Hi Andrew,

Sorry about the obscure description of the patch, I will provide detailed
description in the future patch submission.

Yes this patch is intended to fix the compilation warning you listed above.

Regarding the big endian issue I mentioned, basically I remove an
unnecessary word swap in bfa_os_reg_read() and bfa_os_reg_write()
because the kernel provided readl and writel are already doing so. The
compilation warning also goes away after this change. For
bfa_os_mem_read() and bfa_os_mem_write() macros, I add a swap since
these two macros are designed to read/write from/to a memory region
that is in BE format per ASIC spec.

Thanks

Jing

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: [PATCH] bfa: fix compilation warning in powerpc (resend), Jing Huang, (Thu Apr 22, 12:50 pm)