* [PATCH] opensm/ib_types.h: Mask off client rereg bit in set_client_rereg
@ 2009-10-13 19:35 Hal Rosenstock
[not found] ` <20091013193549.GA14990-Wuw85uim5zDR7s880joybQ@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Hal Rosenstock @ 2009-10-13 19:35 UTC (permalink / raw)
To: sashak-smomgflXvOZWk0Htik3J/w; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
Issue introduced by commit 2d13530a16ab580894d3c2f83536dcf93909f43f
Signed-off-by: Hal Rosenstock <hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
diff --git a/opensm/include/iba/ib_types.h b/opensm/include/iba/ib_types.h
index 935df43..fb4f79d 100644
--- a/opensm/include/iba/ib_types.h
+++ b/opensm/include/iba/ib_types.h
@@ -5315,7 +5315,7 @@ ib_port_info_set_client_rereg(IN ib_port_info_t * const p_pi,
{
CL_ASSERT(client_rereg <= 0x1);
p_pi->subnet_timeout =
- (uint8_t) (p_pi->subnet_timeout | (client_rereg << 7));
+ (uint8_t) ((p_pi->subnet_timeout & 0x7F) | (client_rereg << 7));
}
/*
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] opensm/ib_types.h: Mask off client rereg bit in set_client_rereg
[not found] ` <20091013193549.GA14990-Wuw85uim5zDR7s880joybQ@public.gmane.org>
@ 2009-10-13 20:41 ` Sasha Khapyorsky
0 siblings, 0 replies; 2+ messages in thread
From: Sasha Khapyorsky @ 2009-10-13 20:41 UTC (permalink / raw)
To: Hal Rosenstock; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
On 15:35 Tue 13 Oct , Hal Rosenstock wrote:
>
> Issue introduced by commit 2d13530a16ab580894d3c2f83536dcf93909f43f
>
> Signed-off-by: Hal Rosenstock <hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Applied. Thanks.
Sasha
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-13 20:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-13 19:35 [PATCH] opensm/ib_types.h: Mask off client rereg bit in set_client_rereg Hal Rosenstock
[not found] ` <20091013193549.GA14990-Wuw85uim5zDR7s880joybQ@public.gmane.org>
2009-10-13 20:41 ` Sasha Khapyorsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox