Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2866962rwo; Mon, 24 Jul 2023 02:30:11 -0700 (PDT) X-Google-Smtp-Source: APBJJlEuFHN14gq3xVzYkfUi7g5X50m6+FRZbFrqjTr7p9POucKkUyxn8G9d3WbrdKCep21zTcyw X-Received: by 2002:a17:902:dac6:b0:1ba:fe6a:3845 with SMTP id q6-20020a170902dac600b001bafe6a3845mr14265584plx.11.1690191011456; Mon, 24 Jul 2023 02:30:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690191011; cv=none; d=google.com; s=arc-20160816; b=s+BWcXfVk/rNZz+bwquuXrYcEQ13qRMBwRuwSWSyEpfkcoBYa6F0CX+I8EC9MtH7RK FTcbOQHN4f+UqW/X7ENzK8CJ4GMFNU0zMOweU03VJO05/3JGMCRZyLDfpDCT42lDonmX r6Ob7JPY8k+3/HFXpuLqDqyQ6YFjdf34zKJg/PP273iglH73T8ubQ06Y2dKWP9sYBdMl u5hkXMtsT0z0L4arxAYcf5OFfIxIRKy1VJafCrTXWppj97KnhC6GhthbpDv7UuFBIadK LxyL+81shyme9RHN/g1bITvClpFlSZ53B1aN5rVCZ3jSJ/xuws3LoUfeLvztnCwMQQEw QTzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=HEr10OPdEy1ZYO/mVS6wphD+qLuKWVWllwlR82jXMoY=; fh=0s4XGNYBL1ksdvzIHBTaIIirnObgmKeyw53Dg5dfvgk=; b=qOPcK5vh9nYFLuuWoJETmMcnn55Mk7XqtiD350f6QY6/KZeX8d85KFNgj3hwOwkXPl glMv4ksaQajAf46eKgaSTFFnU+WGfhqpyKl8tsSdW7FrCSBqFAT3lyqi/hJZBK78/4aG f27VLTdFymZ9aCyeQe6655EFj5rTARKrArF03rJOJvUA6H7DXYPXsw2VGsc6kREdBfJh gYaa4Zu+3dMaZ5CWyuyipt5dBs/vjyb9LbJwKshAyXKrPSvaM1E41y3r4N59Dtr4qrFJ KAEXl6W61Zu4JDepzlHQfTPhnXRxXnVa9ovGGGZlPtfwV4vSo87uSbxsoxYz3e+t9WNs PUvA== ARC-Authentication-Results: i=1; mx.google.com; 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 r17-20020a170902c61100b001b8ae12560fsi8367225plr.610.2023.07.24.02.29.58; Mon, 24 Jul 2023 02:30:11 -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; 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 S232003AbjGXIzv convert rfc822-to-8bit (ORCPT + 99 others); Mon, 24 Jul 2023 04:55:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232002AbjGXIzg (ORCPT ); Mon, 24 Jul 2023 04:55:36 -0400 Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com [209.85.128.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 865A7195 for ; Mon, 24 Jul 2023 01:55:31 -0700 (PDT) Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-576a9507a9bso75987667b3.1 for ; Mon, 24 Jul 2023 01:55:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690188930; x=1690793730; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SeL9Fwxd5AD4NKyHzXf07pn2OcHCNFziaHSPLDQBHPQ=; b=WZqDSErZwbQBXgA0VfZGm+EjlQ5tbHG9xSL0AKYST4LfxFpsWUYbIJ6jbPMDjfY+jb +ZADazQFtluSckc+u+BmcfiOjrhtyh6wfXva25WQgmn+NCudvDdC4JMEoaSo4NhKD+4k 6SKmy1CfZM/k1gbXqIbxIPHU7Iu8hVPuFnRt7lblxDtswZL0vHIfc3ke8iK/Lr9JticG xSHVrm7PM2nsvvoowuQ3aeuibOd71XTEPjXr3EhVMjxUWV8RYiVJ07sunrX1Gc8zkpBK Q4MqzNMBdu3Fs5uxQcafmowk2VsUiEVHAYvh27qFTUa9HkFLYu65JuFNc4I1uoY0a/r6 4FZA== X-Gm-Message-State: ABy/qLYL+d/SO+8OgHG102Rq5jLbzosVdh3tQoYjcI3nNbMxs5reMfqA OqWCdk2dCVeGqsxZ/ddNu9vQ2GSYz+TyCQ== X-Received: by 2002:a0d:eac6:0:b0:583:8c62:b162 with SMTP id t189-20020a0deac6000000b005838c62b162mr4964445ywe.4.1690188930590; Mon, 24 Jul 2023 01:55:30 -0700 (PDT) Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com. [209.85.219.177]) by smtp.gmail.com with ESMTPSA id d16-20020a814f10000000b005840bd271c5sm118579ywb.100.2023.07.24.01.55.30 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Jul 2023 01:55:30 -0700 (PDT) Received: by mail-yb1-f177.google.com with SMTP id 3f1490d57ef6-cea0021d1f3so7626731276.0 for ; Mon, 24 Jul 2023 01:55:30 -0700 (PDT) X-Received: by 2002:a25:8005:0:b0:d08:7d6a:2221 with SMTP id m5-20020a258005000000b00d087d6a2221mr4165293ybk.18.1690188929804; Mon, 24 Jul 2023 01:55:29 -0700 (PDT) MIME-Version: 1.0 References: <4d862263222c7358840745c2cd0ce0fa@208suo.com> In-Reply-To: <4d862263222c7358840745c2cd0ce0fa@208suo.com> From: Geert Uytterhoeven Date: Mon, 24 Jul 2023 10:55:18 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] m68k: q40: prefer 'unsigned int' to bare use of 'unsigned' To: xuanzhenggang001@208suo.com Cc: linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Hi Zhenggang, On Sat, Jul 8, 2023 at 6:06 PM wrote: > 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 Thanks for your patch! But obviously you forgot to run scripts/checkpatch.pl on your own patch: WARNING: From:/Signed-off-by: email name mismatch: 'From: xuanzhenggang001@208suo.com' != 'Signed-off-by: Zhenggang Xuan ' > --- 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; This part is white-space damaged, and thus fails to apply. > int i; > > //repeat: Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds