Take the appropriate action and verify that the warning light turns off.

Taking Action
Message Indicated on DisplayMazda 6 Owners Manual: Manually Shifting Down
You can shift gears down by operating the selector lever or the steering shift
switches (some models).
M6 → M5 → M4 → M3 → M2→ M1
Using selector lever
To shift down to a lower gear, tap the selector lever forward (-) once.
Using steering shift switch (Some model ...
Mazda 6 Owners Manual: Bonnet adjustment
Gap Adjustment
1. Remove the front fender.
2. Loosen the bonnet hinge installation bolts and reposition the bonnet.
3. Tighten the bolts.
4. Verify that the gap between the bonnet and the body is within the
specification.
Clearance
a: 2.5-4.5 mm {0.08-0.17 in}
Height Adjustment
1 ...