A note on generalized Cohen-Macaulay rings