From patchwork Wed Sep 13 14:08:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 138820 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp1117503vqx; Wed, 13 Sep 2023 07:15:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF0LE8M3zmfv2HtIMtUoo+Ph4kNS4youSmeKYe1noHtdEUco+SeFVNMpkUmq3X7uyBRsY+2 X-Received: by 2002:a05:6a20:748d:b0:14b:f78e:d061 with SMTP id p13-20020a056a20748d00b0014bf78ed061mr3747566pzd.19.1694614558260; Wed, 13 Sep 2023 07:15:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694614558; cv=none; d=google.com; s=arc-20160816; b=z32XNkHgi7AXQDD7ZA5y7tTDfPGk7jN/w0ZuPwJigSD6b4Xx0ym8Ey6DreTxq2IdFC Wy7SxEqTQPZlQncd8ztMEriMVE2KVCCr5Z4ZceFsZ25wzCfv4EJlsr7QokzJ974mvhgB 9bbgqN1HWLFu9oy1kCiCm+eB2pm+AFmZHrPQ5zjklPx3Xh+tgc8/MyypsJ6GchNHydv9 g+lCELYFKPxCTSrFltPnMxKblQhbLmRDbAN7lbRL1ajsktaVaEMjq3h/Wqb0/FK7MeqZ UoNbqhsPvwb8Vm2O2oyuBnKlV9YCs4oiEXMY3QHl3wg8lZZoJxZYGKGvC0Vy59IwH6Xe CGFQ== 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=aG5rpYNSso8mH2Pngbvq1b45iooYjRYdeutoqkMfMvM=; fh=fKMC3BTGjlLXl5EvEhzqt3WHCynqYJKK7wAqLAOkWUw=; b=J/f9CZdmbUYw6bea3cAwFgcG4JS4l9emN8ebo0mi4pI4cJakcKinR3q898aFHAzbgk ckhi/9traC0HUHQwqgUk4OlajfpGPjyOAZ1zI6CgNPgofQXu1N9Qp3S2ooSkCp8R5CJe aFqJ97DY2QAJ7Rs0jk4B/34oripNsCPYuaq8VN+DBc9apI3DC0hWmapjHd+LQ7bXQqLg 3W7QVrjjFwCJ+e11t/O+xA/nv5JgdfGrto0HupOo+lgDMlmCMtgID/xYDhI60t4z4+Kf /9GTp0sSM1dEL+48zbldbuwXtcI2AqZOX7czyTW3L/VjTrY1fQpmDa7/OkuKiQn+lQfz OTQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id u76-20020a62794f000000b0068fee0e95c5si2901168pfc.89.2023.09.13.07.15.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 07:15:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 011CD80BE876; Wed, 13 Sep 2023 07:11:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241642AbjIMOKg (ORCPT + 36 others); Wed, 13 Sep 2023 10:10:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241412AbjIMOJd (ORCPT ); Wed, 13 Sep 2023 10:09:33 -0400 Received: from gauss.telenet-ops.be (gauss.telenet-ops.be [IPv6:2a02:1800:120:4::f00:11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B7A21FF0 for ; Wed, 13 Sep 2023 07:08:53 -0700 (PDT) Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by gauss.telenet-ops.be (Postfix) with ESMTPS id 4Rm2PF466jz4x9kZ for ; Wed, 13 Sep 2023 16:08:49 +0200 (CEST) Received: from ramsan.of.borg ([84.195.187.55]) by andre.telenet-ops.be with bizsmtp id lS8o2A00B1C8whw01S8oWt; 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-003cu0-KU; Wed, 13 Sep 2023 16:08:48 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qgQXv-00FV7E-W3; 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 48/52] m68k: sun3x: Fix signature of sun3_leds() Date: Wed, 13 Sep 2023 16:08:38 +0200 Message-Id: <5214afb67eac58b8adae5710aea0980c2644ff24.1694613528.git.geert@linux-m68k.org> 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 (fry.vger.email [0.0.0.0]); Wed, 13 Sep 2023 07:11:13 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776932155191787163 X-GMAIL-MSGID: 1776932155191787163 The sun3_leds() implementation for Sun3 in arch/m68k/sun3/leds.c, and the prototype in arch/m68k/sun3/sun3ints.c take an "unsigned char", not an "int". Align the dummy implementation for Sun3x with the Sun3 variant and the common caller. Signed-off-by: Geert Uytterhoeven Acked-by: Arnd Bergmann --- v2: - Add Acked-by. --- arch/m68k/sun3x/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/sun3x/config.c b/arch/m68k/sun3x/config.c index 3a10cda636fc38fb..e2a5d84df6d214d1 100644 --- a/arch/m68k/sun3x/config.c +++ b/arch/m68k/sun3x/config.c @@ -27,7 +27,7 @@ volatile char *clock_va; extern void sun3_get_model(char *model); -void sun3_leds(unsigned int i) +void sun3_leds(unsigned char byte) { }