Danilo made a winning return for Real Madrid in victory over Levante.
The Brazil fullback has battled with injury since preseason.
He said at the final whistle: “I am happy to return to the team and get that good feeling back but I must keep working. I have not had many training sessions and I need to keep improving in order to play more. As for Carvajal, it is always important to have competition. We work hard on a daily basis and the manager ultimately decides who plays, but both of us are ready."
Cristiano Ronaldo scored to become the club's all-time leading goalscorer.
“Cristiano is happy and you can see that in his play and dedication. When he is doing well you can see it and Real Madrid win. Marcelo is one of the best players in the world, he is my teammate and he will always be a great help to Madrid. He is a player that gives us a lot."