Skip to content
Commit 10221d28 authored by Dario Binacchi's avatar Dario Binacchi Committed by Stefan Roese
Browse files

pinctrl: single: check function mask to be non-zero



Otherwise it can generate a division by zero, which has an undefined
behavior.

Signed-off-by: default avatarDario Binacchi <dariobin@libero.it>
parent c6ecb2f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment