Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp993749pxj; Thu, 17 Jun 2021 19:35:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynWDTKvxRK/MdZHIaab1sGaUH/QIM/OWo+zj6AOsYDncKxi4rnfeCHQ5aVM3YQ8y1wWxXT X-Received: by 2002:a92:cb91:: with SMTP id z17mr6175529ilo.31.1623983757891; Thu, 17 Jun 2021 19:35:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623983757; cv=none; d=google.com; s=arc-20160816; b=IR3SOR/7k6E9fwcCcOjsNjXm7jukU+b6tsMP5tAv2UEpIhG2meHKozr8I/eYnlR9Io YLjV2LsqGYjhKMpQtydUgFo45x3bfngP5MmxBnRId9tmWA7PLsFSUN1yEHiUM0ibyyy2 RvgLD6277NVc4aFgvGeus5+Pb3/Y9kDyqIL3cRoKnubyIsc/PXKHXOubZYLgt4c5KyUR B+um/4kTHK4u8n3lDBbqvy0cewvwOtqDFn0jfO0mRlBvQsedQzw2mkXTc587x7MzG+48 W4Q6wfks2BaE2QGupHug1yHt8+g4j9PAnx6VLQqc4NBCh8nRkLm5iyooTlihgurM+JR+ 1HXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature:dkim-signature:dkim-signature; bh=7MrOSZdFOt9wTUVyZxzKZ+9qRk1GhEPDQuhCcMSdan0=; b=BCzoNuDIKcUYBp6e28+8o2vHjBa+AejzZiOYRwUix2cTdFp003Wl/gs9mSwdGCWeXR gSpIs26s3vfZNh8JEiG3HxqGIGMCEZR/gtljCexuL+8pi35vEticbIJl7hyGxRL+QfZt DdwyiGxaHT9BLaVya8xCI6vsfhU2lJ0NSvBmCx81peA6UkpSS1g32J/r1YoDswEW3OPy WdzVuGvZakaOy8VKutkTQEAQakIUwPz3TSHIZ2kFMGTFlAyOsIVQVuC70OscKG/mMtgu HhmrWe3W5jO/6rPxs/BsOtgKlgJzTHdwQ2BDsco5aEI697RfEn+SilX5xtx0ifgKtE1y L0TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Nzml9LQc; dkim=neutral (no key) header.i=@suse.de; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Nzml9LQc; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=AFKiXakY; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g1si857651ild.63.2021.06.17.19.35.43; Thu, 17 Jun 2021 19:35:57 -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=@suse.de header.s=susede2_rsa header.b=Nzml9LQc; dkim=neutral (no key) header.i=@suse.de; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Nzml9LQc; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=AFKiXakY; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232395AbhFQUdC (ORCPT + 99 others); Thu, 17 Jun 2021 16:33:02 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:52348 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232271AbhFQUc7 (ORCPT ); Thu, 17 Jun 2021 16:32:59 -0400 Received: from imap.suse.de (imap-alt.suse-dmz.suse.de [192.168.254.47]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id A9B4521B1C; Thu, 17 Jun 2021 20:30:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1623961850; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7MrOSZdFOt9wTUVyZxzKZ+9qRk1GhEPDQuhCcMSdan0=; b=Nzml9LQc5a54Z6G6NC24xdoLvkPsFpO/is604opqVvgX7yV9TeF13FFC+5J8sv4fSo2JR8 ZezTUrpJe6WMXC9X7cmUOKL12NEs7iEo5p/kYbX+gYyRfSITZoHufdpn9VkFd7ki/Sg96f MbB0pLsV6iBvUhdOca9xfx47z6t7ueI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1623961850; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7MrOSZdFOt9wTUVyZxzKZ+9qRk1GhEPDQuhCcMSdan0=; b=AFKiXakYcmVG5XKv+m6WtjG96wImTTAwKdUtoWj6WX9fuBYwl/6wkJQnxqIqUOyKcjnnVV gwQh/Dw8CKd88WDA== Received: from imap3-int (imap-alt.suse-dmz.suse.de [192.168.254.47]) by imap.suse.de (Postfix) with ESMTP id 50E7A118DD; Thu, 17 Jun 2021 20:30:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1623961850; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7MrOSZdFOt9wTUVyZxzKZ+9qRk1GhEPDQuhCcMSdan0=; b=Nzml9LQc5a54Z6G6NC24xdoLvkPsFpO/is604opqVvgX7yV9TeF13FFC+5J8sv4fSo2JR8 ZezTUrpJe6WMXC9X7cmUOKL12NEs7iEo5p/kYbX+gYyRfSITZoHufdpn9VkFd7ki/Sg96f MbB0pLsV6iBvUhdOca9xfx47z6t7ueI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1623961850; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7MrOSZdFOt9wTUVyZxzKZ+9qRk1GhEPDQuhCcMSdan0=; b=AFKiXakYcmVG5XKv+m6WtjG96wImTTAwKdUtoWj6WX9fuBYwl/6wkJQnxqIqUOyKcjnnVV gwQh/Dw8CKd88WDA== Received: from director2.suse.de ([192.168.254.72]) by imap3-int with ESMTPSA id waNDEfqwy2ASDgAALh3uQQ (envelope-from ); Thu, 17 Jun 2021 20:30:50 +0000 Date: Thu, 17 Jun 2021 22:30:48 +0200 From: Joerg Roedel To: Nick Desaulniers Cc: Joerg Roedel , Will Deacon , David Woodhouse , iommu@lists.linux-foundation.org, LKML , clang-built-linux , Lu Baolu , kernel test robot Subject: Re: [PATCH] iommu/vt-d: Fix W=1 clang warning in intel/perf.c Message-ID: References: <20210617145339.2692-1-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 17, 2021 at 10:16:50AM -0700, Nick Desaulniers wrote: > On Thu, Jun 17, 2021 at 7:54 AM Joerg Roedel wrote: > > > > From: Joerg Roedel > > > > Fix this warning when compiled with clang and W=1: > > > > drivers/iommu/intel/perf.c:16: warning: Function parameter or member 'latency_lock' not described in 'DEFINE_SPINLOCK' > > drivers/iommu/intel/perf.c:16: warning: expecting prototype for perf.c(). Prototype was for DEFINE_SPINLOCK() instead > > I think these warnings are actually produced by kernel-doc? (not clang) Will kernel-doc check automatically when COMPILER=clang is set and W=1? Because I did not explicitly enable any kernel-doc checks. Regards, Joerg