Merge changes I6fdc87e8,I91b060b2
am: 85c5fc41de

* commit '85c5fc41de8067a389dba1d3871850a74ce36c91':
  logd: check return values
  logd: clarify release_Locked() for static analyzer