A block pressed against the vertical wall is in equilibrium. The minimum coefficient of friction is:
Here net driving force
=
Hence friction will act upward and its magnitude should be
If the block ‘m’ is stationary the friction between m and the wall should be static.