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
struct_assignment: add copy_from_user()
2023-02-08
Dan Carpente
r
help
e
r: 0-
s
32
m
ax
r
eturns are success
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
D
a
n
C
arpent
e
r
helper:
a
d
d
a
strip_par
e
ns()
i
n get
_
mem
b
er_name()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan
C
arpente
r
kernel_host_da
t
a
:
i
g
nore
n
onsense i
n
f
ormation
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan C
a
rpenter
db/clear
_
user_da
t
a: cle
a
n u
s
er d
a
ta more thoroughly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Ca
r
penter
k
e
rnel_user_data: ignore
nons
e
n
se data
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpen
t
e
r
ker
n
el_user_data:
a
dd so
m
e more functio
n
s that retu
r
n
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
func
t
ion_hooks: create fak
e
_param_assign_help
e
r()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpenter
p
r
eempt_info: a
d
d rht_lock and
bit_s
p
in
_
lock
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpenter
schedu
l
in
g
_in_atomic:
Add mas_store_gfp()
as a spec
i
al
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpenter
dma_mapping_error: delet
e
obsolete check
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpenter
direct_retu
r
n_instead_of_g
o
to: don't
wa
r
n about printk
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-06
Dan Carpenter
s
leep_info: ha
n
dle mutexes correctly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-02
Dan C
a
r
pen
t
er
express
i
ons: handl
e
a
c
ase i
n
gen
_
ex
p
r
e
ssion
_
from_key()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-02
D
a
n
C
arpenter
db: improve recording wh
e
n w
e
r
eturn
a
p
a
rameter
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-19
D
a
n
Car
p
enter
kernel_user_data: iov_iter_count() returns u
s
er data
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-18
Dan
C
a
rpe
n
te
r
p
a
ram_k
e
y:
ex
p
ort th
e
split_param_key() function
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-12
D
an Car
p
enter
f
r
ee_stric
t
: don't p
r
omote "maybe_freed
"
to
"f
r
eed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-13
Dan Carpenter
function_h
o
o
k
s:
use the cor
r
ect expre
s
si
o
n
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-09
D
an Carpen
t
er
debug: print
t
he param key of a v
a
riable
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-08
Dan
C
arpenter
generisiz
e
.
p
l
:
r
e
m
ov
e
t
he
f
un
c
tion name fro
m
"too small
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-08
Dan Ca
r
p
e
n
ter
f
r
ees_param
_
strict:
h
a
ndle assi
g
ned paramet
e
rs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-07
Dan Carpente
r
buf_s
i
ze: smal
l
clea
n
up
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-06
D
a
n Carpenter
kernel
.
i
gnore
_
s
ide_effec
t
s
: ignore m
e
mcp
y
/move/
s
e
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan Carpenter
math: d
o
an
o
ther
strlen fix
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan
C
a
r
p
e
nter
strlen: add __builtin
a
nd __fo
r
tify fu
n
c
t
ions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan
Car
p
enter
struct_a
s
signment: add
__builtin_mems
e
t/memcpy()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
D
an Carpenter
param_clear: add
_
_b
u
i
l
tin_memset/memcpy
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Da
n
Carpent
e
r
postop_timeout: wa
r
n about incorrect w
h
ile
(timeout
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-28
Dan Carpenter
un
c
hecked_all
o
catio
n
: warn about potential NULL dereferences
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpenter
go
t
o_tra
c
k
e
r: still doe
s
n't
build
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpenter
goto_t
r
acker: create
a g
o
to state
for goto
s
tate
m
e
n
ts
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carp
e
nt
e
r
s
m
atch
.
h: export __sm
a
tch_lineno
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Da
n
C
arpenter
ker
n
el: a
d
d handli
n
g for k
r
ef_put()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Car
p
enter
kernel_user
_
d
a
ta: clean up variable in tag_struct
_
memb
e
rs()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Da
n
Ca
r
p
enter
kernel_user_data: introdu
c
e
a param/k
e
y
table
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Da
n
Ca
r
p
enter
missing_error_code2: warn ab
o
u
t retu
r
n ret where ret
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpen
t
er
mis
s
ing_error_code: cleanup s/yup/true/
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
D
an
C
a
rpen
t
er
missing_er
r
or_code
:
fix bug handling
i
nline
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-24
Dan C
a
r
pen
t
er
direct_retu
r
n_ins
t
e
a
d_of_
g
oto: warn about missing u
n
win
d
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-24
Dan Carp
e
nter
divide_con
d
iti
o
n: warn abou
t
if (foo / 4)
{
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-23
Dan Ca
r
p
en
t
er
functio
n
_
h
ooks: do
s
et_fr
e
sh_mta
g
_re
t
u
rns
(
) later
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-10
Da
n
Carpente
r
type: export i
s
_void_ptr
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-10
Dan Carpente
r
f
ree_strict:
a
dd qdisc_enqueue() as a fre
e
fu
n
ction
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-10
Dan Carpe
n
t
er
release_
r
e
sourc
e
:
a
dd
a
l
l
o
cate_resource()
as a request
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-07
Dan Carpenter
db: add a NULL ch
e
ck i
n
is_
k
er
n
el_su
c
c
e
s
s_fail()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-03
Dan Carpenter
d
a
ta/
k
erne
l
.
unreach
a
ble
.
ignore:
a
d
d put_
u
ser()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-02
Dan Carpenter
assigned: strip s
o
m
e
assignmen
t
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-27
Dan C
a
rp
e
nt
e
r
unreachable: ig
n
o
r
e outb out
w
and o
u
tl
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
D
an Ca
r
pe
n
t
er
comparison: use COMPARE_LIMI
T
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
Da
n
C
a
r
penter
db: get rid o
f
RELEASE_OLD
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
Dan Carpenter
fi
x
up_
k
ernel
.
sh: update to use hashed file names
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
Da
n
Carpent
e
r
t
ype: get type from
_
Gen
e
ric()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
Dan Carpenter
sm_hash: remove incorrec
t
"0x"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-21
Dan Carpenter
flow: fi
x
o
r
dering for S
T
MT_HOOK_A
F
TER wrt lab
e
l
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-21
Da
n
Carpenter
function_hooks: fix an
o
rdering is
s
u
e
i
n add_function_param_
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-11
Dan Carpente
r
sm_hash: move th
e
sm_hash
program to smatch_data/db/
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-11
Dan Carpe
n
ter
smatc
h
: clean
u
p num_checks counti
n
g
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-11
Dan C
a
rpenter
c
o
mpar
i
s
o
n: be smarter
a
bo
u
t "foo vs foo
-
1
"
c
omparisons
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-11
Dan Carpenter
comparison: delete unnecessary code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-10
Dan Carpenter
b
uf
_
comparison: check
the
c
orrect vari
a
ble
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-10
Dan
Carpe
n
ter
b
uf_siz
e
:
use
0
for the ext
e
rn file id
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-10
D
an Carpenter
buf_size: use file id i
n
stead of fi
l
e name
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
Dan Carpenter
zero_to_err_pt
r
:
silence
s
ome false positives
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
Dan Carpenter
db: use
NULL inst
e
ad
of
z
ero
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
Dan
C
arpenter
condit
i
ons:
delete poin
t
less debug code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
Dan Carpenter
f
low: set a flag i
n
s
i
de
h
and
l
e
_builtin
_
over
f
low_f
u
nc()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
D
a
n C
a
rpenter
helper: -EIOCBQUEUED is not an err
o
r
.
It is a s
u
ccess
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
Dan Carpen
t
er
hooks:
a
dd a warning to detect unimplemented hooks
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
Dan Car
p
enter
buf_comparison
:
add
spec
i
al case for byte size ele
m
en
t
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
D
a
n Ca
r
pe
n
t
er
sm_h
a
sh: c
r
eate a binar
y
to genera
t
e
h
ashes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
Dan
C
arpenter
d
b/smdb
.
py: di
s
play
t
he
file name and not the hash
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
Da
n
Ca
r
p
ente
r
mtag: mak
e
hashes non negat
i
ve (clear
BIT(63
)
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
Dan
Carpen
t
er
db/hash_strin
g
.
s
che
m
a
:
only
t
he hash needs
t
o be
unique
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
Dan Carpenter
db: whi
t
e space changes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
Dan Carpenter
db: prevent cr
a
sh p
a
rsing
i
nv
a
lid cod
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
Dan Carpe
n
ter
db:
d
elete temporar
y
hack for v2
.
6
.
37-rc1
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
Dan
C
arpe
n
ter
db: use
h
a
s
hes
i
nstead
o
f file na
m
es
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-05
Dan Carpe
n
ter
mtag: in
t
roduc
e
str_to
_
llu_
h
ash()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-05
Dan Ca
r
p
e
nter
mtag
:
switch to sha1 hashe
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-03
Elena Re
s
hetova
c
h
eck_host_i
n
put:
add a new pat
t
er
n
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-03
Elena Res
h
e
t
ova
host_data
:
e
x
port che
c
k
ing for host function name/para
m
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-29
Dan
C
arpenter
helper: export stri
p
_Generic()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-26
Dan
C
arpente
r
k
er
n
el
.
unconstant_macros: add AZX_DCAP
S
_I915_COMPONENT
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-22
Dan Carpenter
e
x
tra: don't over
write previous if stat
e
me
n
ts bec
a
use
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-22
Dan Carpenter
db/kernel
.
return_fixes: rand
o
m sma
l
l
error co
d
es
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-22
Dan Carpenter
fl
o
w: s
t
rip o
u
t parenthe
s
es before faking a return
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-20
Dan
Ca
r
penter
use
r
/host_data: assu
m
e
ca
p
ped data is
less than
INT_MAX
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-20
Dan
C
a
rpenter
sma
t
ch:
d
elete pointless NU
L
L checks (sile
n
ce GCC)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-20
D
an Carpenter
c
onstants: fix build (p
a
rt of
c
ommit missing)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-06
Dan Carpente
r
kernel_hos
t
_data:
a
dd (struct virtio_config_ops)->g
e
t
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-06
Dan Carp
e
nter
function_hoo
k
s: let check register cal
l
backs on function
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-08-26
Dan Carpenter
extra: handle PARAM
_
S
ET for buffers better
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-08-26
Dan Carpenter
flo
w
:
add support for _Generic()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-08-26
Dan Carpenter
help
e
r: make strip
_
paren
s
_
s
y
m
bol() strip eve
r
ything
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-08-26
Dan
C
arp
e
nter
common_f
u
nctions: fix strnlen() h
a
ndling
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-08-26
C
h
ristophe JAI
L
LET
al
l
o
ca
t
io
n
: Add
some
k
v
.
.
.
v
a
r
iants
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-08-26
Chris
t
ophe JAILLET
continue_vs_br
e
ak: Fi
x
some style iss
u
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-08-26
Dan Carp
e
nter
a
l
locations:
s
e
t th
e
->to
t
al_siz
e
,
-
>n
r
_elem
and -
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-08-23
Dan Car
p
e
nte
r
debug:
print correct capped infor
m
ation f
o
r
_
_sma
t
ch_host_rl()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-08-23
Dan Carpenter
hel
p
er: introduce g
e
t
_assigned_call()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next