Re: [PATCH V6 1/4] [SCSI] drivers/scsi/ufs: Seggregate PCI Specific Code

2013-02-24 Thread James Bottomley
On Tue, 2013-02-05 at 22:17 +0530, vinholika...@gmail.com wrote:
 From: Vinayak Holikatti vinholika...@gmail.com
 
 This patch seggregates the PCI specific code in ufshcd.c to make it
 ready for splitting into core ufs driver and PCI glue driver. Also
 copyright header modification to remove extra warranty disclaim.
 
 Reviewed-by: Arnd Bergmann a...@arndb.de
 Reviewed-by: Namjae Jeon linkinj...@gmail.com
 Reviewed-by: Subhash Jadavani subha...@codeaurora.org
 Signed-off-by: Vinayak Holikatti vinholika...@gmail.com
 Signed-off-by: Santosh Yaraganavi santos...@gmail.com
 ---
  drivers/scsi/ufs/Kconfig  |   50 +++
  drivers/scsi/ufs/ufs.h|   44 +++
  drivers/scsi/ufs/ufshcd.c |  350 
 +++--
  drivers/scsi/ufs/ufshci.h |   44 +++
  4 files changed, 268 insertions(+), 220 deletions(-)

This patch doesn't apply:

jejb@dabdike patch -p1  .git/rebase-apply/patch 
patching file drivers/scsi/ufs/Kconfig
patching file drivers/scsi/ufs/ufs.h
patching file drivers/scsi/ufs/ufshcd.c
Hunk #26 FAILED at 1823.
Hunk #27 succeeded at 1898 (offset -1 lines).
Hunk #28 succeeded at 1924 (offset -1 lines).
Hunk #29 FAILED at 2039.
2 out of 29 hunks FAILED -- saving rejects to file
drivers/scsi/ufs/ufshcd.c.rej
patching file drivers/scsi/ufs/ufshci.h

The rejects are pretty complex hunks; could you please rebase to the top
of the scsi-misc tree?  Thanks,

James


--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH V6 1/4] [SCSI] drivers/scsi/ufs: Seggregate PCI Specific Code

2013-02-24 Thread vinayak holikatti
On Sun, Feb 24, 2013 at 2:53 PM, James Bottomley
james.bottom...@hansenpartnership.com wrote:
 On Tue, 2013-02-05 at 22:17 +0530, vinholika...@gmail.com wrote:
 From: Vinayak Holikatti vinholika...@gmail.com

 This patch seggregates the PCI specific code in ufshcd.c to make it
 ready for splitting into core ufs driver and PCI glue driver. Also
 copyright header modification to remove extra warranty disclaim.

 Reviewed-by: Arnd Bergmann a...@arndb.de
 Reviewed-by: Namjae Jeon linkinj...@gmail.com
 Reviewed-by: Subhash Jadavani subha...@codeaurora.org
 Signed-off-by: Vinayak Holikatti vinholika...@gmail.com
 Signed-off-by: Santosh Yaraganavi santos...@gmail.com
 ---
  drivers/scsi/ufs/Kconfig  |   50 +++
  drivers/scsi/ufs/ufs.h|   44 +++
  drivers/scsi/ufs/ufshcd.c |  350 
 +++--
  drivers/scsi/ufs/ufshci.h |   44 +++
  4 files changed, 268 insertions(+), 220 deletions(-)

 This patch doesn't apply:

 jejb@dabdike patch -p1  .git/rebase-apply/patch
 patching file drivers/scsi/ufs/Kconfig
 patching file drivers/scsi/ufs/ufs.h
 patching file drivers/scsi/ufs/ufshcd.c
 Hunk #26 FAILED at 1823.
 Hunk #27 succeeded at 1898 (offset -1 lines).
 Hunk #28 succeeded at 1924 (offset -1 lines).
 Hunk #29 FAILED at 2039.
 2 out of 29 hunks FAILED -- saving rejects to file
 drivers/scsi/ufs/ufshcd.c.rej
 patching file drivers/scsi/ufs/ufshci.h

 The rejects are pretty complex hunks; could you please rebase to the top
 of the scsi-misc tree?  Thanks,

