Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC TDC 1ns 5cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC TDC 1ns 5cha - Software
Commits
dc969cf9
Commit
dc969cf9
authored
Aug 23, 2018
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drv: do not compile on warning
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
b3f907e8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
+6
-3
Kbuild
kernel/Kbuild
+1
-0
ft-core.c
kernel/ft-core.c
+1
-1
ft-irq.c
kernel/ft-irq.c
+2
-2
ft-zio.c
kernel/ft-zio.c
+2
-0
No files found.
kernel/Kbuild
View file @
dc969cf9
...
...
@@ -15,6 +15,7 @@ ccflags-y = -DGIT_VERSION=\"$(GIT_VERSION)\" \
ccflags-$(CONFIG_FMC_TDC_DEBUG) += -DDEBUG
ccflags-$(CONFIG_FMC_TDC_VERBOSE_DEBUG) += -DVERBOSE_DEBUG
ccflags-y += -Werror
# Extract minimum com major, minor and patch number
ccflags-y += -D__ZIO_MIN_MAJOR_VERSION=$(shell echo $(ZIO_VERSION) | cut -d '-' -f 2 | cut -d '.' -f 1; )
...
...
kernel/ft-core.c
View file @
dc969cf9
...
...
@@ -459,7 +459,7 @@ int test_dma(struct fmctdc_dev *ft, unsigned int buf_size, unsigned int use_sg)
int
i
,
ret
=
0
;
uint32_t
eic
;
dev_dbg
(
&
ft
->
fmc
->
dev
,
"Test DMA
\n
"
);
dev_dbg
(
&
ft
->
fmc
->
dev
,
"Test DMA
- scatterlist: %d
\n
"
,
use_sg
);
/* Disable DMA interrupts, we do active waits here */
eic
=
ft_ioread
(
ft
,
ft
->
ft_dma_eic_base
+
DMA_EIC_REG_EIC_IMR
);
...
...
kernel/ft-irq.c
View file @
dc969cf9
...
...
@@ -67,7 +67,7 @@ static inline int zio_chan_has_active_block(struct zio_channel *chan)
{
return
!!
(
chan
->
active_block
);
}
#if 0
/**
* It tells if the acquisition can be done.
* @cset channel set instance
...
...
@@ -93,7 +93,7 @@ static int zio_cset_can_acquire(struct zio_cset *cset)
return 1;
}
#endif
/**
* It converts a channel bitmask into an IRQ bitmask according to
...
...
kernel/ft-zio.c
View file @
dc969cf9
...
...
@@ -243,6 +243,8 @@ static int ft_zio_conf_set(struct device *dev, struct zio_attribute *zattr,
default:
return
-
EINVAL
;
}
default:
return
-
EPERM
;
}
}
...
...
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