Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp60880ybi; Mon, 15 Jul 2019 16:38:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqzqKCPj+6wSlpP0jam71oEPI9ZfPEnhbbRkEnIY2RU0xtHwUfu04QW4AaqUyDJ9xc9j7ely X-Received: by 2002:a17:902:8ec3:: with SMTP id x3mr30760768plo.313.1563233901212; Mon, 15 Jul 2019 16:38:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563233901; cv=none; d=google.com; s=arc-20160816; b=xxuTPDtIUUVqMuqKd+sTivMS3u2/RJVBHFO5BmyZuIffhYvnKT2qb0kDAgdOI8Eid7 NbnOstUXQOkSrK3MxmXYA1LToPC8gNJAJwQcFkasH7SyYFxwszABYdFKWMSzK1HFnIdE PDjUTO/uzxKvJoeViSw7tp4B7Gs/ZWNT+nhpv8kSdO4E/AeCjuMM3qp4f8/uuIMxh1Rs ZRNSs7n3IJa5LGnt0GCNGsohAooPfnjz1LAFArTck1ElVcAEnsBp/rbo8RKkQqdsYcyU i5d8ZgJ2Le2v6tUBqN7ktjd0gD+4AuUWg4K0PF769TdVFWDBgj7X2BGY/ylm9EteRu/n QRrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=D82KkpYrQ4ECv8TS7cWc9QiqBXVwE364AhI5Mpr8Au4=; b=NtXZnosXlCCbzJ/dfWMO4z6Mz4YQwJfFpm/sqWxyqrKeBgFAU/8yhJpG8C0ylua3WL YjWrDa6PZxFFfayZ9/a+bvwTXqNEZUp3A+Mdo74cv0nZy6goXINGS5k8h6ktk7rBA6eY DtWYGRcUzsqb3Etc07+wojaPGlff2cN/ua6MMPVL0uvFik9DIjjramWC9De7FeKdYCqm 8xFM2jHc/GMMjheCqVsHGtOP6r0u5JniaTl0aiweq8GcPX3o9SA4NOg5Jef9UU5o1LsM fdBwR7yPm95s9HGaDGtwBYyZ2Kbkr9bkQn0TaFZbVYL8aKVmv896jM1hdisc5QJEWAPX LFAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=y4A+RIVv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y10si15869681plp.117.2019.07.15.16.38.04; Mon, 15 Jul 2019 16:38:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=y4A+RIVv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732468AbfGOXhU (ORCPT + 99 others); Mon, 15 Jul 2019 19:37:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:50256 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731412AbfGOXhT (ORCPT ); Mon, 15 Jul 2019 19:37:19 -0400 Received: from localhost (unknown [69.71.4.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 33D9220693; Mon, 15 Jul 2019 23:37:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563233839; bh=rG3h1CCwAFZcD67QhSxNdHQ/Kh5vcwoW6i8O8rEvLxs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=y4A+RIVv9w6aNcb2AVOqzfA76/Z/mJYm9CUvm+FOJSElGvHz5RJIEE6B0+P/krc93 uZUO6RD1vpx5dmlRAX67rdUug14E06LKigjQuU9byBl1w+Ohs1pxLGLDgMgycI2GZb EQKXNxH2fL2zXPa2aMicYFftOFt2VVJbXV9xVX0k= Date: Mon, 15 Jul 2019 18:37:17 -0500 From: Bjorn Helgaas To: Lukas Bulwahn Cc: Kelsey Skunberg , linux-pci@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, linux-kernel@vger.kernel.org Subject: Re: [Linux-kernel-mentees] [PATCH v2] PCI: Remove functions not called in include/linux/pci.h Message-ID: <20190715233717.GA79424@google.com> References: <20190715175658.29605-1-skunberg.kelsey@gmail.com> <20190715181312.31403-1-skunberg.kelsey@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 15, 2019 at 09:42:47PM +0200, Lukas Bulwahn wrote: > On Mon, 15 Jul 2019, Kelsey Skunberg wrote: > > > Remove the following uncalled functions from include/linux/pci.h: > > > > pci_block_cfg_access() > > pci_block_cfg_access_in_atomic() > > pci_unblock_cfg_access() > > > > Functions were added in patch fb51ccbf217c "PCI: Rework config space > > blocking services", ... > Also note that commits are referred to with this format: > > commit <12-character sha prefix> ("") FWIW, I use this shell alias to generate these references: gsr is aliased to `git --no-pager show -s --abbrev-commit --abbrev=12 --pretty=format:"%h (\"%s\")%n"' $ gsr fb51ccb fb51ccbf217c ("PCI: Rework config space blocking services") Documentation/process/submitting-patches.rst mentions a 12-char (at least) SHA-1 but the e21d2170f36 example shows a *20*-char SHA-1, which seems excessive to me. I personally skip the word "commit" because I figure it's pretty obvious what it is, but it's fine either way. Bjorn