repo.or.cz
/
smatch.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
err_ptr_deref: passing an ERR_PTR to kfree() is a bug
2014-04-03
Linus Torvalds
Fix er
r
or a
t
an
o
ymo
u
s
union
s
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2014-04-01
L
i
nus To
r
v
alds
Use any previous in
i
t
ializer
t
o size a symbol
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2014-04-01
L
inus Torvalds
Add warning abou
t
duplica
t
e initializers
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2012-02-04
Linus
Torvalds
spar
s
e, llvm:
M
ak
e
function
d
eclarati
o
n accessi
b
le
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-08-28
Linus Torvalds
M
ake 'linearize_return()
'
h
elper function
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-08-28
Linus
T
orvalds
Make '
l
inear
i
z
e
_
s
w
itch()' helper function
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-08-28
Linus
T
orvalds
Make 'lineariz
e
_iterator()' h
e
lper f
u
nction
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-04-19
Linus Torvalds
Teach 'al
r
eady_t
o
kenized()' to use the stre
a
m n
a
me
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-04-19
Li
n
us T
o
rvalds
Add n
e
w streams to a has
h
-list based on
t
h
eir n
a
mes
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Linus Torvald
s
A
v
oid "at
t
ribute 'war
n
i
ng': u
n
k
nown a
t
tribute" wa
r
nin
g
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
L
inus To
r
vald
s
Tu
r
n off '-W
t
ranspar
e
nt-union'
by default
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Linus Torvalds
Allow arra
y
decl
a
ra
t
ors to have 'restrict' in them
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Linus To
r
v
a
lds
Si
m
plify
(and wa
r
n about) right shifts that
r
esult
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Linu
s
T
orvalds
Fix cast
i
n
struction gener
a
tion
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2006-10-01
Linus Tor
v
a
l
ds
M
e
r
ge branch 'for-linus' of git://git
.
k
ernel
.
org/pub
.
.
.
commit
|
commitdiff
|
tree
2006-10-01
Linus Torv
a
lds
Add war
n
ing message for
naked do-wh
i
le
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-09-03
Linus T
o
rvalds
Make sparse warn about in
i
tializers that i
n
itialize
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-08-01
Lin
u
s
Torvalds
Fir
s
t
c
u
t
at
something th
a
t approaches a
san
e
-Wsh
a
d
o
w
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
L
inus T
o
r
v
alds
A
v
oi
d
bogus gc
c
warnings abo
u
t unused result
s
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Linus Torvalds
Fix dropped type info
r
mat
i
on
i
n
"add_pseudo()"
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-06-10
Linus Torva
l
ds
Fix NULL ptr dereference with bad t
y
pe
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-05-09
Linus Torvalds
Me
r
ge bran
c
h 'init-braces-fix
'
of
git://git
.
k
erne
l
.
.
.
commit
|
commitdiff
|
tree
2006-01-08
Linus
T
o
r
valds
Fix inco
r
rect cast si
m
p
l
ification aro
u
nd
'
~
'
o
peration
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-12-31
Lin
u
s Torvalds
Make local declarations b
e
statements of
t
hei
r
own
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linus Torvald
s
ex
a
mple: OP_C
O
P
Y
must
d
estroy any old pseu
d
o
stat
e
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
L
i
nus Torvalds
M
a
k
e
th
e
"e
x
ample" compiler use the new unssa() p
h
ase
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-22
L
inus Torvalds
When taking the
a
ddress
of a symbol, f
i
x up the pointer
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-20
Linu
s
T
o
rvalds
Simplify some
m
o
r
e
inst
r
u
c
t
ions
commit
|
commitdiff
|
tree
2005-11-20
Linus Torvalds
Rem
o
ve tot
a
lly bog
u
s phi-source livenes
s
t
hing
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-19
Li
n
us Torvalds
Ev
a
luate expres
s
ions fully when
d
oing type com
p
ar
i
sons
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-17
Lin
u
s
Torvalds
F
ix up stupid thinko in K&R
pa
r
a
meter par
s
i
n
g
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus Torvalds
Re-name "
e
rror()
"
function to
"sparse_error()"
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus Torvalds
Fix K&R argu
m
ent scoping
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus To
r
valds
Inte
g
er prom
o
tion: l
e
a
v
e s
u
fficientl
y
large
integ
e
r
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-04
Linus
Torval
d
s
M
ake switch/c
a
se statements che
c
k
type compa
t
ibility
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
L
inus Torvalds
Cast all enum values to the final
type
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
L
i
nus
T
orvalds
M
ake
s
ure
w
e keep en
u
m
values i
n
a su
f
fic
i
ently l
a
r
ge
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-02
Li
n
us
Torvalds
A
d
d
"
.
git
i
gnore"
f
i
le
commit
|
commitdiff
|
tree
2005-11-02
L
i
nus
T
o
rvalds
Handle sym
b
ols from
"-
i
n
clude" file
to
o
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-30
L
inus Tor
v
alds
M
a
ke sure t
o
be mor
e
c
a
r
e
f
u
l about marking symbols
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
Linus Torvalds
Simplify
con
s
tant
array (or structur
e
) dere
f
e
r
ences
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
Linus Torv
a
lds
Teach dereference expansion to look into constant array
.
.
.
commit
|
commitdiff
|
tree
2005-09-24
Lin
u
s Torv
a
lds
Do stupid an
d
c
rappy CSE on casts
.
commit
|
commitdiff
|
tree
2005-09-22
L
i
n
us Torvalds
Tu
r
n the "incorrect type"
error b
a
c
k
into a warn
i
ng
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linu
s
Torva
l
ds
Ad
d
v
a
r
io
u
s
declarati
o
ns
for more bu
i
l
t
in
fu
n
ctions
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus
Tor
v
alds
Make sure that when we define
_
_OPTIMIZE[_SIZE
]
_
we
.
.
.
commit
|
commitdiff
|
tree
2005-09-09
Linus Torvalds
War
n
about
u
n
d
efined prepro
c
essor symbo
l
s at expansion
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-08-15
Linu
s
Torv
a
lds
Mak
e
'cgcc' wor
k
a
t
l
e
ast half-wa
y
better
commit
|
commitdiff
|
tree
2005-08-15
L
inus Torvalds
Fix parsi
n
g
of top-
l
eve
l
as
m
s
ta
t
ements
commit
|
commitdiff
|
tree
2005-08-15
Linus Torva
l
ds
Add __OPTIMIZE[_SIZ
E
]__ predefines
commit
|
commitdiff
|
tree
2005-08-15
L
inus To
r
v
alds
Clean up iterator handling
commit
|
commitdiff
|
tree
2005-08-11
Linus Tor
v
alds
Make delete_las
t
_instruc
t
ion
(
) use the new
u
n
do_p
t
r_list_las
.
.
.
commit
|
commitdiff
|
tree
2005-08-11
Linus
T
orval
d
s
Add 'undo_ptr
_
list_last()'
h
elp
e
r fun
c
tion
commit
|
commitdiff
|
tree
2005-08-06
Lin
u
s Torvalds
H
ave
m
or
e
bits for "stream number" in "struct pos"
commit
|
commitdiff
|
tree
2005-08-04
Lin
u
s Torvalds
Don
'
t overwr
i
te
built-in m
a
cros when redefining t
h
em
.
commit
|
commitdiff
|
tree
2005-08-04
L
i
n
us Torvalds
U
p
date the call
i
ng int
e
rface
to "sp
a
rse()"
.
commit
|
commitdiff
|
tree
2005-08-03
Linus
T
or
v
alds
G
e
t
c
loser to parsing multiple fi
l
es c
o
rrectly
.
commit
|
commitdiff
|
tree
2005-08-03
Lin
u
s Torva
l
ds
Add function to "pro
t
ect" allocations f
r
om
b
eing dropped
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Tor
v
alds
D
o
n't
f
ree expressio
n
s
a
ft
e
r pre
p
rocessing
commit
|
commitdiff
|
tree
2005-08-03
Li
n
us Torvald
s
Add
D
EBUG mode, whi
c
h
enables v
a
rious exp
e
ns
i
ve debug
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Li
n
us Torv
a
lds
Ma
k
e types have f
i
le
sco
p
e,
n
o
t
g
lobal scope
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
Make "sp
a
r
s
e()"
h
an
d
l
e m
u
ltiple input
f
iles on the
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus T
o
rvalds
M
a
k
e mac
r
os
h
av
e
file
s
cope
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
When dropping all alloca
t
ions, clear the free
l
ist too
commit
|
commitdiff
|
tree
2005-08-02
L
inus Tor
v
alds
Start work on proper scoping w
i
th multip
l
e
files
commit
|
commitdiff
|
tree
2005-07-11
Linus Torvalds
Don't warn about "noc
a
st" warnings that only chang
e
.
.
.
commit
|
commitdiff
|
tree
2005-07-03
Linus Torvalds
Add "__b
u
iltin
_
offsetof()" t
o
work wi
t
h new
e
r
g
c
c
's
commit
|
commitdiff
|
tree
2005-06-21
L
i
n
u
s
Torva
l
ds
Be mo
r
e careful abo
u
t line
a
rizing condi
t
ion
a
ls
commit
|
commitdiff
|
tree
2005-06-20
Li
n
us Torvalds
Initial cut at
_
_builtin_expe
c
t() imple
m
e
n
tation
commit
|
commitdiff
|
tree
2005-06-20
L
inu
s
T
o
rvalds
D
efa
u
lt to r
e
p
o
r
tin
g
the same GNU C ver
s
ion as the
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Lin
u
s T
o
rvald
s
Fix assignment
a
n
d
c
o
n
ditio
n
al
expre
s
sion parsi
n
g with
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
L
i
nus Torvalds
Fix SIGSEGV on assignment to bad left side
.
commit
|
commitdiff
|
tree
2005-06-17
Linus
Torvalds
Fix up a
f
ew missing base type evaluations
commit
|
commitdiff
|
tree
2005-06-17
L
i
n
us Torvalds
Fix up type examination
.
commit
|
commitdiff
|
tree
2005-05-19
Linus Torvalds
Don'
t
wa
r
n
a
bout u
n
declar
e
d "main
(
)" function
.
commit
|
commitdiff
|
tree
2005-05-19
L
inus Torvald
s
Fix posit
i
on repor
t
ing o
n
unterminated p
r
ep
r
ocessor
.
.
.
commit
|
commitdiff
|
tree
2005-05-17
Linu
s
Torva
l
ds
F
i
x SIGSE
G
V on non-
A
NSI function-
l
ine declar
a
tions
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
v
alds
G
i
v
e functio
n
nam
e
i
n no
n
-ANSI declaration warning
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvalds
Make enu
m
s
y
m
bols be regula
r
symbo
l
s
with consta
n
t
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Warn about implicit casts
to/from "nocast" types
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s
T
orvalds
Move the ptrlist macros o
u
t of the sparse "lib
.
[
ch
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Handle bad enum expressi
o
n ty
p
e
s
g
r
acefully
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
o
r
val
d
s
Add su
p
port for co
n
text checkin
g
functions
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus
To
r
v
a
l
ds
Na
m
e
st
a
tic
l
ibr
a
ry "libsp
a
rse
.
a" t
o
ma
t
ch
shared
li
b
rary
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
in
u
s
T
orval
d
s
Don't w
a
rn about zero-sized "siz
e
of"
commit
|
commitdiff
|
tree
2005-04-08
L
inus T
o
rvalds
Warn about und
e
clared iden
t
ifiers
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torv
a
lds
Support bu
i
lding
s
parse as a s
h
ared library
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rval
d
s
Warn
a
bout sizeof of
z
ero siz
e
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
n
u
s Torvalds
Be more careful about removing im
p
licit casts
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvald
s
M
ake sure to re
-
e
xamine a struct/union/enum type
a
fter
commit
|
commitdiff
|
tree
2005-04-08
Linus Torv
a
ld
s
Mak
e
"check" (aka sparse) chec
k
a
rguments
to some functions
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orval
d
s
F
i
x typo (duplicate sr
c
2
should be src3) i
n
simplif
y
_range
commit
|
commitdiff
|
tree
2005-04-08
L
inus T
o
r
valds
Remov
e
old stale pointer
d
e
r
eference type mes
s
,
that
commit
|
commitdiff
|
tree
2005-04-08
L
inus Torvald
s
Export "is_ptr_type()" h
e
lper
f
unction to
o
thers
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus
Tor
v
alds
A
v
oid SI
G
S
E
GV w
h
en linearizin
g
bad expressi
o
ns
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Don't
drop modifier
bits from a member de
r
eference
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Us
e
the new
per-instruction pos
i
tio
n
information fo
r
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
T
o
rva
l
ds
Ma
k
e
each instruc
t
ion
h
ave a posi
t
io
n
of its own
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Make range
c
heck
c
ode a bit more readable (and more
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Tor
v
alds
Ad
d
comp
i
le-time
"ran
g
e-check" infrastructure to sparse
commit
|
commitdiff
|
tree
next