Use log subsystem for dm_warn()
Various minor bug fixes
This tag has no release notes.