fix compiler complaints about RCU code; fix a couple of compiler warnings