Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4820104imm; Sun, 22 Jul 2018 06:35:29 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfTBdW/ey0lim7t/br5oNGj9WiVYcRwzz56Gdm68F41uj/YRnui/iaBmAyIISqU7zk716DZ X-Received: by 2002:a63:b256:: with SMTP id t22-v6mr8911858pgo.101.1532266529904; Sun, 22 Jul 2018 06:35:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532266529; cv=none; d=google.com; s=arc-20160816; b=kQOSDkccUESrOSdnRlNwdVRmUdHQs5fV4zf+Zx2t8KSilyOJ0iThGbL3pGXYMMVFI2 XG/s6CEg+TPZI5T1QKC7IWzymU/ExCzAh/8eLUX/BXaRcPSEuqIv3yqQyoLkCA8hFBeo ctLgb08SCBzK7BEJeTV9Efx82BTw45pQkhs4w1BLkveO7e3gg4RQHG0L4/dOAp69MjfB tY2GP0mOPqcFwNgvHzdjFt6ANJ5mcj+Q2GvTMd4H3RideK6ONvHl8rrNbTbSwKDOpnjF lLLeTS+ey4J5A4pO4smwc8TUMuUjkUZk9n78x0ph+M6t3lz/LIThk/lrzac3XghEWwFh BquQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date :arc-authentication-results; bh=QVhCW5WyzRxV7Mv+9r/puBEd1XhZ6czg7fDovBpvgpo=; b=D3mmU28czM1ySH3FlnnCWvPBIHi4Yshb0U4wgM4MGsoZWcuRaoPq2Nr8HUf9bH/6Iq 7yaoQJp5P4OUHxK6/6x1BGtoCFDrlqBf8RPJ9MeZE6UhxQbdNT3JSXwi0vSEsuqfYCi0 /vf9j2Lk95897ellheAHRn2juOJkYlkusFatza+rhkaDHrjKxyHE1ZlVnHCs+zuFOefg FyubPlxZnOs0VJg+e3+5XKlvftBIX3QfR+0H/CzziUiOdqJ64iedOwvbROkRAOJtM54m Dd0EXoJhurybHQhhYDw9sEtURGyyo/MszzObG3RtEEU10c5VNSbX1X/JQVi79+rCjs2H diYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i62-v6si6288837pfc.217.2018.07.22.06.35.14; Sun, 22 Jul 2018 06:35:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728521AbeGVOaT (ORCPT + 99 others); Sun, 22 Jul 2018 10:30:19 -0400 Received: from mail03.asahi-net.or.jp ([202.224.55.15]:52604 "EHLO mail03.asahi-net.or.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728244AbeGVOaT (ORCPT ); Sun, 22 Jul 2018 10:30:19 -0400 Received: from h61-195-96-97.vps.ablenet.jp (h61-195-96-97.vps.ablenet.jp [61.195.96.97]) (Authenticated sender: PQ4Y-STU) by mail03.asahi-net.or.jp (Postfix) with ESMTPA id 84F81EB287; Sun, 22 Jul 2018 22:33:36 +0900 (JST) Received: from yo-satoh-debian.ysato.ml (ZM028236.ppp.dion.ne.jp [222.8.28.236]) by h61-195-96-97.vps.ablenet.jp (Postfix) with ESMTPSA id 309BE24006D; Sun, 22 Jul 2018 22:33:36 +0900 (JST) Date: Sun, 22 Jul 2018 22:33:35 +0900 Message-ID: <87k1pnfl8w.wl-ysato@users.sourceforge.jp> From: Yoshinori Sato To: Randy Dunlap Cc: LKML , uclinux-h8-devel@lists.sourceforge.jp Subject: Re: [PATCH] arch/h8300: eliminate kgbd.c warning In-Reply-To: <7c458f27-9603-af24-e4e3-b87ef99693e3@infradead.org> References: <7c458f27-9603-af24-e4e3-b87ef99693e3@infradead.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 20 Jul 2018 11:36:06 +0900, Randy Dunlap wrote: > > From: Randy Dunlap > > Drop the "const" qualifier from arch_kgdb_ops to eliminate the gcc > warning (gcc version is 8.1.0). > > arch/h8300/kernel/kgdb.c:132:24: error: conflicting type qualifiers for 'arch_kgdb_ops' > const struct kgdb_arch arch_kgdb_ops = { > In file included from ../arch/h8300/kernel/kgdb.c:12: > ../include/linux/kgdb.h:284:26: note: previous declaration of 'arch_kgdb_ops' was here > extern struct kgdb_arch arch_kgdb_ops; > > Signed-off-by: Randy Dunlap > Cc: Yoshinori Sato > Cc: uclinux-h8-devel@lists.sourceforge.jp > --- > arch/h8300/kernel/kgdb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- linux-next-20180717.orig/arch/h8300/kernel/kgdb.c > +++ linux-next-20180717/arch/h8300/kernel/kgdb.c > @@ -129,7 +129,7 @@ void kgdb_arch_exit(void) > /* Nothing to do */ > } > > -const struct kgdb_arch arch_kgdb_ops = { > +struct kgdb_arch arch_kgdb_ops = { > /* Breakpoint instruction: trapa #2 */ > .gdb_bpt_instr = { 0x57, 0x20 }, > }; > > Applied to h8300-next. Thanks. -- Yosinori Sato