OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'drm-misc-fixes-2019-11-25' of git://anongit.freedesktop.org/drm/drm-misc...
[tomoyo/tomoyo-test1.git]
/
drivers
/
dma-buf
/
sync_file.c
diff --git
a/drivers/dma-buf/sync_file.c
b/drivers/dma-buf/sync_file.c
index
76fb072
..
5a5a1da
100644
(file)
--- a/
drivers/dma-buf/sync_file.c
+++ b/
drivers/dma-buf/sync_file.c
@@
-221,7
+221,7
@@
static struct sync_file *sync_file_merge(const char *name, struct sync_file *a,
a_fences = get_fences(a, &a_num_fences);
b_fences = get_fences(b, &b_num_fences);
if (a_num_fences > INT_MAX - b_num_fences)
-
return NULL
;
+
goto err
;
num_fences = a_num_fences + b_num_fences;