Kyle Shanahan says Jimmy Garoppolo has a chance to play on Sunday despite leaving Week 4's game with a right calf injury.

Tests on Monday revealed that Garoppolo's injury isn't long-term. Trent Williams, who is dealing with a right shoulder injury, is day-to-day as well.

"At least we know that it's nothing too serious where it will be long term, which was a possibility," Shanahan said. "I think Trent, we got a little bit better news than Jimmy, but Jimmy, we've got to see how he reacts here in the next two days. But both of them were definitely better news today than the feeling we had last night."

The closer look at Garoppolo revealed a bruised calf, which could take some time to heal but might also be only a few days, which would allow Garoppolo to start against the Arizona Cardinals.