lkml.org 
[lkml]   [2015]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] staging: fsl-mc: Upgraded MC flibs used in MC bus driver
On Wed, Aug 19, 2015 at 11:52:40AM -0500, J. German Rivera wrote:
> Since signatures of flib functions have changed, we had to
> change all the corresponding calls in the MC bus driver
>
> Signed-off-by: J. German Rivera <German.Rivera@freescale.com>
> ---
> drivers/staging/fsl-mc/bus/dpbp.c | 232 ++++++++------
> drivers/staging/fsl-mc/bus/dpmcp-cmd.h | 81 +----
> drivers/staging/fsl-mc/bus/dpmcp.c | 123 +++++---
> drivers/staging/fsl-mc/bus/dpmcp.h | 123 +++++---
> drivers/staging/fsl-mc/bus/dpmng.c | 14 +-
> drivers/staging/fsl-mc/bus/dprc-cmd.h | 7 +-
> drivers/staging/fsl-mc/bus/dprc-driver.c | 61 +++-
> drivers/staging/fsl-mc/bus/dprc.c | 464 +++++++++++++++++++++++-----
> drivers/staging/fsl-mc/bus/mc-allocator.c | 122 ++++----
> drivers/staging/fsl-mc/bus/mc-bus.c | 72 +++--
> drivers/staging/fsl-mc/bus/mc-sys.c | 188 +++++++++--
> drivers/staging/fsl-mc/include/dpbp-cmd.h | 147 +++++++--
> drivers/staging/fsl-mc/include/dpbp.h | 91 ++++--
> drivers/staging/fsl-mc/include/dpcon-cmd.h | 159 ++++++++--
> drivers/staging/fsl-mc/include/dpmng.h | 14 +-
> drivers/staging/fsl-mc/include/dprc.h | 313 +++++++++++++++----
> drivers/staging/fsl-mc/include/mc-cmd.h | 28 +-
> drivers/staging/fsl-mc/include/mc-private.h | 17 +-
> drivers/staging/fsl-mc/include/mc-sys.h | 51 ++-
> 19 files changed, 1661 insertions(+), 646 deletions(-)
>
> diff --git a/drivers/staging/fsl-mc/bus/dpbp.c b/drivers/staging/fsl-mc/bus/dpbp.c
> index d99ab6d..6857a67 100644
> --- a/drivers/staging/fsl-mc/bus/dpbp.c
> +++ b/drivers/staging/fsl-mc/bus/dpbp.c
> @@ -1,48 +1,52 @@
> -/* Copyright 2013-2014 Freescale Semiconductor Inc.
> -*
> -* Redistribution and use in source and binary forms, with or without
> -* modification, are permitted provided that the following conditions are met:
> -* * Redistributions of source code must retain the above copyright
> -* notice, this list of conditions and the following disclaimer.
> -* * Redistributions in binary form must reproduce the above copyright
> -* notice, this list of conditions and the following disclaimer in the
> -* documentation and/or other materials provided with the distribution.
> -* * Neither the name of the above-listed copyright holders nor the
> -* names of any contributors may be used to endorse or promote products
> -* derived from this software without specific prior written permission.
> -*
> -*
> -* ALTERNATIVELY, this software may be distributed under the terms of the
> -* GNU General Public License ("GPL") as published by the Free Software
> -* Foundation, either version 2 of that License or (at your option) any
> -* later version.
> -*
> -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
> -* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
> -* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
> -* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
> -* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
> -* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
> -* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
> -* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
> -* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
> -* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
> -* POSSIBILITY OF SUCH DAMAGE.
> -*/
> +/* Copyright 2013-2015 Freescale Semiconductor Inc.
> + *
> + * Redistribution and use in source and binary forms, with or without
> + * modification, are permitted provided that the following conditions are met:
> + * * Redistributions of source code must retain the above copyright
> + * notice, this list of conditions and the following disclaimer.
> + * * Redistributions in binary form must reproduce the above copyright
> + * notice, this list of conditions and the following disclaimer in the
> + * documentation and/or other materials provided with the distribution.
> + * * Neither the name of the above-listed copyright holders nor the
> + * names of any contributors may be used to endorse or promote products
> + * derived from this software without specific prior written permission.
> + *
> + *
> + * ALTERNATIVELY, this software may be distributed under the terms of the
> + * GNU General Public License ("GPL") as published by the Free Software
> + * Foundation, either version 2 of that License or (at your option) any
> + * later version.
> + *
> + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
> + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
> + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
> + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
> + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
> + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
> + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
> + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
> + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
> + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
> + * POSSIBILITY OF SUCH DAMAGE.
> + */

Changing the header of a file is not changing an API, please break this
up into logical pieces, this can't be taken as-is at all :(


\
 
 \ /
  Last update: 2015-09-03 19:01    [W:0.048 / U:14.996 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site