Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
linux-elphel
Commits
527b91bf
Commit
527b91bf
authored
Mar 14, 2019
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Used @suppress() at few lines to test
parent
bfe626e1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
circbuf.c
src/drivers/elphel/circbuf.c
+2
-2
exif393.c
src/drivers/elphel/exif393.c
+3
-3
No files found.
src/drivers/elphel/circbuf.c
View file @
527b91bf
...
@@ -202,7 +202,7 @@ ssize_t circbuf_get_ptr(int sensor_port, size_t offset, size_t len, struct fvec
...
@@ -202,7 +202,7 @@ ssize_t circbuf_get_ptr(int sensor_port, size_t offset, size_t len, struct fvec
return
ret
;
return
ret
;
}
}
EXPORT_SYMBOL_GPL
(
circbuf_get_ptr
);
EXPORT_SYMBOL_GPL
(
circbuf_get_ptr
);
// @suppress("Unused function declaration") it is still needed
/**
/**
* @brief Process circular buffer file opening and define further action in accordance
* @brief Process circular buffer file opening and define further action in accordance
...
@@ -1025,7 +1025,7 @@ static struct platform_driver elphel393_circbuf = {
...
@@ -1025,7 +1025,7 @@ static struct platform_driver elphel393_circbuf = {
},
},
};
};
module_platform_driver
(
elphel393_circbuf
);
module_platform_driver
(
elphel393_circbuf
);
// @suppress("Unused variable declaration in file scope") because
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_AUTHOR
(
"Andrey Filippov <andrey@elphel.com>."
);
MODULE_AUTHOR
(
"Andrey Filippov <andrey@elphel.com>."
);
...
...
src/drivers/elphel/exif393.c
View file @
527b91bf
...
@@ -823,7 +823,7 @@ size_t exif_get_data(int sensor_port, unsigned short meta_index, void *buff, siz
...
@@ -823,7 +823,7 @@ size_t exif_get_data(int sensor_port, unsigned short meta_index, void *buff, siz
memcpy
(
buff
,
&
exif_tmp_buff
[
page_p
],
count
);
memcpy
(
buff
,
&
exif_tmp_buff
[
page_p
],
count
);
return
count
;
return
count
;
}
}
EXPORT_SYMBOL_GPL
(
exif_get_data
);
EXPORT_SYMBOL_GPL
(
exif_get_data
);
// @suppress("Unused function declaration") as it is still needed
//!++++++++++++++++++++++++++++++++++++ _init() ++++++++++++++++++++++++++++++++++++++++++++++++++++++
//!++++++++++++++++++++++++++++++++++++ _init() ++++++++++++++++++++++++++++++++++++++++++++++++++++++
...
@@ -875,8 +875,8 @@ static void __exit exif_exit(void)
...
@@ -875,8 +875,8 @@ static void __exit exif_exit(void)
dev_dbg
(
NULL
,
"unregistering driver"
);
dev_dbg
(
NULL
,
"unregistering driver"
);
}
}
module_exit
(
exif_exit
);
module_exit
(
exif_exit
);
// @suppress("Unused variable declaration in file scope")
module_init
(
exif_init
);
module_init
(
exif_init
);
// @suppress("Unused variable declaration in file scope")
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_AUTHOR
(
"Andrey Filippov <andrey@elphel.com>."
);
MODULE_AUTHOR
(
"Andrey Filippov <andrey@elphel.com>."
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment