> > 324 /* Now look at channel B. */ > > 325 cs = zsc->zsc_cs[1]; > > !!!Here cs become Channel B not A so when we unlock it > > B is unlocked I personally like such locking code written symmetrically, and can be analyzed statically. PR/36610 is a good example. (Is it possible to teach lint(1) about locking?) Masao