Linearized boundary conditions are a commonplace numerical tool in any flow problems where the solid wall is nominally flat but the effects of small waviness or roughness are being investigated. Typical examples are stability problems in the presence of undulated walls or interfaces, and receptivity problems in aerodynamic transition prediction or turbulent flow control. However, to pose such problems properly, solutions in two mathematical distinguished limits have to be considered: a shallow-roughness limit, where not only roughness height but also its aspect ratio becomes smaller and smaller, and a small-roughness limit, where the size of the roughness tends to zero but its aspect ratio need not. Here a connection between the two solutions is established through an analysis of their far-field behaviour. As a result, the effect of the surface in the small-roughness limit, obtained from a numerical solution of the Stokes problem, can be recast as an equivalent shallow-roughness linearized boundary condition corrected by a suitable protrusion coefficient (related to the protrusion height used years ago in the study of riblets) and a proximity coefficient, accounting for the interference between multiple protrusions in a periodic array. Numerically computed plots and interpolation formulas of such correction coefficients are provided.