Answer
Stir Crazy is a 1980 American comedy film starring Gene Wilder and Richard Pryor as two men who are framed for a crime they did not commit and sent to prison. The film was directed by Sidney Poitier and co-written by Wilder and Pryor. Banks played the role of Earl, the prison guard who becomes friends with Wilder and Pryor's characters.