projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11a627c
)
address last warnings as seen by gcc7
author
Andrew
<bradatajs@yahoo.com>
Mon, 1 Jan 2018 19:57:12 +0000
(20:57 +0100)
committer
Andrew
<bradatajs@yahoo.com>
Mon, 1 Jan 2018 19:57:12 +0000
(20:57 +0100)
driver/others/init.c
patch
|
blob
|
history
diff --git
a/driver/others/init.c
b/driver/others/init.c
index c1bbdac3f71b7a9336453612547756a88992e9ae..0cb8c78a21e6f0aae6137abc52c8f21c2f6ed26e 100644
(file)
--- a/
driver/others/init.c
+++ b/
driver/others/init.c
@@
-237,7
+237,7
@@
static inline void get_cpumap(int node, unsigned long * node_info) {
if(k!=0){
name[k]='\0';
affinity[count++] = strtoul(name, &dummy, 16);
- k=0;
+
//
k=0;
}
// 0-63bit -> node_info[0], 64-128bit -> node_info[1] ....
// revert the sequence
@@
-293,7
+293,7
@@
static inline void get_share(int cpu, int level, unsigned long * share) {
if(k!=0){
name[k]='\0';
affinity[count++] = strtoul(name, &dummy, 16);
- k=0;
+
//
k=0;
}
// 0-63bit -> node_info[0], 64-128bit -> node_info[1] ....
// revert the sequence