I saw the previous smatch fixes and thought I would try to fix a few. Since the other patches were applied to agd5f/amd-staging-drm-next I continued there.