Small foundation is not a big problem, as long as the settlement of the building is stable, it will be fine.
The key is the specific members. Once cracks appear, they must be reinforced in time. Although the code allows cracks of 0.2~0.3, the steel bars will rust when working with cracks for a long time, and the house will not be safe after a long time. If there is no emergency (earthquake), housing is ok, but no one dares to give you this guarantee.