Shares of Western Digital fell more than 2.5 percent Friday after Bank of America Merrill Lynch downgraded the stock to "underweight" from "overweight."

The bank also cut its price target on the stock to $30 from $61, citing near-term risks for Western Digital's earnings due to the quick erosion of the hard disk drives market.