Received: from eggs.gnu.org ([2001:4830:134:3::10]:49350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3bxk-0002MM-8h for qemu-devel@nongnu.org; Sun, 06 Nov 2016 23:55:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3bxg-0001We-C0 for qemu-devel@nongnu.org; Sun, 06 Nov 2016 23:55:16 -0500 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:36044) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c3bxg-0001WC-45 for qemu-devel@nongnu.org; Sun, 06 Nov 2016 23:55:12 -0500 Received: by mail-pf0-x242.google.com with SMTP id n85so15023276pfi.3 for ; Sun, 06 Nov 2016 20:55:11 -0800 (PST) References: <20161018215031.2575-1-marex@denx.de> <20161107035501.GA26260@roeck-us.net> <58200049.6060306@codesourcery.com> From: Alexey Kardashevskiy Message-ID: <00a174ac-2ff3-29bd-3e5e-9fdb10b8d64e@ozlabs.ru> Date: Mon, 7 Nov 2016 15:55:04 +1100 MIME-Version: 1.0 In-Reply-To: <58200049.6060306@codesourcery.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [V3,1/7] nios2: Add disas entries List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sandra Loosemore , Guenter Roeck , Marek Vasut Cc: Jeff Da Silva , Chris Wulff , qemu-devel@nongnu.org, Yves Vandervennet , Ley Foon Tan , Richard Henderson On 07/11/16 15:17, Sandra Loosemore wrote: > On 11/06/2016 08:55 PM, Guenter Roeck wrote: >> On Tue, Oct 18, 2016 at 11:50:25PM +0200, Marek Vasut wrote: >>> Add nios2 disassembler support. This patch is composed from binutils files >>> from commit "Opcodes and assembler support for Nios II R2". The files from >>> binutils used in this patch are: >>> >>> include/opcode/nios2.h >>> include/opcode/nios2r1.h >>> include/opcode/nios2r2.h >>> opcodes/nios2-opc.c >>> opcodes/nios2-dis.c >>> >>> Signed-off-by: Marek Vasut >>> Cc: Chris Wulff >>> Cc: Jeff Da Silva >>> Cc: Ley Foon Tan >>> Cc: Sandra Loosemore >>> Cc: Yves Vandervennet >>> --- >>> V3: No change >>> V2: Replace the nios2.c with GPL2 licensed version >> >> checkpatch.pl reports: >> >> total: 1967 errors, 150 warnings, 3559 lines checked >> >> on this file. When applying it, git reports a number of whitespace problems. >> >> Is that expected ? >> >> Guenter > > I don't know what checkpatch.pl is, or what "errors" it might be > complaining about, but I'd strongly discourage doing anything to this code > that would cause it to diverge from the binutils code it was derived from, > even trivial whitespace changes. ./scripts/checkpatch.pl in the QEMU source tree. Reports about coding style problems (which can be ignored in the case like this, yes). > That would only complicate propagating > updates to the code to both components. (I can't say I have any such > patches in my queue right now, but I also can't rule out such changes in > the future....) Then why merging a bunch of files into a single one? If you ever do updates, it will be easier just to copy new files over and make a patch. > > -Sandra the nios2 binutils maintainer > > -- Alexey