Is it okay if the master room is a partition toilet? What does feng shui say?

It doesn't matter that there is only a wall between the house and the toilet. Don't let the bed next to this wall, otherwise, it needs to be solved.

The bedside is near the toilet wall. There will be head diseases.

You'd better adjust the position of the bedside. If it can't be adjusted because of space or other factors, you need to add a bedside table, put charcoal in the bedside table and sprinkle coarse salt to help you absorb humid and dirty air and reduce the impact. It is best to put a gourd on the bedside table to absorb suffocation, so as to resolve it.