Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2370391imm; Thu, 19 Jul 2018 19:37:59 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeGrpp05P4OwlHj/Rl4K1/j7T71j41jmtO4xnbM3+qnDDqJzrsuTqs5/s/gDAIY4ynW11hW X-Received: by 2002:a17:902:7896:: with SMTP id q22-v6mr237940pll.47.1532054279210; Thu, 19 Jul 2018 19:37:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532054279; cv=none; d=google.com; s=arc-20160816; b=VY4bpF/oAwI8ca1G4kzgLFeVT68sMcbS8OKVtOlNQORmZSh2WFiZkl5iN6F2YTwDgG qFWq+BKQY880lLgAZEOMdsMFsWkNdoSn5OQki+Uiw4m3Vd+Tc+bp4dQkg15vroxSNUI/ r5iHqBSk1VYcyRkSG/7COZAcDVOCU0h23d2T32/D9sHxu3goc79nveWRkWFTA7d3NftM Q4EfMKgDh+2bxQmy4D+7fVYnUfOKQFFe4W9DSz+Ic7xojavUbHFspOrvWrfcx+xTUVlZ 0U7a/ssDGhcTFcr5FmmULQLD1FBVB8MHHc6WaM0ujC6WNmzYMHIiB5MRrYvYNXc4MANZ R5aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:cc:to:dkim-signature:arc-authentication-results; bh=oXGcECobgfk7KQOhAtXqE5xYd1A2Uqv65QOdjTIpnVM=; b=px67IWJaz8SFFDAS92AEmirZB8NoMPtSk/nti6PqzFZoVu+sH8GvCnb4QWmWgeQY+K 5LEH4KEmul8eIAGPU5ynkHY/1+nBYjGsyGYPwTZ0nKjOcsu4pvTtWWA5hySPgmgCS5SM f8uDvk+yeBTg/cxUuGq5++kg32HcTzpPp/D5VeLrYEDsr9/nGu2S7ucfBvd52ohb235B xmKBj+6N1KkN/H58N5rhQ1fqi4TG+h7XaHMeQB/RJu21KRTO2eBGD46gBnQjZRWDpoxg DjhgF4rYQCyvjTITXpI1zciI6c2SufVo7l0HlrToeZYA4pmzzn4Zg3SQfXXhf4svebIE sxqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@infradead.org header.s=bombadil.20170209 header.b=CBNUx9Qm; 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 w19-v6si650595ply.66.2018.07.19.19.37.44; Thu, 19 Jul 2018 19:37:59 -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; dkim=neutral (body hash did not verify) header.i=@infradead.org header.s=bombadil.20170209 header.b=CBNUx9Qm; 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 S1731053AbeGTDWO (ORCPT + 99 others); Thu, 19 Jul 2018 23:22:14 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:52512 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730556AbeGTDWO (ORCPT ); Thu, 19 Jul 2018 23:22:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+Yg9IIdtDMt3XObLs8JRDH6X0MbbctWjkD0O95sDmIo=; b=CBNUx9QmlgGkJOF9IFowuBHRB WD69Jzcsc+Y1fvPWeHOyusJpoqTNlvBD5FR69i//2PmOtmoDbJFR0uRvHz6gxXo6tBOycVz5EmBlU WwwQRo9zJPHzwTho8uen3O6D2JeFdIdjVgqRuD12h4vtoZCjvYpijx8IeunW49wIeIZ+hylT7bv20 d1GEjWsMbsYB1qqg8smgznXe7ndiGkAB+IuZGM0VyGaXVbPjCy9pg3o9MXTnJS7PE0wXennT09t8g WEwak+7diDB6QV7uxvn1OpBh7Uj9M/qPoLjtKFYVTXYOSkAIOZBl4FxFk3HUEMVaOAxMa0VlJPUuK PltFxNbgQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fgLH5-0002IA-Ge; Fri, 20 Jul 2018 02:36:07 +0000 To: LKML , Yoshinori Sato Cc: uclinux-h8-devel@lists.sourceforge.jp From: Randy Dunlap Subject: [PATCH] arch/h8300: eliminate kgbd.c warning Message-ID: <7c458f27-9603-af24-e4e3-b87ef99693e3@infradead.org> Date: Thu, 19 Jul 2018 19:36:06 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 }, };