Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp33344556rwd; Sat, 8 Jul 2023 09:43:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlEi3xyJufbeWBi6PYpiVkWHux9Cn5sZP/cBEr17wW/H1wAGkq5Wf1W0WzMosVzEBdslcmb1 X-Received: by 2002:a2e:c49:0:b0:2b6:cf18:77e0 with SMTP id o9-20020a2e0c49000000b002b6cf1877e0mr5805182ljd.48.1688834624178; Sat, 08 Jul 2023 09:43:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688834624; cv=none; d=google.com; s=arc-20160816; b=TKOXEOos1NR045jtz+MU8+MqF3IllZp898GxAhf7xIbI7NQxtdTPg1dY6fjU6ZD2Z+ cJ76siOgr3iTpy/IXkLbXoC6lp4YK1ZS482U5Z6phWwHeNDBQpmpc/muy1W/OwdRiqtg sAp/3IgyFoIHMNhZ5dZaB3vBmzfOlevWptb7xDMpPeMTP/DvI9J1Wez9dIW6/TnfqE0L 4Wy+ZAXSDGDJbszy5IV6+Q89bq2GbuI+we0mgCCZSOclC9q00SQq6ky++HqHx0a5HfJT K8gdOYex2+MyiEleMlgv9hTsbCAuyDBocD4T5UfiLppBSWDFXNLOZ8AxeyOUT6/cY8VE r5wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=8BTjJtd3dL0QYko753jEeu6tbDfwayB37FZVIuXzZ8c=; fh=yJ03gVPo8QncJ3xnGtCvRe39+iWnBJnlhYCKlE7uuXo=; b=Op6AU9a2MJn9Kt6t/gL+8Lr7cDSp2Tbgu+xygIoNChQhDtSz4F+xvqzj1jGz6P38wJ GwuKlVktL987l3Pq5WTDtUqIb3R/PBJiy1zEaIciZEk71kqDz9SS8fJyURr0OpM6BZb0 fvg+DED7qk/0VBLUwERf5FlHg3tJQr/u+ypC67q+kN2be/YV+MI80vcgZNLbJLdieVRY buSzEyJgxwLaT6EwUUPgmsrczbbzQ53dfeuls8HgIHQ+KH2VdVkwb0SPks8PdiZLRMA8 bUqR7BUH7Idqot3FPWIa58u4v9DnDa5xJi4Jl7w2V98pms31boS1EtQueMinE/0v2jVE vPfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=qVqwuhuy; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u15-20020a17090617cf00b0098dfd35276esi3701246eje.1055.2023.07.08.09.43.12; Sat, 08 Jul 2023 09:43:44 -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=neutral (bad version) header.i=@208.org header.s=dkim header.b=qVqwuhuy; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229827AbjGHPvy (ORCPT + 99 others); Sat, 8 Jul 2023 11:51:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229726AbjGHPvv (ORCPT ); Sat, 8 Jul 2023 11:51:51 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 226031A8 for ; Sat, 8 Jul 2023 08:51:48 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4Qyvrv19GnzBHXkd for ; Sat, 8 Jul 2023 23:51:43 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :references:in-reply-to:subject:to:from:date:mime-version; s= dkim; t=1688831500; x=1691423501; bh=6UNwiye9DK9kR1UF8tjATHdsO2e t5D1MCkBSWpcgjPk=; b=qVqwuhuy+AKKjx2m5T/SxpyTOUiz83/GjgpZu9+Z5JS NAIatOGPcbfddj8OmUXuxFB8rT/5J2O5bI8J/8YPcvBsIbFCkk1ht2Fv9sx+3x73 zn2FYY0FFY+5WSLGCHbcDedvFWdcoyUS+FhUafE5XHjRUPS4hGJfYKQg06KRE/2v VlOPL0OqmolOm5Qtz4QogYIFJVcScrtZC0Vyqzm+BjZu9YPJ0AhP5XArxRXY+uv9 owOwbwZTAcIVLM6vKjzYJ2ErGZsPo6pMkYbm9aaQ1fgajYtchcVdvzZ2cDG6ipe+ GNBY9flVz7V8s2Tc02jPtzwOHNxOBcYlPL5jYt4Ud1w== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 9fKbQudeLmGi for ; Sat, 8 Jul 2023 23:51:40 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4Qyvrr66ltzBHXkZ; Sat, 8 Jul 2023 23:51:40 +0800 (CST) MIME-Version: 1.0 Date: Sat, 08 Jul 2023 23:51:40 +0800 From: xuanzhenggang001@208suo.com To: geert@linux-m68k.org Cc: linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org Subject: [PATCH] m68k: q40: prefer 'unsigned int' to bare use of 'unsigned' In-Reply-To: References: User-Agent: Roundcube Webmail Message-ID: <4d862263222c7358840745c2cd0ce0fa@208suo.com> X-Sender: xuanzhenggang001@208suo.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_BLOCKED,RDNS_NONE,SPF_HELO_FAIL,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no 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 Fix the following warnings reported by checkpatch: ./arch/m68k/q40/q40ints.c:172: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' ./arch/m68k/q40/q40ints.c:211: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: Zhenggang Xuan --- arch/m68k/q40/q40ints.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/m68k/q40/q40ints.c b/arch/m68k/q40/q40ints.c index 127d7ecdbd49..9605d7b6cb30 100644 --- a/arch/m68k/q40/q40ints.c +++ b/arch/m68k/q40/q40ints.c @@ -169,7 +169,7 @@ void q40_sched_init (void) * */ -struct IRQ_TABLE{ unsigned mask; int irq ;}; +struct IRQ_TABLE { unsigned int mask ; int irq ; }; #if 0 static struct IRQ_TABLE iirqs[]={ {Q40_IRQ_FRAME_MASK,Q40_IRQ_FRAME}, @@ -208,7 +208,7 @@ static int aliased_irq; /* how many times inside handler ?*/ /* got interrupt, dispatch to ISA or keyboard/timer IRQs */ static void q40_irq_handler(unsigned int irq, struct pt_regs *fp) { - unsigned mir, mer; + unsigned int mir, mer; int i; //repeat: