If it fits you likely are good. They normally won't care and with limited capacity I doubt they will care at all.
I would just be prepared for them to grab it at the gate and put it under the plane. If they do that then it will be hit or miss if they give it back to you at the gate or at bag pick up depending on the airport and plane type you are on.