Mon, Oct 29, 2018 at 07:34:29AM CET, liuhangbin(a)gmail.com wrote:
When put signed/unsigned int data to long on big endian(PPC64) and
read it as
singed/unsigned int, we will read from high bytes and get wrong number, e.g.
wrong active port index and priority values.
Fix it by using signed/unsiged int directly when store s32/u32 values.
Signed-off-by: Hangbin Liu <liuhangbin(a)gmail.com>
Applied with "unsiged" typo fixed. Thanks!