radio-bcm2048.c: fix wrong overflow check
This patch fixes an off by one check in bcm2048_set_region(). Reported-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NPali Rohár <pali.rohar@gmail.com> Signed-off-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
Showing
想要评论请 注册 或 登录