Note on the superconductivity of alloys