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
flow: fix some ordering bugs in handling DEREFs and PREOPs
2024-02-01
Dan Carpenter
flow: fix some ord
e
rin
g
bug
s
i
n handling DEREFs and
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2024-01-31
Dan Carpen
t
er
d
b
/kern
e
l
.
delete
.
r
e
tu
r
n_states
:
d
elet
e
some imp
o
ssible
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2024-01-29
Dan Carpe
n
te
r
double_fget: warn abou
t
re-using file desc
r
iptors
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2024-01-29
Dan
C
arpenter
M
e
rge https:/
/
git
.
kernel
.
org/pub/
s
cm/dev
e
l/spa
r
se/sparse
.
.
.
commit
|
commitdiff
|
tree
2024-01-29
Dan Carpenter
states: c
o
rr
e
ct a typo in some comments
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2024-01-29
Dan C
a
rpenter
flow/c
o
nditions: fix
o
rdering bug
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2024-01-18
Dan Carpent
e
r
sl
i
st: in
t
roduce __diff_s
t
ree()
for debuggi
n
g
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2024-01-09
Dan Ca
r
pe
n
ter
or_vs_and:
s
ilence some fal
s
e
positives
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2024-01-08
Dan Carpenter
he
l
per: make expr_to_str()
print comma expr
e
ssion
s
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2024-01-08
Dan Carpenter
un
i
nitialized_kobj
:
t
u
r
n off when
the DB isn't used
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2024-01-08
D
a
n
C
arpenter
unsigned_
l
t_zero: i
g
nore "
N
F_CT_HELPER_BUILD_BUG_ON
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2024-01-05
Dan C
a
rpenter
kernel_
h
as_
d
evm_clean
u
p: a
d
d drmm_add_action_or_re
s
et()
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2024-01-05
Dan Carpente
r
flow: pull
if state
m
ent handling
into its own f
u
nctio
n
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2024-01-05
Dan
Car
p
enter
memcpy_
o
verflow
:
add o
t
h
er m
e
mcpy() fun
c
tio
n
s
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2024-01-05
D
an
C
a
r
penter
states:
p
reserve
out of s
c
ope states
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2024-01-05
D
a
n Carpenter
units
:
add pixel u
n
its
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2024-01-05
Da
n
Carpenter
sle
e
p
_
info: silenc
e
some f
a
ls
e
positives
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-12-16
Dan
Carpent
e
r
pa
r
s
e: handle __cleanup__ at
t
ri
b
u
t
e
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-12-11
Dan
C
a
rpent
e
r
ker
n
el
.
che
c
k_string_condition
.
ignore: ig
n
o
re acp_dev_h
i
d_uid
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-12-08
Dan Carpe
n
ter
d
b/kernel
.
return_fixes: pl
a
t
f
orm_get_i
r
q_byname d
o
esn
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-12-08
Dan C
a
rpenter
db/fixup_kernel
.
sh: no user
data is passed to suspe
n
d
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-12-08
Dan Ca
r
penter
db/fixup
_
kernel
.
sh: fixup kmalloc(
)
returns
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-12-08
Dan
Carp
e
nter
db/fixup_kernel
.
sh:
f
ixu
p
sysfs re
a
d/write
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-12-06
Dan Carpe
n
ter
kernel_err
_
ptr: em
p
ty states ar
e
not error pointers
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-12-06
Dan Carpenter
typ
e
:
fix some t
y
p
e
p
r
omot
i
on bugs for units with the
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-12-05
Dan Carpen
t
er
pr
e
empt_info: ad
d
cla
s
s_write_l
o
ck_i
r
q_destructor()
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-12-04
Dan
C
arpenter
unsinged_lt_zero: allo
w
unsig
n
ed com
p
arisons with KASAN_SHA
D
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-12-01
Dan Carpen
t
e
r
units: anything
c
an be saved to
a
r
egister
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-12-01
Dan Carpenter
units: remov
e
some
g
u
essing
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-12-01
Dan
C
a
rpenter
f
l
ow: don't cal
l
scop
e
_gu
a
rd hooks
twic
e
at the
e
nd
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-12-01
Dan Carp
e
nter
flow: fake returns for inl
i
ne functions
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-11-29
Dan
Ca
r
pe
n
ter
pars
e
:
add a
c
heck for NULL in stm
t
_get_parent_stmt(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-11-29
Dan Carpenter
db/kernel
.
return_fix
e
s
: ad
d
__hc
i
_cmd_sy
n
c_sk()
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-11-29
D
a
n
Carpenter
d
b
/kernel
.
ret
u
rn_fixes: fix s
c
ope_guard() parsi
n
g
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-11-21
Dan Car
p
enter
par
a
m_s
e
t:
r
em
o
v
e dup
l
ic
a
te math s
t
rings
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-11-09
Dan Ca
r
penter
check_u
n
wind: fix request_firmware()
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-11-07
Dan Carpent
e
r
check_kernel: fix th
e
build
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-11-07
D
an C
a
rp
e
nte
r
assign_v
s
_compar
e
: silence bcache false posit
i
ves
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-11-01
Dan C
a
r
penter
free/refcou
n
t: mov
e
refcou
n
t
_
w
a
s
_inced() t
o
refcount
.
c
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-11-01
Dan Carpenter
ke
r
n
e
l
_kref_put: move to
a
d
i
fferent file
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-11-01
D
an Carpenter
chec
k
_kernel: a
d
d
s
up
p
ort for with_intel_display(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-11-01
Dan Carpent
e
r
check_k
e
rnel: add support for msec() to jiffies
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-11-01
Dan Carpent
e
r
c
heck_kernel: add support for size_a
d
d() an
d
siz
e
_mul()
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-11-01
Dan Carpenter
check_kerne
l
: add support for put_device
(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-11-01
D
a
n Carp
e
nter
l
ocki
n
g: hand
l
e
c
lass_mutex_des
t
r
u
ctor()
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-11-01
Dan Carpenter
assig
n
ed_expr:
m
ak
e
skip
_
mod
f
uncti
o
n_data
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-11-01
D
a
n Ca
r
penter
assigned_e
x
pr: handle fake parameter assign
m
ents
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-31
Dan Carpe
n
ter
unchecked_alloca
t
ion: use the smatch
_
dereference
.
c
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-26
Dan
C
a
rpenter
free_stri
c
t: remo
v
e kr
e
f_put()
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-26
Dan Carpen
t
er
free_strict:
_
_skb_pad() o
n
ly frees
on error
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-26
Dan
C
arpenter
b
u
f
_compari
s
on:
i
ntroduce
t
h
e
b
uf_has_bytes() function
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-26
Dan Carpenter
buf_size: tr
a
ck
t
h
e size of str
u
cts wh
e
n people u
s
e
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-26
Dan
Carpenter
sm
d
b
.
py:
improve type_size output
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-26
Dan Carpen
t
er
ex
t
ra: don't track array assignments
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-26
Dan Carpenter
functio
n
_ptrs:
don
'
t t
r
a
ck func
t
i
on point
e
rs
p
assed
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-26
Dan Carpenter
h
e
lper: improve
get_m
e
m
b
er_na
m
e()
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-26
Dan Carpent
e
r
hoo
k
s
:
remove some unnecessary
NULL checks
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-26
Dan Carpe
n
ter
debug: p
r
event uninitialized variable
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-26
Dan Carpenter
point
s
_to_user_data: add a com
m
ent
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-26
Dan
C
arpenter
f
rees_param_str
i
ct: track container_of bett
e
r
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-25
Dan
C
a
rpenter
fre
e
s_param_strict:
track
M
AYBE_FR
E
ED
p
arameters
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-25
Da
n
C
arpenter
f
ree_strict: add support for
_
_
skb_pad()
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-20
Da
n
Car
p
enter
str
i
ngs
:
fix crash
bug parsing
foo
= bar ?: baz
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-19
Dan Carp
e
nter
db: don't mark
t
h
e db as
i
n
c
ompl
e
te because of check_debug
.
h
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-19
Dan Carpe
n
ter
ke
r
n
el_user
_
data: don't inser
t
useless d
a
t
a
i
nto th
e
DB
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-18
Dan C
a
rpente
r
data/kernel
.
unconstant_ma
c
ro
s
: ad
d
more macro
s
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-12
D
a
n
Ca
r
penter
flow: call
s
c
ope hook
s
b
e
f
or
e
r
ecordi
n
g the
cross funct
i
o
n
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-12
Dan Carp
e
n
t
er
dere
f
:
fix a crashing bug
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-11
Dan C
a
rp
e
nter
p
a
rse: i
g
nore
_
_seg_
g
s
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-06
Dan Carpenter
free_strict: pass the co
r
r
ect expres
s
ion to free hooks
.
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-06
Dan Carpente
r
de
r
e
f
e
rence: add spinlock
_
ch
e
ck() a
s
a dereference
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-06
D
an Carpenter
d
o
uble_checking: silence some false
p
osit
i
ves
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-06
Dan C
a
rpenter
do
u
b
l
e_checkin
g
: d
i
sa
b
le implications
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-06
Dan Carpenter
ato
m
ic_dec_tes
t
_path: ha
c
k a
r
oun
d
assignments
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-06
D
an
C
ar
p
enter
k
ernel_user_dat
a
: delete some dead code
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-06
D
a
n Carpenter
re
f
cou
n
t_info: add some mo
r
e r
e
fcount functions
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-06
Dan Carpenter
l
o
c
k
ing:
r
e
-add rele
a
se
_
sock()
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-06
Dan Carpenter
store
d
_
c
ond
i
tions:
commit useless c
o
de
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-06
Dan Car
p
e
n
ter
refcount: partial in
c
rement
s
count as i
n
c
r
ements
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-05
Dan
C
arpente
r
ranges:
fix
e
rr
o
r
p
ointer handli
n
g cross compil
i
ng
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-05
Dan Ca
r
pente
r
flow: more fixes for c
l
eanu
p
code
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-05
Dan Carpenter
flow
:
move some code around
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-05
Dan Carpe
n
t
e
r
flow/deref
e
ren
c
e: handle *&foo->
b
ar b
e
t
t
er
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-05
Dan
Carpenter
derefere
n
ce: handle frob
(
&
foo-
>
b
a
r
)
; better
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-10-02
Dan Carpenter
dereference: ignore
pointer math be
t
ter
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-09-28
Dan Carpenter
locki
n
g: hard code some lo
c
ks
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-09-28
D
a
n Ca
r
pent
e
r
locki
n
g: add class_mutex_d
e
structor()
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-09-27
Dan Carpenter
preemp
t
_info: add c
l
ass_raw_
s
pinl
o
ck_irq_
d
estructor()
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-09-25
D
an Carpent
e
r
points_to_user_da
t
a: add
xdr
_
copy_t
o
_scratch()
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-09-25
Dan C
a
rpenter
slist
:
se
t
the correc
t
sm->line in set_state_stree_perm()
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-09-25
Dan Car
p
enter
err_ptr_deref: silence mlx5_
e
swi
t
c
h
_get_vpor
t
(
)
w
arni
n
gs
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-09-15
Dan Carpenter
l
o
cki
n
g: remove release_sock()
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-09-14
Dan Ca
r
penter
ty
p
e: f
i
x cr
a
sh parsing bc
a
che code
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-09-11
Dan C
a
rpe
n
ter
preempt_info: ad
d
class_sp
i
nl
o
c
k
_irqsave_destructor(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-09-11
Dan Carpe
n
ter
parse:
fix how c
l
e
a
nup attributes a
r
e
h
a
ndl
e
d
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-09-11
Dan Carpenter
preempt
_
in
f
o: Use
param
-2 inste
a
d of -1
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-09-11
Dan Carpe
n
ter
preempt_info: add
c
lass_raw_s
p
inlock_irqsave_dest
r
uc
t
o
r()
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-09-11
Dan Carpenter
fl
o
w
: fix scope hoo
k
s for
f
o
r loo
p
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-09-11
Da
n
Carpenter
flow: handle function scope hooks bett
e
r
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
2023-09-11
D
a
n
Carpen
t
er
scopes: make scopes work
c
orrec
t
ly across inlines
Signed-off-by: Dan Carpenter <
dan.carpenter@linaro.org
>
commit
|
commitdiff
|
tree
next