Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9216004rwp; Thu, 20 Jul 2023 01:04:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlEe3yzc4VJJL8OMayvOEr6UdnoZS58g6ECtlwlouhr4GDWZFdwQz7rQdhSOECJlWiQDhN/X X-Received: by 2002:a17:906:84:b0:982:45ca:ac06 with SMTP id 4-20020a170906008400b0098245caac06mr4299270ejc.60.1689840254883; Thu, 20 Jul 2023 01:04:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689840254; cv=none; d=google.com; s=arc-20160816; b=yYtgdnQeeNiN2SGhzb+zv0CZtOTvJT3J2eabkr557oh7P3SBTUrwaVSodGGTed7TFm u4jUsRcA2dAvqLYNB9PPhrnOzTO4aFCNP7SOHN8jZnqD0TCiHngBNhBsIMDxoprFZzG8 Rl3Wdub55eqW+flO0kI4ip0FrKQrgHQWsc8dXlGAx8p5PFQ9MBn65WXIF66xKMsSYeN5 /2lMKKRcnd6x/X06JyDVcQv6w00iupPBnH0wy0Xk8OsGEGTKeJ3y3oBparNOj5QodyKt tzVUNZVtn4CZ0v7lnAoVC6N39CiJxT2WULa/DjokXeIUyl1rrZxLyaM0MyCAKUB05SWV toIA== 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=yanXbTCSXWW43H2JOr6So1qr2G4Bfn0wL8NF7NIQlMk=; fh=d1qjn5o9nQSMKYFvRhkvDdFr5YLsix48C2pL/Yvk+jc=; b=zMsMhWGIW0CTOsRnBF4A3FiiG1CpZcGdZC8eHAV4MGZELCe4bOeZgruGVBgXyWzleZ AsWzd3ckH33pXDgZdWzsufeF6xFKKGcu1m4I0TUlqqtkTtnO4TQyH07/3aLhXXLJg5ZK vOU5veUT/tbdO9a1yBYBHP3sCUVcPpeNa69+85Tgp5UYkLgA5KSOTikY19J/O1cW0wqz rX126D7ifsIkFl2RReCxSJ4ph0fNor/7NvszafNi2UxFEimOHloYZ7Qf7lZ++/oqp2hS dGs1m3Mbpwm0GPMtGzovPCfjDd/OJ6OyWnQQaStqkE6yW6FsnSRD/yu9jXOt9LmRAdY1 ziow== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b="it5qt/70"; 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 lv24-20020a170906bc9800b0099b4147a2aesi328195ejb.95.2023.07.20.01.03.48; Thu, 20 Jul 2023 01:04:14 -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="it5qt/70"; 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 S230305AbjGTHex (ORCPT + 99 others); Thu, 20 Jul 2023 03:34:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229736AbjGTHev (ORCPT ); Thu, 20 Jul 2023 03:34:51 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F7031BC0 for ; Thu, 20 Jul 2023 00:34:49 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R64Fy2CGpzBRDsM for ; Thu, 20 Jul 2023 15:34:46 +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=1689838486; x=1692430487; bh=mo1EPzzbB1CtIWdWKzQA3xIryWc yJGZHiG1dyCtVH0E=; b=it5qt/70QvKfOLoQndmo/tLrM1SjGXLu4oDt8JEq/WQ pegzzctXB99PN7+MR7+ixcKG0iUzW9V1iQTW6bzt+I3N5qX7v+VF1mMsXm37XULu td/ZzVV4EMMpjSSZIIbiad3OKdZiqEQg3vDdB8asXFhw3VAtjsU96HpHjggySog/ dzI0mHss+tITOK6+b9vwM/4En6089mf5u64rnvziPXLV+ru2LVvk80qGl0A8SqTN lnEgP57OeWkbglx4cTdg5BNtMq1TEvNpluwtROPpG1v/IsDLjsaQzhFcmKe5UXrZ u3aeXV0TqbPCjkbMbrUrIJx42wxmpqQPXZslBtvS7jQ== 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 WXejL9co5UlB for ; Thu, 20 Jul 2023 15:34:46 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R64Fx6P7qzBRDs1; Thu, 20 Jul 2023 15:34:45 +0800 (CST) MIME-Version: 1.0 Date: Thu, 20 Jul 2023 15:34:45 +0800 From: hanyu001@208suo.com To: mpe@ellerman.id.au, npiggin@gmail.com, christophe.leroy@csgroup.eu, Liam.Howlett@Oracle.com, vbabka@suse.cz, akpm@linux-foundation.org, dave@stgolabs.net, willy@infradead.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH] mm: book3s32: add require space around that '?' and ':' In-Reply-To: References: User-Agent: Roundcube Webmail Message-ID: <44c1e39667c838d00c9dbb007184ccf1@208suo.com> X-Sender: hanyu001@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,RDNS_NONE,SPF_HELO_FAIL,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 Fix below checkpatch errors: ./arch/powerpc/mm/book3s32/tlb.c:102: ERROR: spaces required around that '?' (ctx:VxW) ./arch/powerpc/mm/book3s32/tlb.c:102: ERROR: spaces required around that ':' (ctx:VxW) Signed-off-by: Yu Han --- arch/powerpc/mm/book3s32/tlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/mm/book3s32/tlb.c b/arch/powerpc/mm/book3s32/tlb.c index 9ad6b56bfec9..de4abfe3d06b 100644 --- a/arch/powerpc/mm/book3s32/tlb.c +++ b/arch/powerpc/mm/book3s32/tlb.c @@ -99,7 +99,7 @@ void hash__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) struct mm_struct *mm; pmd_t *pmd; - mm = (vmaddr < TASK_SIZE)? vma->vm_mm: &init_mm; + mm = (vmaddr < TASK_SIZE) ? vma->vm_mm : &init_mm; pmd = pmd_off(mm, vmaddr); if (!pmd_none(*pmd)) flush_hash_pages(mm->context.id, vmaddr, pmd_val(*pmd), 1);