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
db: move an assignment outside the loop
2023-06-27
Dan Carpenter
db:
move an
assignmen
t
out
s
i
de the loop
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
Dan Carpenter
e
xtra: fake assi
g
n
m
ents fo
r
PARAM_SET data
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
Dan Carpenter
fun
c
tion_hooks: mar
k
p
arams
u
ntra
c
k
e
d
if
t
here is not
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
Da
n
C
arpenter
s
ma
t
ch_im
p
li
e
d
: delete some dead code in handle_ze
r
o_compa
r
i
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
Dan Carpenter
par
a
m
_
c
l
eared: don
'
t record nested structs as BUF_CLEAR
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
Dan
Carpent
e
r
ranges: handle IMPOS
S
I
BLE
_
COMPARISON
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
Dan
C
a
rpent
e
r
flow:
introduce shall
o
w assignment
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
D
an
C
a
r
p
ent
e
r
condi
t
i
ons: fix handling of "foo = bar
?
: baz;"
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
Dan Car
p
enter
flow: add
a
comment to handle__builtin_choose_e
x
p
r
_assigns()
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
Dan Carpente
r
struct_assignment: delete
s
ome dead code
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
Dan Carpenter
struct_assi
g
n
m
ent:
d
on't track
stuff tha
t
we don't
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
Dan
C
arpen
t
er
struct_assign
m
e
n
t
:
use BUF_ADD in
s
t
ead of PARAM_ADD
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
Dan Carpenter
s
t
ruct_assignme
n
t
: add my_id variable
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
Dan
C
arpenter
struct_assignm
e
n
t
: add memcp
y
_fromio()
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
Da
n
Carpent
e
r
flow: add supp
o
rt
f
or __clean
u
p
__ functions
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
Dan Carpe
n
ter
p
a
rse:
h
a
n
d
le __cle
a
nup_
_
a
t
tribute
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
Dan Carpenter
kernel_netdev_priv:
track netdev priv data
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
Dan Carpen
t
er
param_l
i
mi
t
: update a comment
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-27
Dan Car
p
ent
e
r
param_key: remove
some
b
o
gus
w
ar
n
ing messages
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-23
Dan
C
a
r
penter
fu
n
c
t
io
n
_
h
ooks: prevent a crashi
n
g bug parsing
fak
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-19
D
a
n
Carpenter
t
yp
e
: support __auto_type
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-14
Dan
C
arp
e
nte
r
db
/
fixup_ke
r
nel
.
sh: delete kfre
e
() poison informat
i
on
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-14
Dan
C
arpe
n
ter
kernel: handl
e
with_int
e
l_runt
i
me
_
pm() m
a
cr
o
s better
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-14
D
an
Carpenter
flow: h
a
ndle declarations inside
for l
o
op
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-12
Dan Carpent
e
r
strlen: h
a
ndle strchr()
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-12
D
a
n Carp
e
nter
s
t
r
len: store
strlen information as a
range
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-12
Dan Carpenter
strlen: handle p+
+
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-12
Dan Carpe
n
ter
strlen: sma
l
l cleanup
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-12
Dan Carpenter
deref_check: warn abou
t
d
e
references b
e
fore an IS_ERR
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-12
Dan Carpen
t
e
r
d
eref_check: use add
_
d
ereference_hook
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-12
Dan
Carpenter
units: ha
n
dl
e
the sit
u
ation
w
here it an arr
a
y of bytes
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-12
Da
n
Carpenter
poi
n
ts_
t
o_user_data
:
update wi
t
h
s
o
me
n
tfs user
d
ata
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-12
Dan Carpenter
db
/
reload
_
partial
.
sh: update to handle hashed
f
iles
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-12
Dan Ca
r
penter
d
b
/fill_
d
b_
c
alle
r
_info
.
pl:
f
ix "too com
m
on function
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-06-07
Dan C
a
rpenter
u
nsigned_lt_zero: re-wri
t
e t
h
is check
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-31
Dan Car
p
enter
dereference
:
fix a cras
h
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-23
Dan
C
arpenter
sc
r
ipts/g
e
nerisize
.
pl:
handle "pot
e
ntia
l
ly tagged
a
ddress
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-19
Dan Carpe
n
ter
d
ere
f
erence: fix so
m
e
false positives
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-19
Dan Carpen
t
er
returns_negativ
e
_error_code: si
l
enc
e
some fals
e
positives
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-19
Dan Carpent
e
r
dereference: h
a
rd co
d
e nl
a
_data()
as derefe
r
encin
g
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-18
Dan Carpenter
che
c
king_for
_
null
_
inst
e
ad_o
f
_er
r
_ptr:
add
l
ist of
untrust
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-17
Dan Carpenter
ch
e
c
k
ing_for_null_i
n
s
tead_of_err_ptr: use smatch_kerne
l
_err_
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-17
D
an Carpente
r
kernel_er
r
_
p
tr: hack around for_e
a
ch_
g
pio_desc_with_
f
la
g
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-15
D
a
n Carpenter
scripts/gene
r
isize
.
pl: gener
i
siz
e
fu
n
c
tion names
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-12
Dan
C
arpent
e
r
kernel
.
unreachab
l
e
.
turn_o
f
f:
a
dd some kunit s
t
uff
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
D
an Carpenter
p
r
ee
m
pt_info: add
__bit_spi
n
_unlock(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
Dan Carpente
r
check_li
s
t/err_
p
tr: reg
i
ste
r
th
e
err_ptr code
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
Da
n
Carpe
n
ter
debu
g
/un
i
ts: hoo
k
in the __smatch_u
n
its() code
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
Dan
Ca
r
pent
e
r
validation/sm_err_ptr: make IS
_
ERR() an inline func
t
ion
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
Dan Carpe
n
ter
der
e
feren
c
e: find more cross functio
n
d
e
refe
r
ences
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
Dan
C
arpent
e
r
err_ptr_der
e
f: re-wr
i
te the che
c
k
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
Dan
Carpente
r
k
e
rnel_err_ptr: t
r
a
ck error pointers in the database
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
Dan
C
arp
e
nte
r
ker
n
e
l
.
n
o
_r
e
t
u
rn_func
s
: update to
the latest linux
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
Dan Ca
r
penter
k
ernel
.
no_
r
et
u
rn_
f
uncs: add kunit
_
do_failed
_
as
s
ertion()
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-10
Dan C
a
rpen
t
e
r
comparison:
store modifie
d
comparisons
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-10
Dan
C
a
rpenter
units: move che
c
k
s to chec
k
_
fi
l
e and hi
d
e
u
nder the
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-10
Da
n
C
arpen
t
er
un
i
t
s/debug: add __smatc
h
_
u
nits()
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-10
Da
n
Ca
r
pe
n
ter
unit
s
: dele
t
e some acci
d
ental code
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-10
Dan
Carpente
r
units:
m
ake unit states globa
l
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan C
a
rpenter
macr
o
_tabl
e
: d
o
n't store
d
u
p
l
ic
a
te macros
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan
C
arpenter
c
apped: handle for loops better
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
D
an Carpenter
co
n
ditions: st
r
ip st
u
ff off
a STMT_E
X
PRESSION
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Da
n
Carpenter
express
i
ons: *&foo
i
s j
u
st foo
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan
C
arpenter
kernel_user
_
data: take a short
cut to
s
p
eed up
e
mpty
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
D
an Carpenter
mtag:
c
r
e
a
te a r
e
verse mappi
n
g from mtag to symbol
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan C
a
rpenter
p
aram
_
limit: improve printing the limit
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan Carpenter
return
s
: delete some dead code
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan Carpente
r
db/untracked_p
a
ram: move
m
ark_c
a
ll_
p
arams_unt
r
ac
k
ed()
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan Ca
r
p
enter
d
b: fix s
q
l
_
i
nsert_retu
r
n_imp
l
ies()
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
D
an Carpenter
derefe
r
ences_param: re-write simple
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
D
a
n
Carpenter
impossible: don't
m
ark retur
n
s as
i
mpossible
i
f threads
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-06
D
a
n Carpenter
s
tr
u
ct_ass
i
gnme
n
t: add copy_from_user()
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-05
Dan Carpenter
locking: use shared success_fail_return()
f
unction
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-05
Dan Carpente
r
locking:
a
dd s
o
m
e
more locking function
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-04
Dan Car
p
enter
rosenberg
:
fix a s
e
g
fault
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-04
Dan Carpenter
kerne
l
.
u
n
constant
_
m
a
cros: a
d
d
EXT4
_
MOUN
T
_DAX_ALWAYS
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-03
Dan Carpenter
rosen
b
erg: f
u
lly initi
a
lizing the
s
truct does
n
ot
clear
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-03
Dan Carpenter
rosenbe
r
g: revert "initialization a
n
d st
r
uct assignment
s
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-03
Dan Carpenter
locking:
d
elet
e
som
e
NULL chec
k
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-03
Da
n
C
a
r
penter
lock
i
ng: add some more locking functions
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-03
Dan Carp
e
nter
bogus_address_param: warn about passing a bogus address
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-02
D
a
n
Carpenter
u
nits:
f
i
x the build
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-02
Dan
C
arpenter
check_trinity: de
l
ete this code
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-04-20
Dan Carpenter
locking: ignore false posi
t
ives caused by perf_ev
e
nt_e
n
a
b
le
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-04-19
Dan C
a
rpen
t
er
units: stor
e
what
s
ort
o
f unit
s
a variable is in
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-04-19
D
a
n Carpen
t
er
z
ero
_
to_err_ptr: add dev_err_pro
b
e()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-13
Dan
C
arpenter
free_st
r
ict: add sock_r
e
lea
s
e()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carp
e
nter
db/
f
ixup_
k
ern
e
l
.
sh: ignore p
a
r
a
m limits f
r
o
m __dev_print
k
()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carpen
t
er
d
b
/fixup_ke
r
nel
.
sh: vfs_read/writ
e
(
) are the only impor
t
ant
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Car
p
enter
extr
a
:
revert the mod_e
x
pr ch
a
nges for mod
i
fy expression
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carpe
n
ter
ex
t
ra: set no limit
s
m
ark_sub_member
s
_gone()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carpenter
unwin
d
: d
e
vm
_
add_a
c
tion_o
r
_
r
eset() is n
o
w
a
macr
o
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carpen
t
er
unwind: separate path s
t
a
t
es out
i
nto a di
f
f
e
rent check id
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carpenter
unwi
n
d: ig
n
ore path states in pre-
m
erge
hoo
k
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
D
an Carpent
e
r
u
n
w
ind:
d
on'
t
warn about
i
mpossible leak
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carpe
n
ter
unwind: ignore c
o
mponent_
m
atch_add_release() paths
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carpe
n
ter
unwind: use the shared
s
ucce
s
s
_fai
l
_return()
f
unc
t
ion
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carpen
t
e
r
unwind: ca
t
ch addit
i
onal
b
ugs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
D
an Car
p
enter
unwind: fix
a
bu
g
wit
h
S
SA
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carpenter
unwind
:
introduce &u
n
known s
t
at
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
next