Giants ace Madison Bumgarner is expected to miss at least the first two months of the season after undergoing surgery Saturday to have three pins inserted into the broken pinkie on his pitching hand.

The 28-year-old lefty was injured Friday when he was hit by a line drive off the bat of Kansas City's Whit Merrifield in a spring training game. The outing was supposed to be the final tuneup for Bumgarner before he started on Opening Day.

"We're looking at a couple months, give or take," Giants manager Bruce Bochy said before San Francisco's exhibition game against its Triple-A club in Sacramento. "It's going to take a while. I guess the good news we got this morning is they really felt good about the surgery."