Cornell Law Professor Robert Hockett thinks Elon Musk's Tuesday tweet, which said that he was considering taking Tesla (TSLA - Get Report) private, is legal, but may still spark an SEC inquiry.

"I could imagine [the SEC] looking into this not with a view to any possible wrong doing legally or otherwise on the part of Mr. Musk, but just from the point of view of market stability," Hockett said. "I could imagine the SEC and other policy makers might want to think about the possibility of excessive market turmoil maybe being caused by certain modes of communication, such as Twitter."

NOW WATCH: Jim Cramer on Tesla: The Shorts Want the SEC to Investigate Musk's Tweet