https://github.com/torvalds/linux
Revision 4ececb7d173f17c60c00e704a0e4e51cdf788e04 authored by Wolfram Sang on 09 April 2016, 06:32:37 UTC, committed by Wolfram Sang on 09 April 2016, 06:32:37 UTC
This reverts commit 34cf2acdafaa31a13821e45de5ee896adcd307b1. 'ret' is
not set when bailing out. Also, there is a better place to check for 0.

Reported-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
1 parent 34cf2ac
History
Tip revision: 4ececb7d173f17c60c00e704a0e4e51cdf788e04 authored by Wolfram Sang on 09 April 2016, 06:32:37 UTC
Revert "i2c: jz4780: prevent potential division by zero"
Tip revision: 4ececb7
File Mode Size
Makefile -rw-r--r-- 377 bytes
compat.c -rw-r--r-- 19.1 KB
compat_mq.c -rw-r--r-- 3.9 KB
ipc_sysctl.c -rw-r--r-- 5.4 KB
mq_sysctl.c -rw-r--r-- 2.9 KB
mqueue.c -rw-r--r-- 35.7 KB
msg.c -rw-r--r-- 24.1 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 4.0 KB
sem.c -rw-r--r-- 56.3 KB
shm.c -rw-r--r-- 33.1 KB
syscall.c -rw-r--r-- 2.3 KB
util.c -rw-r--r-- 21.1 KB
util.h -rw-r--r-- 6.4 KB

back to top