Molarity (in units of mol/L, molar, or M) or molar concentration denotes the number of moles of a given substance per liter of solution. (Wiki)
Molality (mol/kg, molal, or m) denotes the number of moles of solute per kilogram of solvent (not solution). (Wiki)
What are the details of the problem?