SAN DIEGO (AP) Ian Kennedy, being mentioned in various trade scenarios, pitched six strong innings and the San Diego Padres defeated the Miami Marlins 3-1 on Saturday night.

Kennedy (6-9) allowed a run and five hits. He matched a season high with seven strikeouts and walked one. He also helped himself by hitting a double and scoring.

Kennedy has attracted interest from contending teams heading toward Friday's trading deadline.

More from FoxSports

David Phelps (4-7) gave up two runs over six innings.

Derek Dietrich opened the seventh with a home run, slicing the Marlins' deficit to 2-1. J.T. Realmuto followed with a triple and that chased Kennedy.

Reliever Brandon Maurer came in and stranded the tying run when Adeiny Hechavarria and Cole Gillespie grounded out to third and pinch-hitter Casey McGehee flied out.

Craig Kimbrel pitched the ninth for his 28th save in 29 chances.

The Padres added a run in the seventh when Melvin Upton Jr. drove in Clint Barmes with a pinch-hit single.

Kennedy had gone through a stretch where he dropped four of five starts before beating the Giants in his previous outing.

Kennedy escaped a jam in the first when the Marlins had runners on the corners by Michael Morse.

In the second, Kennedy doubled and Will Venable hit an RBI single.

Yonder Alonso had a sacrifice fly in the Padres first.

TRAINERS ROOM

Marlins: RHP Henderson Alvarez (shoulder) will consult with Dr. James Andrews on Tuesday after aggravating his injury in a rehabilitation start. Surgery is a possibility. ... 2B Dee Gordon (thumb) is taking batting practice and could go on a rehab assignment on Tuesday.

Padres: RHP Brandon Morrow (shoulder) was to start for Triple-A El Paso on Saturday. C Tim Federowicz (knee) was to catch Morrow. ... OF Wil Myers (wrist) took 40 swings with a short bat as he continues his rehab.

UP NEXT

Marlins: RHP Mat Latos (4-6, 4.48) seeks his first win against his former team and to even his road record at 3-3. Latos lost his only decision against the Padres last year, although he gave up but one run on a hit in seven innings.

Padres: RHP Odrisamer Despaigne (3-7, 4.98) has lost his last four decisions and seeks his first win since May 31.