Find all files with the extension ".swp" in the /tmp directory and its subdirectories up to a maximum depth of 3, and change the permissions to 755.
find /tmp -maxdepth 3 -iname '*.swp' -exec chmod 755 {} \;