Ok, I will do it.


 James


--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH V6 1/4] [SCSI] drivers/scsi/ufs: Seggregate PCI Specific Code

2013-02-05 Thread vinholikatti
From: Vinayak Holikatti vinholika...@gmail.com

This patch seggregates the PCI specific code in ufshcd.c to make it
ready for splitting into core ufs driver and PCI glue driver. Also
copyright header modification to remove extra warranty disclaim.

Reviewed-by: Arnd Bergmann a...@arndb.de
Reviewed-by: Namjae Jeon linkinj...@gmail.com
Reviewed-by: Subhash Jadavani subha...@codeaurora.org
Signed-off-by: Vinayak Holikatti vinholika...@gmail.com
Signed-off-by: Santosh Yaraganavi santos...@gmail.com
---
 drivers/scsi/ufs/Kconfig  |   50 +++
 drivers/scsi/ufs/ufs.h|   44 +++
 drivers/scsi/ufs/ufshcd.c |  350 +++--
 drivers/scsi/ufs/ufshci.h |   44 +++
 4 files changed, 268 insertions(+), 220 deletions(-)

diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig
index 8f27f9d..8ee40df 100644
--- a/drivers/scsi/ufs/Kconfig
+++ b/drivers/scsi/ufs/Kconfig
@@ -2,45 +2,35 @@
 # Kernel configuration file for the UFS Host Controller
 #
 # This code is based on drivers/scsi/ufs/Kconfig
-# Copyright (C) 2011  Samsung Samsung India Software Operations
+# Copyright (C) 2011-2013 Samsung India Software Operations
+#
+# Authors:
+#  Santosh Yaraganavi santosh...@samsung.com
+#  Vinayak Holikatti h.vina...@samsung.com
 #
-# Santosh Yaraganavi santosh...@samsung.com
-# Vinayak Holikatti h.vina...@samsung.com
-
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
 # as published by the Free Software Foundation; either version 2
 # of the License, or (at your option) any later version.
-
+# See the COPYING file in the top-level directory or visit
+# http://www.gnu.org/licenses/gpl-2.0.html
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-
-# NO WARRANTY
-# THE PROGRAM IS PROVIDED ON AN AS IS BASIS, WITHOUT WARRANTIES OR
-# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
-# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
-# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
-# solely responsible for determining the appropriateness of using and
-# distributing the Program and assumes all risks associated with its
-# exercise of rights under this Agreement, including but not limited to
-# the risks and costs of program errors, damage to or loss of data,
-# programs or equipment, and unavailability or interruption of operations.
-
-# DISCLAIMER OF LIABILITY
-# NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-# DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
-# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
-# USA.
+#
+# This program is provided AS IS and WITH ALL FAULTS and
+# without warranty of any kind. You are solely responsible for
+# determining the appropriateness of using and distributing
+# the program and assume all risks associated with your exercise
+# of rights with respect to the program, including but not limited
+# to infringement of third party rights, the risks and costs of
+# program errors, damage to or loss of data, programs or equipment,
+# and unavailability or interruption of operations. Under no
+# circumstances will the contributor of this Program be liable for
+# any damages of any kind arising from your use or distribution of
+# this program.
 
 config SCSI_UFSHCD
tristate Universal Flash Storage host controller driver
diff --git a/drivers/scsi/ufs/ufs.h b/drivers/scsi/ufs/ufs.h
index b207529..139bc06 100644
--- a/drivers/scsi/ufs/ufs.h
+++ b/drivers/scsi/ufs/ufs.h
@@ -2,45 +2,35 @@
  * Universal Flash Storage Host controller driver
  *
  * This code is based on drivers/scsi/ufs/ufs.h
- * Copyright (C) 2011-2012 Samsung India Software Operations
+ * Copyright (C) 2011-2013 Samsung India Software Operations
  *
- * Santosh Yaraganavi santosh...@samsung.com
- * Vinayak Holikatti h.vina...@samsung.com
+ * Authors:
+ * Santosh Yaraganavi santosh...@samsung.com
+ * Vinayak Holikatti h.vina...@samsung.com
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
  * as published by the Free Software Foundation; either version 2
  * of the License, or (at your