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
sparse 0.4.4
2011-08-28
Linus Torvalds
M
a
ke 'l
i
nearize_re
t
urn()' helpe
r
func
t
ion
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-08-28
Linus
Torv
a
lds
M
ake
'
l
in
e
arize_switch
(
)' helper function
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-08-28
L
i
nus Torvalds
Make 'lineari
z
e_iterat
o
r
()' helper function
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-04-19
Li
n
us Torvalds
Teach '
a
lread
y
_tokenized()' to use the
stream
n
ame
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-04-19
L
i
nu
s
Torvalds
Add new stre
a
ms
to a hash-list based
o
n
thei
r
names
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Linus Torvalds
Avoid "attribute 'war
n
ing': unknown
attribute
"
warning
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Lin
u
s Torvalds
Turn off '-Wtransp
a
r
en
t
-u
n
ion' by default
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
L
i
n
u
s Torv
a
l
ds
Al
l
ow array dec
l
arat
o
r
s to have 're
s
t
rict' in them
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Linus
Torval
d
s
Si
m
pl
i
fy (and warn abou
t
) right
shifts that
r
es
u
lt
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Linus Torvalds
Fi
x
ca
s
t instru
c
tion generation
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2006-10-01
Lin
u
s Torvalds
M
e
rge br
a
nch 'fo
r
-linus' of
g
it:/
/
git
.
kernel
.
org/pub
.
.
.
commit
|
commitdiff
|
tree
2006-10-01
Linus
Torv
a
lds
Add warnin
g
m
essage
for naked do-w
h
ile
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-09-03
Linus Torval
d
s
Make sparse warn about init
i
a
lizers
t
hat initialize
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-08-01
Linus Torvalds
Fir
s
t cut at something th
a
t
approaches a sane -Wsh
a
dow
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Linus Torv
a
lds
Avoid bogus gcc wa
r
nings about
u
nused
r
esults
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Linus Torvalds
Fix
dropped type i
n
formation in "add_pseudo()"
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-06-10
Linu
s
To
r
v
alds
Fix NULL ptr dereference with bad type
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-05-09
Li
n
us Torvalds
Merge
branch 'in
i
t-
b
ra
c
es-
f
ix' of
git://git
.
k
ernel
.
.
.
commit
|
commitdiff
|
tree
2006-01-08
Linus Torvalds
Fix incorrect cast si
m
p
li
f
ica
t
io
n
around '
~
' operation
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-12-31
L
inus Torvalds
Make l
o
c
a
l decl
a
rati
o
ns b
e
statements
o
f thei
r
ow
n
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linus Torvalds
example:
O
P_COPY
m
ust destroy an
y
o
l
d pse
u
do sta
t
e
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linus Torvalds
Mak
e
the "ex
a
m
ple" comp
i
ler us
e
t
he new unssa() phase
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-22
Li
n
us Torvald
s
When tak
i
ng
t
he ad
d
r
e
ss of a
symb
o
l
,
f
ix u
p
the pointer
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-20
Linus
Torv
a
lds
Simplify some
m
o
re instructions
commit
|
commitdiff
|
tree
2005-11-20
Li
n
us Torvalds
Re
m
ove
t
otall
y
bo
g
us phi-s
o
urce liveness thing
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-19
Linus Torvalds
Evaluate expressions
f
ully when doing type comparisons
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-17
Linus To
r
valds
Fix up stupid thinko in
K
&R parameter
parsing
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
L
i
nus Torvalds
R
e
-
n
ame
"e
r
ror()" functio
n
to "sparse_error()"
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus
Torvald
s
Fix K&R argume
n
t scopin
g
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus To
r
valds
Inte
g
er promotion: le
a
ve suffici
e
ntl
y
lar
g
e integer
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-04
Lin
u
s Torv
a
lds
Mak
e
s
wi
t
c
h
/case
s
tateme
n
ts check type c
o
mpatibility
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
Linus Torva
l
ds
C
ast all enu
m
val
u
es
t
o the final t
y
pe
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
Linus T
o
r
v
alds
M
a
k
e
sure we keep enum values in a suff
i
ciently lar
g
e
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-02
Linus Torvalds
A
d
d
"
.
g
iti
g
nore" fi
l
e
commit
|
commitdiff
|
tree
2005-11-02
Linus Torvalds
Handle sy
m
bols f
r
om "-include" fil
e
too
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-30
L
i
n
u
s
Torvalds
Make sure to be m
o
re
careful about mark
i
ng symbols
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
Linus
Tor
v
alds
Simplify
c
onsta
n
t
a
rray (
o
r struc
t
ure) dereferences
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
Linus Torvalds
Teach deref
e
rence expan
s
ion t
o
loo
k
into con
s
tant array
.
.
.
commit
|
commitdiff
|
tree
2005-09-24
Linus Torvalds
Do stupid and crappy CSE on
casts
.
commit
|
commitdiff
|
tree
2005-09-22
Linus To
r
val
d
s
Tu
r
n the "in
c
o
r
rec
t
typ
e
" error
b
ack in
t
o
a warning
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus T
o
r
v
alds
Ad
d
variou
s
declaratio
n
s for more builtin func
t
ions
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
L
i
nus
Torvalds
Make sure t
h
at
when we def
i
ne __OPTI
M
IZE[_SIZE]_
w
e
.
.
.
commit
|
commitdiff
|
tree
2005-09-09
Linus
T
orvalds
Warn
a
bout u
n
d
e
fine
d
preprocessor
sym
b
ols at e
x
pansion
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-08-15
Linus Torvalds
Make 'cgcc' w
o
rk at least
h
al
f
-way
better
commit
|
commitdiff
|
tree
2005-08-15
Linus Torvalds
Fi
x
parsing of top
-
le
v
el
a
sm s
t
atements
commit
|
commitdiff
|
tree
2005-08-15
Linus Torvalds
Add __OPTIMIZE[_SIZE]__ pre
d
efines
commit
|
commitdiff
|
tree
2005-08-15
Li
n
u
s Torvald
s
Clean u
p
iterator handl
i
ng
commit
|
commitdiff
|
tree
2005-08-11
L
i
nus To
r
valds
Make delete_last
_
instru
c
tion()
us
e
the new und
o
_ptr_list_
l
as
.
.
.
commit
|
commitdiff
|
tree
2005-08-11
L
inus Torvalds
Ad
d
'un
d
o_ptr_list_last()' helper function
commit
|
commitdiff
|
tree
2005-08-06
Linus
T
orvalds
H
ave more
b
its for
"
stream
number" in
"
s
tr
u
ct pos
"
commit
|
commitdiff
|
tree
2005-08-04
L
i
nus Torvalds
D
on't overwr
i
te built-in macros when re
d
efining the
m
.
commit
|
commitdiff
|
tree
2005-08-04
Linus T
o
r
va
l
ds
U
pdate the callin
g
interface to
"
sparse(
)
"
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
Get closer to par
s
ing multiple files
c
orrectly
.
commit
|
commitdiff
|
tree
2005-08-03
Linus To
r
valds
Add f
u
nction
to "protect" al
l
oc
a
tions from being dropped
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvald
s
Don't
free expressions a
f
ter preproces
s
i
ng
commit
|
commitdiff
|
tree
2005-08-03
Linu
s
Torvald
s
Add DEBUG
mo
d
e
, w
h
ic
h
enables variou
s
expensive de
b
ug
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Lin
u
s
T
orvalds
Make ty
p
es have file scope, not
g
lobal scope
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
Make "sparse(
)
" handle m
u
l
t
iple in
p
ut files o
n
the
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torval
d
s
Make macros have fil
e
sco
p
e
commit
|
commitdiff
|
tree
2005-08-03
Linus
T
orvalds
W
he
n
dropping
a
ll a
l
lo
c
ations, clear
t
he freelist too
commit
|
commitdiff
|
tree
2005-08-02
Linus Torvalds
Start work on proper
s
cop
i
ng with multi
p
le
files
commit
|
commitdiff
|
tree
2005-07-11
Linus To
r
v
a
ld
s
Don't warn about "n
o
cast" warnings that only change
.
.
.
commit
|
commitdiff
|
tree
2005-07-03
Linus Torvalds
Add "__builtin_offsetof()" to work with n
e
w
er gcc's
commit
|
commitdiff
|
tree
2005-06-21
Linus Torvalds
Be more careful a
b
out linearizing conditio
n
a
ls
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvalds
Initial cut at __
b
uiltin_expect()
implem
e
ntation
commit
|
commitdiff
|
tree
2005-06-20
L
i
nus Tor
v
alds
Default to reporting the same
GNU C version as the
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvalds
Fi
x
assignment
a
nd c
o
nditional
e
xpr
e
ss
i
on parsin
g
with
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvalds
Fix SIGSE
G
V on assignment to bad
l
eft
s
ide
.
commit
|
commitdiff
|
tree
2005-06-17
Linus Torvalds
Fix up
a
f
ew
m
issing b
a
se typ
e
evaluat
i
ons
commit
|
commitdiff
|
tree
2005-06-17
Linus Torvalds
Fix up type exa
m
ination
.
commit
|
commitdiff
|
tree
2005-05-19
Linus
Torval
d
s
Do
n
't warn a
b
o
u
t
undecla
r
ed "main()" function
.
commit
|
commitdiff
|
tree
2005-05-19
Linus T
o
rva
l
d
s
Fix positi
o
n reporti
n
g on unter
m
inated preproc
e
ssor
.
.
.
commit
|
commitdiff
|
tree
2005-05-17
Linus T
o
rva
l
ds
F
i
x SIGS
E
GV on non-ANSI functi
o
n
-
line
declarati
o
ns
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Give function
name in non-ANSI d
e
c
l
aration warning
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torva
l
ds
M
a
ke enum
s
y
mbols be reg
u
l
ar symbols with c
o
nstant
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvalds
Warn
a
bout
implicit cas
t
s
t
o/fro
m
"nocast" types
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Mo
v
e the ptrl
i
st
ma
c
ros out of the sp
a
rse
"l
i
b
.
[ch
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
n
us Torv
a
lds
Handle bad enum exp
r
ession types gra
c
efully
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
r
valds
Add support for context c
h
ecking func
t
io
n
s
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torval
d
s
Na
m
e static
l
i
brary "
l
ibspars
e
.
a" to match
shared li
b
rary
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Torvalds
Don't warn ab
o
ut
zer
o
-size
d
"s
i
z
e
of"
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Wa
r
n
abou
t
un
d
eclared identifi
e
rs
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Tor
v
a
lds
Support building sparse a
s
a
sha
r
ed library
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
War
n
a
b
out
s
izeof
o
f zero s
i
ze
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s
T
o
rva
l
d
s
Be more
c
areful about removing implicit c
a
sts
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvalds
Make sure
t
o
r
e-examin
e
a
s
truct/union/enum type
a
fter
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make "check"
(
a
ka spars
e
)
check argument
s
t
o
som
e
func
t
ions
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Fix t
y
po
(
d
u
p
l
icate sr
c
2 should be s
r
c
3)
i
n simpl
i
fy_range
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torval
d
s
Remove old s
t
ale pointer derefe
r
ence type mess,
that
commit
|
commitdiff
|
tree
2005-04-08
L
inus Tor
v
alds
Export "i
s
_ptr_type()" helper function to others
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us
Torvald
s
Avoid SIGSEGV wh
e
n lin
e
ar
i
zing bad expr
e
ssions
.
commit
|
commitdiff
|
tree
2005-04-08
L
inu
s
Torvalds
D
o
n
'
t drop modifier b
i
ts
fr
o
m
a member dereferen
c
e
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Use t
h
e
new per-in
s
t
r
ucti
o
n p
o
si
t
ion information for
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvalds
Make each instruction have
a position
o
f
i
t
s
own
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us
T
o
rvalds
Make
r
a
n
ge c
h
e
ck code a bit mor
e
r
ea
d
able
(
and more
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus Torvalds
Add
c
ompile-time
"rang
e
-
check
"
infrastruct
u
re to
sparse
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torva
l
ds
Make sure we evaluate pointer comparison
s
as un
s
igned
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvalds
Shut up
i
nfo
r
mati
o
na
l
messages on
c
e
we've hit the maximum
commit
|
commitdiff
|
tree
2005-04-08
L
i
n
u
s Torvalds
M
a
ke "ch
e
ck" (aka "sparse"
)
c
h
eck data-
d
ropping casts
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make si
m
plification
r
e
m
ove casts that
chang
e
neither
.
.
.
commit
|
commitdiff
|
tree
next