All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/net/tokenring/smctr.c: logical-bitwise or confusion?
@ 2008-03-09 21:43 Roel Kluin
  2008-03-10  0:09 ` Paul Gortmaker
  0 siblings, 1 reply; 4+ messages in thread
From: Roel Kluin @ 2008-03-09 21:43 UTC (permalink / raw)
  To: jschlst, p_gortmaker; +Cc: netdev

drivers/net/tokenring/smctr.c:3416

tsv->svv[0] = ((tx_fstatus & 0x0100 >> 6) || IBM_PASS_SOURCE_ADDR);

shouldn't this be a bit-wise or?
from drivers/net/tokenring/smctr.h:50:

#define      IBM_PASS_SOURCE_ADDR    0x01

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-10  1:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-09 21:43 drivers/net/tokenring/smctr.c: logical-bitwise or confusion? Roel Kluin
2008-03-10  0:09 ` Paul Gortmaker
2008-03-10  1:16   ` Roel Kluin
2008-03-10  1:27     ` Joe Perches

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.