Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp4076507rdb; Wed, 30 Aug 2023 15:03:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGr1ukBai9iL/Dku7svY1nJ3DY3di3yjEmpKIUn5r3HAYHiFR6DTg5zhzS6Zk2/Se7ZoQwk X-Received: by 2002:a17:906:1011:b0:9a5:c5fe:af85 with SMTP id 17-20020a170906101100b009a5c5feaf85mr2628803ejm.3.1693433011115; Wed, 30 Aug 2023 15:03:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693433011; cv=none; d=google.com; s=arc-20160816; b=OYL8NdB9N59MIUa92zhu/M69pMwbKU5S62c5krNagD/0NBdz42QVitqolaRzyYXGr1 I3UnpZYrQxo7w8Ax4HVR7N3ksZAP+Ll9kUHthtDQr67mME3VKFlHzvB2auihodbwjJXy 6ltqT+yGkrECnpf6a1TG3Ddbif3EfT5zMJEuxs3ZwcZnmv1IHcURyKye+sTe64WoUKte qjAZaFTN1Ss3QLfyKEQVL3HNo/PFN/9Xe+gQaIeCstNxLFu9KUbx8P/gElwVe0IG7tg2 oUu93FXR95IkajdapZtDADxD9ewl6QxwH3ddgHd4fYsxP3pLaZt1up0VJt6ZG32uhi1s Gugw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=XTWeSFR0PWJaDDirM0tMZKwp31wyQVrfcGRba5L6dK0=; fh=SLPXKsMJGnwu3ZmEqgZBhB3cP3zG5zdZjB5Ry9ng5UI=; b=W/yFJ98dvQ8lB7SwAmq8asgRW5ACVdSvdVgBZfCfBvCi73h7TePej6rnQwZ9qDKw2e hCEZ4+HEgWk27tp2/2tqrQNkTjWzNFBsMaH0gszUWpdyjn75KrKhURts2f/9N9wAJIhj rrS4z6dJTiBwOm1PxJy7aaBvKIBygoeXBWUWCh6ZXAhyz6vpERYRq5M9+QgS/LxkokSf TXh8Cqk0DgdDSIImJlzzjc/1C7DgwaxXK+3O1nnri6UkeFqiCcJB04dIe3wKGxkJpS5H KiYjdzOytiHx+E/ZijfSFgV/xnkQGVTuu8NiNpWJrYL0cQcGnM0lfGR+styBRqwAj2NX qS3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="FWT31d/f"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a6-20020a170906244600b009a1c2fcdce9si46112ejb.104.2023.08.30.15.03.03; Wed, 30 Aug 2023 15:03:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="FWT31d/f"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245514AbjH3TQH (ORCPT + 99 others); Wed, 30 Aug 2023 15:16:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242818AbjH3JrD (ORCPT ); Wed, 30 Aug 2023 05:47:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 602161A4; Wed, 30 Aug 2023 02:47:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F3265615A0; Wed, 30 Aug 2023 09:47:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A3CFC433C8; Wed, 30 Aug 2023 09:46:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693388820; bh=kTGYHnWJ3gzPlhXKqsUN9bUzT388h/9DiQuE8wCZUho=; h=From:To:Cc:Subject:Date:From; b=FWT31d/f0mCee+oe2RpoHRWuy7BaEhYxxWMFJaiZAN6CR0tJNLANokteDrW4eThQT UsOJ9R3xmuZnfB53mDG1PFU06C6Uzfw799Fvw4pPcHf0ydZ2LVE4PfRIVvQDj3IxEz v96Ot9FTGUw18MLSYOyr1QZi7pYgKSwO3iupMAf2vW5QPYJq/aZ5s0i8rG1/4vE5Lf ZmmwbstV/QOF5y0CgCw08qsJNiWaelMqn4uDThCdEnSNZ6oIEkTJstTcI1ch67J8ZZ 0nHWIdtBAOEyXw43Yr9XLEJTl76oU3bUR7rY/bV4QDJ2IFu8xMXH7VDFFxqMhCewJt ppQ5UqdKp34aw== From: guoren@kernel.org To: guoren@kernel.org, arnd@arndb.de, linux@roeck-us.net Cc: linux-csky@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Guo Ren Subject: [PATCH] csky: Fixup compile error Date: Wed, 30 Aug 2023 05:46:53 -0400 Message-Id: <20230830094653.2833443-1-guoren@kernel.org> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Guo Ren Add header file for asmlinkage macro. Error log: In file included from arch/csky/include/asm/ptrace.h:7, from arch/csky/include/asm/elf.h:6, from include/linux/elf.h:6, from kernel/extable.c:6: arch/csky/include/asm/traps.h:43:11: error: expected ';' before 'void' 43 | asmlinkage void do_trap_unknown(struct pt_regs *regs); | ^~~~~ Fixes: c8171a86b274 ("csky: Fixup -Wmissing-prototypes warning") Reported-by: Guenter Roeck Signed-off-by: Guo Ren --- arch/csky/include/asm/traps.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/csky/include/asm/traps.h b/arch/csky/include/asm/traps.h index 1e7d303b91e9..732c4aaa2e26 100644 --- a/arch/csky/include/asm/traps.h +++ b/arch/csky/include/asm/traps.h @@ -3,6 +3,8 @@ #ifndef __ASM_CSKY_TRAPS_H #define __ASM_CSKY_TRAPS_H +#include + #define VEC_RESET 0 #define VEC_ALIGN 1 #define VEC_ACCESS 2 -- 2.36.1