[Sound-open-firmware] [PATCH] ipc: core: rename intel-ipc.c to handler.c
Rename as there is nothing Intel specific about the IPC. It's generic.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/ipc/Makefile.am | 12 ++++++------ src/ipc/{intel-ipc.c => handler.c} | 0 2 files changed, 6 insertions(+), 6 deletions(-) rename src/ipc/{intel-ipc.c => handler.c} (100%)
diff --git a/src/ipc/Makefile.am b/src/ipc/Makefile.am index 1d84dd00..7379217d 100644 --- a/src/ipc/Makefile.am +++ b/src/ipc/Makefile.am @@ -18,7 +18,7 @@ noinst_LIBRARIES = libsof_ipc.a if BUILD_BAYTRAIL libsof_ipc_a_SOURCES = \ ipc.c \ - intel-ipc.c \ + handler.c \ byt-ipc.c \ pmc-ipc.c \ dma-copy.c @@ -27,7 +27,7 @@ endif if BUILD_CHERRYTRAIL libsof_ipc_a_SOURCES = \ ipc.c \ - intel-ipc.c \ + handler.c \ byt-ipc.c \ pmc-ipc.c \ dma-copy.c @@ -36,7 +36,7 @@ endif if BUILD_BROADWELL libsof_ipc_a_SOURCES = \ ipc.c \ - intel-ipc.c \ + handler.c \ hsw-ipc.c \ dma-copy.c endif @@ -44,7 +44,7 @@ endif if BUILD_HASWELL libsof_ipc_a_SOURCES = \ ipc.c \ - intel-ipc.c \ + handler.c \ hsw-ipc.c \ dma-copy.c endif @@ -53,7 +53,7 @@ endif if BUILD_APOLLOLAKE libsof_ipc_a_SOURCES = \ ipc.c \ - intel-ipc.c \ + handler.c \ apl-ipc.c \ dma-copy.c endif @@ -61,7 +61,7 @@ endif if BUILD_CANNONLAKE libsof_ipc_a_SOURCES = \ ipc.c \ - intel-ipc.c \ + handler.c \ cnl-ipc.c \ dma-copy.c endif diff --git a/src/ipc/intel-ipc.c b/src/ipc/handler.c similarity index 100% rename from src/ipc/intel-ipc.c rename to src/ipc/handler.c
File not used by SOF.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- scripts/checkpatch.pl | 12 ------------ 1 file changed, 12 deletions(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 31031f10..3fb44787 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2639,18 +2639,6 @@ sub process { } }
-# Check for added, moved or deleted files - if (!$reported_maintainer_file && !$in_commit_log && - ($line =~ /^(?:new|deleted) file mode\s*\d+\s*$/ || - $line =~ /^rename (?:from|to) [\w/.-]+\s*$/ || - ($line =~ /{\s*([\w/.-]*)\s*=>\s*([\w/.-]*)\s*}/ && - (defined($1) || defined($2))))) { - $is_patch = 1; - $reported_maintainer_file = 1; - WARN("FILE_PATH_CHANGES", - "added, moved or deleted file(s), does MAINTAINERS need updating?\n" . $herecurr); - } - # Check for wrappage within a valid hunk of the file if ($realcnt != 0 && $line !~ m{^(?:+|-| |\ No newline|$)}) { ERROR("CORRUPTED_PATCH",
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- scripts/checkpatch.pl | 19 ------------------- 1 file changed, 19 deletions(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 3fb44787..16d035ec 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -5657,25 +5657,6 @@ sub process { "Using weak declarations can have unintended link defects\n" . $herecurr); }
-# check for c99 types like uint8_t used outside of uapi/ and tools/ - if ($realfile !~ m@\binclude/uapi/@ && - $realfile !~ m@\btools/@ && - $line =~ /\b($Declare)\s*$Ident\s*[=;,[]/) { - my $type = $1; - if ($type =~ /\b($typeC99Typedefs)\b/) { - $type = $1; - my $kernel_type = 'u'; - $kernel_type = 's' if ($type =~ /^_*[si]/); - $type =~ /(\d+)/; - $kernel_type .= $1; - if (CHK("PREFER_KERNEL_TYPES", - "Prefer kernel type '$kernel_type' over '$type'\n" . $herecurr) && - $fix) { - $fixed[$fixlinenr] =~ s/\b$type\b/$kernel_type/; - } - } - } - # check for cast of C90 native int or longer types constants if ($line =~ /((\s*$C90_int_types\s*)\s*)($Constant)\b/) { my $cast = $1;
participants (1)
-
Liam Girdwood