From patchwork Wed Sep 13 14:08:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 138851 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp1123753vqx; Wed, 13 Sep 2023 07:25:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGhsT9LU7hftO1YCGA8wg4NjsS5SyG+7UyHOntt8OXBczUQoA/jwymzJecrOS46DpFtCnQf X-Received: by 2002:a05:6a20:4410:b0:140:6fa9:7001 with SMTP id ce16-20020a056a20441000b001406fa97001mr3144154pzb.40.1694615108608; Wed, 13 Sep 2023 07:25:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694615108; cv=none; d=google.com; s=arc-20160816; b=lenK6yeVtLhix13JQ65cR0uIyPwvgnjCneGBGdL9NysumkasHN2j2h3C/Wo0a6u/Mq SzGzZ3DI1haL+NpUrxaibUtgHrXjGblziTZnP2eCW2gHxZLC0YCNwjGeAn3ab15WyJ8H 9wZrupaGYUOqk82yfSQE7KIOi0JIl11ErxAPf2EkY3BPVnXgomzRuyMyDm2LR5H+Cloc QPqPL02rZ1jh0/JdhwrA3oKH/rboCuYOGnivMQbbXoozULfdBDfEXokIURMC6P4ultUG Xbh9/59JsAc3l6OuAyix8GoVEHMkE/i4B+qBVgtz9drPsgOvjOX1EsrwZ74YOCyygJoz 0/Nw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=itvAk7FW3/ARrrlUqmN2UdRT0mPs1snS66nT0mr855M=; fh=fKMC3BTGjlLXl5EvEhzqt3WHCynqYJKK7wAqLAOkWUw=; b=dfu3GpTOCcQyN4IMk4pw3zasCNrNu8EdPbO6n7zKX2kszcOqo+8Hzc03ys5rsJ5vlR kWlaN178Pp2oefHxofH30VxvopUdxt5YNrxfSNQr8X9TW/zITuTXlYSe1yuNTA7RTx/O YayLmD/3awiHb8Xu+O+D9+SXWHzZ8R6DXJXiftkcj5gmUsJt6d22DtwM2e+Ui+MijtT8 irdE3pUEiEFO0naCfIDvysFlbegR8xJoYOPctpRqtyaaWof1vFmxjv/NXj/56taHXvqI 0CU1Kp5FqxhpmbHk2p8bDJ0M+La+vdSFwgvl2UTW/NbsRGkXlFdEpnPdz+1cXnKHbD2+ /PcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id a11-20020a056a001d0b00b00682a0e45b59si10146096pfx.85.2023.09.13.07.25.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 07:25:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 373C8844D53C; Wed, 13 Sep 2023 07:10:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241449AbjIMOKb (ORCPT + 36 others); Wed, 13 Sep 2023 10:10:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241407AbjIMOJc (ORCPT ); Wed, 13 Sep 2023 10:09:32 -0400 Received: from weierstrass.telenet-ops.be (weierstrass.telenet-ops.be [IPv6:2a02:1800:110:4::f00:11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1380A1FE0 for ; Wed, 13 Sep 2023 07:08:53 -0700 (PDT) Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by weierstrass.telenet-ops.be (Postfix) with ESMTPS id 4Rm2PF2Pmyz4xHBr for ; Wed, 13 Sep 2023 16:08:49 +0200 (CEST) Received: from ramsan.of.borg ([84.195.187.55]) by baptiste.telenet-ops.be with bizsmtp id lS8n2A00i1C8whw01S8nqN; Wed, 13 Sep 2023 16:08:49 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qgQXe-003ctU-C6; Wed, 13 Sep 2023 16:08:47 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qgQXv-00FV6a-NZ; Wed, 13 Sep 2023 16:08:47 +0200 From: Geert Uytterhoeven To: linux-m68k@lists.linux-m68k.org Cc: Arnd Bergmann , Finn Thain , Michael Schmitz , Philip Blundell , Greg Ungerer , Joshua Thompson , Sam Creasey , Laurent Vivier , linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 40/52] m68k: sun3: Fix signature of sun3_get_model() Date: Wed, 13 Sep 2023 16:08:30 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 13 Sep 2023 07:10:50 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776932731953981464 X-GMAIL-MSGID: 1776932731953981464 The mach_get_model() callback takes a "char *", not an "unsigned char *". Signed-off-by: Geert Uytterhoeven Acked-by: Arnd Bergmann --- v2: - Add Acked-by. --- arch/m68k/sun3/idprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/sun3/idprom.c b/arch/m68k/sun3/idprom.c index 1ace5353d78f5377..9ffd6515ad74a7fa 100644 --- a/arch/m68k/sun3/idprom.c +++ b/arch/m68k/sun3/idprom.c @@ -83,7 +83,7 @@ static void __init display_system_type(unsigned char machtype) prom_halt(); } -void sun3_get_model(unsigned char* model) +void sun3_get_model(char *model) { register int i;