Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
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
Simple PCIe FMC carrier SPEC
Commits
33fa6f14
Commit
33fa6f14
authored
Dec 17, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:drv: coccicheck and checkpatch fixes
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
7c123155
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
gn412x-fcl.c
software/kernel/gn412x-fcl.c
+1
-1
gn412x-gpio.c
software/kernel/gn412x-gpio.c
+1
-1
spec-core.c
software/kernel/spec-core.c
+4
-2
spec-gn412x-dma.c
software/kernel/spec-gn412x-dma.c
+1
-1
No files found.
software/kernel/gn412x-fcl.c
View file @
33fa6f14
...
...
@@ -591,7 +591,7 @@ static const struct platform_device_id gn412x_fcl_id[] = {
{
.
name
=
"gn412x-fcl"
,
},
{
.
name
=
""
},
/* last */
{},
/* last */
};
static
struct
platform_driver
gn412x_fcl_platform_driver
=
{
...
...
software/kernel/gn412x-gpio.c
View file @
33fa6f14
...
...
@@ -582,7 +582,7 @@ static const struct platform_device_id gn412x_gpio_id[] = {
{
.
name
=
"gn412x-gpio"
,
},
{
.
name
=
""
},
/* last */
{},
/* last */
};
static
struct
platform_driver
gn412x_gpio_platform_driver
=
{
...
...
software/kernel/spec-core.c
View file @
33fa6f14
...
...
@@ -280,11 +280,13 @@ static int spec_gpio_init_table(struct spec_gn412x *spec_gn412x)
struct
gpiod_lookup_table
*
lookup
;
int
err
=
0
;
lookup
=
kmemdup
(
&
spec_gpiod_table
,
spec_gpiod_table_size
(),
GFP_KERNEL
);
lookup
=
kmemdup
(
&
spec_gpiod_table
,
spec_gpiod_table_size
(),
GFP_KERNEL
);
if
(
!
lookup
)
return
-
ENOMEM
;
lookup
->
dev_id
=
kstrdup
(
dev_name
(
&
spec_gn412x
->
pdev
->
dev
),
GFP_KERNEL
);
lookup
->
dev_id
=
kstrdup
(
dev_name
(
&
spec_gn412x
->
pdev
->
dev
),
GFP_KERNEL
);
if
(
!
lookup
->
dev_id
)
goto
err_dup
;
...
...
software/kernel/spec-gn412x-dma.c
View file @
33fa6f14
...
...
@@ -870,7 +870,7 @@ static const struct platform_device_id gn412x_dma_id[] = {
.
name
=
"spec-gn412x-dma"
,
.
driver_data
=
GN412X_DMA_GN4124_IPCORE
,
},
{
.
name
=
""
},
/* last */
{},
/* last */
};
struct
platform_driver
gn412x_dma_driver
=
{
...
...
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