April 28 (Bloomberg) -- President Barack Obama said legislation pending in the Senate may lead to reduced Wall Street bonuses while shoring up the U.S. financial system.“It may be a little boring, it may reduce the bonuses for some of the players on Wall Street, but we’ll end up having a safer, more secure financial system,” Obama told reporters on his plane returning to Washington today from two days of speeches in the Midwest. “Banks and other financial institutions can get back to making money the old-fashioned way by lending it to companies to build business and create jobs.”Some of the behavior on Wall Street, “even if it’s legal, doesn’t seem to serve an economic purpose,” the president said.On immigration, Obama said he understands Americans’ “frustrations” about border security. “You’ve got hundreds of thousands of people coming in, not playing by the rules,” he said. “That’s a problem.”He criticized a new Arizona law, saying it’s “a mistake” to “start having local law-enforcement officials given the power to stop people on the suspicion that they may be undocumented workers, because that carries a great amount of risk that core values we all care about are breached.”Obama said he hopes lawmakers can form a working group to move forward on comprehensive legislation.