projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b09beca
)
drv2624: fix shift overflow warning
author
Yaroslav Furman
<yaro330@gmail.com>
Fri, 22 Jun 2018 18:51:01 +0000
(21:51 +0300)
committer
Michael Benedict
<michaelbt@live.com>
Sat, 31 Aug 2019 15:08:48 +0000
(
01:08
+1000)
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
include/linux/drv2624.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/drv2624.h
b/include/linux/drv2624.h
index 2b4097e7fb2f3a49863e0e05f96aacc2a781cdc8..63828dbedc159c7da5676f58461bb983525c2de9 100755
(executable)
--- a/
include/linux/drv2624.h
+++ b/
include/linux/drv2624.h
@@
-321,7
+321,7
@@
struct drv2624_diag_result {
unsigned char mnDiagK;
};
-#define DRV2624_MAGIC_NUMBER 0x32363234 /* '2624' */
+#define DRV2624_MAGIC_NUMBER 0x32363234
& 0x1f
/* '2624' */
#define DRV2624_SET_SEQ_LOOP _IOWR(DRV2624_MAGIC_NUMBER, 1, struct drv2624_seq_loop *)
#define DRV2624_SET_MAIN _IOWR(DRV2624_MAGIC_NUMBER, 2, struct drv2624_wave_setting *)