Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp333755pxa; Tue, 11 Aug 2020 04:20:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQy3Y5yM5ItPzLl/UH/Nz7YS81567iLofHlUr71cBKJeVJzlr7V9s8AQOzy5GaYJEv8tnB X-Received: by 2002:a17:906:a019:: with SMTP id p25mr6678358ejy.463.1597144827189; Tue, 11 Aug 2020 04:20:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597144827; cv=none; d=google.com; s=arc-20160816; b=kCIEXcQqPXkP0dv0Q/w8j2kmQrvd5l/ZcEhY4vVJqS8mRypZXSNWvPCUrkt2hYOlXA 4znsI6+oV+bcjSJ66bWSFRKNlAn5DyTnUHtaJbLyfXrDTlQaPRBHxEEmdRO4ro7Snr1O mh9qIxML4jPoZZIaeDnoqJZs2vIk35UDkXgw2o9TpSCk33bN/CcJkS/t3aZN96D638Bc 08xGHmftyg5bF9CQUhCf34FZdqB0v2Dk8n/9/j4r6YaMbqfqXuu5TaxyLhVSNYPCwBKf /rMAg9YojqLqJnsGtRB9vxkzEmZfoRKqc7C6bBv0846Kp55XFazv6Vdl+hAcVVxJS5o0 S2hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=WhMlMR0rWuSfJKIPPo9mAojnhHNWUY4zWDVzFeeHjaY=; b=Kr9VaoW93AEpa3Q2kyxDfk7Grn2aRqf2twtDzxMJaqPSf3b4xvL8/ftBhBK3EgM3Jn Wt6Zg94Py0CIa6wIJvedRGs2WJGf1AmARNqQjBdP+ZwCYeh2I5RkBYgVkuJfku8Kad1v llfvZvQXCjgH1PfZCDwyRZ9HY2+EYxtfRfT2G7sM/Pg9n8CsQT0HSuEL24QeX+CBNDEB NnbG9TGW8cPxmjM5yU+S1k6KID9acI0VOgh8qDna6Xbd0tujV8+PY8v6gDD6miumKt3y ePFEgoOA7fhVnwASsUFINNZhR21uAcCgSiE4pVLr+jrsGrigDsTOLw0WEkJeYkb0DVrx uwiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Jz+aoNkI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n6si12342576ejz.524.2020.08.11.04.20.03; Tue, 11 Aug 2020 04:20:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Jz+aoNkI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728655AbgHKLS4 (ORCPT + 99 others); Tue, 11 Aug 2020 07:18:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728469AbgHKLSz (ORCPT ); Tue, 11 Aug 2020 07:18:55 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76E9DC06174A for ; Tue, 11 Aug 2020 04:18:55 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id k8so2463007wma.2 for ; Tue, 11 Aug 2020 04:18:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=WhMlMR0rWuSfJKIPPo9mAojnhHNWUY4zWDVzFeeHjaY=; b=Jz+aoNkIcFDY6nGZZsPqisGocV5D1HD4hNhlDzRzcadvtZ56+uD7mYRpbzlO1RgNuD UVvnCfwAGTtGwlnAE3kl2NJbWOoBS/+F9gGWz26ruptiARES3F6KsanO7nMWQ1iwT/jB TQkZIYgtxn3zms7KAb1qOqESycn3YzMQLHOQpeBtgnK/ynLY5wdtwTGMywNCsE/LL6GH QN9R2XV80pwRjRJ2RA2WP7mgP9ZJhq4CmrOxfyf7EZYZKIDlURJYWhsXcRv9cYqwcZ0Q PboD5Kf8J5hrbCxANqp/ZnV0lVcLRK0LPo5WcPcV2ISTe9JHfFQ/HTQHWVumtrw+s4HP aN1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=WhMlMR0rWuSfJKIPPo9mAojnhHNWUY4zWDVzFeeHjaY=; b=MvetusAOlTAArWjLZym63bJhqTEVxI/bpCPwYIt9yFaW+heTtwwZgprBoB300PLLmM 1MyRWqcZ3YRm09JDjo+VYoDrRboO7U+aIULX+4aW/QTwtmRpFaj9VFdMF0LjuEo0VKBU SzdUK/1x50fa1EFM/SM8kaVMWIpXsnVrjAVb0N4TsAAd6Dt2Ww5EFa6cBKZIAb/lLs4Q tWbzxW0yLdo8BzE7paQusBSZh8amv/NFR0HHKOs+0OBNad4c8Y54QLP6Y5953MpM/UqB aQ3qQiMkjASXhs5m0Qg853AJCqpuyqgvtB3mgoCh6HllaK04mewMtsPqGABFsRzSTn7w Gvdw== X-Gm-Message-State: AOAM53140fJDQXdnlKsyH8c7dUk65cMrowqClE86+tQa++8P8aeDvz9F fZfhJlygK3SEZWAmd8H9iBZvF3qK X-Received: by 2002:a1c:750f:: with SMTP id o15mr3737321wmc.182.1597144734158; Tue, 11 Aug 2020 04:18:54 -0700 (PDT) Received: from laptop.fritz.box ([2a02:908:1252:fb60:be8a:bd56:1f94:86e7]) by smtp.gmail.com with ESMTPSA id t14sm29172064wrg.38.2020.08.11.04.18.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Aug 2020 04:18:53 -0700 (PDT) From: "=?UTF-8?q?Christian=20K=C3=B6nig?=" X-Google-Original-From: =?UTF-8?q?Christian=20K=C3=B6nig?= To: peterz@infradead.org, mingo@redhat.com, will@kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH] locking/rwsem: remove redundant semicolon of down_write_nest_lock Date: Tue, 11 Aug 2020 13:18:52 +0200 Message-Id: <20200811111852.190209-1-christian.koenig@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Guchun Chen Otherwise, braces are needed when using it. Signed-off-by: Guchun Chen Reviewed-by: Christian König --- include/linux/rwsem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/rwsem.h b/include/linux/rwsem.h index 7e5b2a4eb560..7a5bf5d50489 100644 --- a/include/linux/rwsem.h +++ b/include/linux/rwsem.h @@ -179,7 +179,7 @@ extern void _down_write_nest_lock(struct rw_semaphore *sem, struct lockdep_map * do { \ typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \ _down_write_nest_lock(sem, &(nest_lock)->dep_map); \ -} while (0); +} while (0) /* * Take/release a lock when not the owner will release it. -- 2.25.1