From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [PATCH v5 1/2] scsi: ufs: Do not disable vccq in UFSHC driver Date: Tue, 26 Feb 2019 11:26:27 -0500 Message-ID: References: <494cd639-89a7-8868-b63a-ea7cdcba9777@free.fr> <026c10b1-48e8-ab9f-fda8-6e3557b841a7@free.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <026c10b1-48e8-ab9f-fda8-6e3557b841a7@free.fr> (Marc Gonzalez's message of "Tue, 26 Feb 2019 16:30:09 +0100") Sender: linux-kernel-owner@vger.kernel.org To: Marc Gonzalez Cc: "Martin K. Petersen" , SCSI , LKML , Jeffrey Hugo , Bjorn Andersson , Evan Green , Douglas Anderson , Alim Akhtar , Avri Altman , Pedro Sousa , Joao Pinto , Mark Brown , Liam Girdwood , Rob Herring , Bart Van Assche , Stanislav Nijnikov , Alex Lemberg , Ohad Sharabi , Hannes Reinecke , Kyuho Choi List-Id: linux-scsi@vger.kernel.org Hi Marc, > I indeed started off from 'git revert' > > $ git revert 60f0187031c0 > warning: inexact rename detection was skipped due to too many files. > warning: you may want to set your merge.renamelimit variable to at > least 18258 and retry the command. > error: could not revert 60f0187031c0... scsi: ufs: disable vccq if > it's not needed by UFS device > hint: after resolving the conflicts, mark the corrected paths > hint: with 'git add ' or 'git rm ' > hint: and commit the result with 'git commit' > > So I had to resolve the conflict in ufshcd_probe_hba() > > The line: > > ufs_advertise_fixup_device(hba); > > was modified by commit 93fdd5ac64bbe80dac6416f048405362d7ef0945 If it's a resolvable delta, a proper git revert is preferred. Please document any conflicts in the commit message and list the relevant commits that introduced them. If you find yourself in a situation where reverting simply isn't feasible, I'd expect the commit to state "This should have been a revert but I'd have to boil the oceans to resolve the conflicts because XYZ..." -- Martin K. Petersen Oracle Linux Engineering