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
Print fewer Unclear locking messages.
2008-10-07
Dan Ca
r
p
enter
kmalloc() and friends don't always retu
r
n a non-
n
ull
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-06
Dan
C
arpen
t
er
The check
s
f
r
om here got m
e
r
ged
into check_null_de
r
ef
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-04
Da
n
Carpen
t
e
r
Move the st
u
ff from ch
e
ck_derefed_par
a
ms
.
c into check_nu
l
l_d
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-04
D
a
n Car
p
enter
Fi
x
bug
i
n or_slist_
s
tack
(
)
.
if
(
a &&
b) wa
s
n
't being
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-30
Dan Carpenter
A
d
d a
h
ook at the end of
a
file
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-28
Dan Carpenter
F
orgot another s
t
ri
p
_expr() call
.
.
.
:/
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-28
Dan
Carpenter
Handle assignmeents inside
c
o
n
dit
i
ons better
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-28
D
a
n Carpen
t
e
r
Only p
r
int somethi
n
g for a->fo
o
and not a
.
foo
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-25
D
an Carpent
e
r
Ignore array
d
eclarations
.
Those can't be
N
ULL obviously
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-23
Dan
C
arp
e
nter
Make cur_slis
t
static
.
It
'
s onl
y
used in smatch_st
a
te
s
.
c
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-22
Da
n
Carpen
t
er
White space ch
a
nges
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-22
D
a
n Carpen
t
er
U
se mer
g
e_
s
l
ist
(
) in
s
t
e
ad of trying to hand
l
e
i
t yourself
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-22
Dan Carpenter
__process_cont
i
nues() is supposed to be basically the
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
D
a
n Carpenter
New sm
a
tch_ignore
.
c file
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
Dan Carpe
n
te
r
(foo)
= 1 is
the
s
a
me as foo = 1
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
Dan
Carpenter
Generalize st
i
p_cast
s
()
.
It
'
s
n
o
w
call
e
d strip_
e
xpr
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan C
a
rp
e
n
ter
Ig
n
o
re casts
.
foo((i
n
t
*)&
b
ar) is the
s
ame as foo
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan
Carpenter
C
reated show_state()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan Car
p
enter
I
g
n
ore stuff like foo
.
bar
.
We only care about
f
oo
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
D
a
n Ca
r
p
e
nt
e
r
What happ
e
ns before is
that p
a
r
a
meters would get as
s
igned
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Dan
Carpen
t
er
Misse
d
a crashing bug in t
h
e
i
n
t =>
s
truc
t
conver
s
ion
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Dan
C
arpenter
I can't
b
el
i
e
ve I was doi
n
g stacks wrong this
wh
o
le
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Dan Carpenter
C
hanged smatch s
t
ate from being an int to
b
eing
p
ointer
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpent
e
r
I
want to reuse t
h
e
n
ame
s
match_st
a
te
.
T
h
e curr
e
nt
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
D
an
Carpenter
Redo
the nul
l
path thing
.
So long a
s
t
her
e
is
o
ne
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpent
e
r
Clean up
.
Compl
i
c
a
ted is ju
s
t a bool
e
an
.
Set it to
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-01
Dan
Carpenter
Merg
e
b
r
anch 'devel'
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
Save th
e
pre cond
i
tions
i
nside the co
n
d
i
tions so tha
t
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-01
Da
n
Carpenter
The main
c
hange here
w
a
s to co
m
p
let
e
ly rewrite how
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-21
Dan Carpen
t
er
B
r
eak things ou
t
i
nto functions a b
i
t
.
Clean ups
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-21
Dan Carpenter
Handle
whil
e
a
n
d
for loops sligh
t
ly better
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-18
Dan Carpe
n
t
e
r
I
r
emoved nullify_
p
a
t
h
() earlier
b
u
t
that was a mistake
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan C
a
rpenter
I don
'
t
th
i
nk the special_kernel_macros() function
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
D
a
n
C
arpenter
Ad
d
a func
t
ion to do a strcmp() with a
symbo
l
name
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
R
e
move
ev
e
rything to do with pat
h
_id'
s
.
I couldn't
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
D
a
n Car
p
enter
Replace the variab
l
e
__negat
e
with the function __negat
e
()
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
S
mall cl
e
an
up
.
M
ove the pa
s
s
ing the whole
c
ond
i
tion
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carp
e
nter
Crap
.
I
m
eant to me
r
ge this
earlier
when I divided
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Da
n
Ca
r
penter
Ad
d
a comment
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Moved all the logi
c
for handling con
d
iti
o
ns into a
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
D
an Carpenter
Oops
.
I
gu
e
ss I deleted
t
he
wro
n
g list
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
D
an
C
a
r
penter
D
o
n
't pass the content
s
of sizeof() to t
h
e
c
lient
.
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpent
e
r
Impr
o
v
e how the deb
u
g inf
o
for mergi
n
g states gets
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan
Carpenter
The m
a
in thin
g
i
s
to han
d
le
z
ero compa
r
i
s
ons be
t
ter
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpenter
Remove unneeded code
.
Th
i
s stuff is ha
n
dled
i
n s
m
atch_
f
low
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan
C
ar
p
e
nt
e
r
We
need to be
able to b
r
e
a
k down (
f
o
o
!= 0) for BUG
_
O
N
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Identify
f
or(;;) type
l
oops as for
e
ve
r
loops
.
This
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Da
n
Ca
r
penter
Add suppor
t
f
or BU
G
_ON()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpe
n
t
e
r
What I've seen
is st
u
ff
like
this:
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Anything that we don't ha
n
dle is obviously co
m
plica
t
ed
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan C
a
rpe
n
ter
Merge bran
c
h
'devel'
commit
|
commitdiff
|
tree
2008-08-15
Dan
C
arp
e
nter
Add
a
commen
t
to get
_
v
a
r
i
ab
l
e_fro
m
_expr_
s
imple()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Add a comment t
o
get_variabl
e
_from_exp
r
_simple()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
The nul
l
ify_
p
ath() here is a bug
.
I
t
ove
r
-writes a
l
l
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
__print
_
cu
r
_s
l
i
st()
is a useful functio
n
for debug
g
i
ng
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
D
a
n
Carpent
e
r
I
f
you
have something l
i
ke
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpenter
Update
t
h
e
line numbers for e
a
ch statement
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpent
e
r
C
h
ange the merge
r
ules
f
or
custom merge scripts so
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpenter
Mo
v
e SM_DEBU
G
t
o
a
heade
r
so
e
veryone can use i
t
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Da
n
C
arpenter
Add a
custom
m
er
g
e funct
i
on
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-11
Dan Ca
r
pe
n
ter
Update
the
l
ine number at th
e
very start of the
f
u
n
ctio
n
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-10
D
a
n
C
ar
p
ente
r
Change
th
e
debu
g
output a
b
it
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-09
D
an Car
p
enter
Add
a
--debug optio
n
.
I
t has to be the fi
r
st
o
ption
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-07
D
an Carpenter
Make sure
the va
r
iable name
i
s
NULL te
r
minat
e
d
otherw
i
se
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-07
D
a
n Carpe
n
t
e
r
Small clean
ups
.
No change in behavio
r
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-06
Dan Carpenter
This is an off by
o
ne er
r
or rea
l
ly
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-05
Da
n
Carpen
t
er
Th
e
spars
e
_i
n
i
tialize()
function now
takes a
f
ilel
i
st
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree