Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3636608ybg; Fri, 25 Oct 2019 06:56:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/ZUVN3y3lGt3O1HVmZHyRiyitg0ys758Db9cQfjV+vSuh56BJKnyQB7VRJZBhd5RdNeFe X-Received: by 2002:a17:906:6ad7:: with SMTP id q23mr3533618ejs.214.1572011813909; Fri, 25 Oct 2019 06:56:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572011813; cv=none; d=google.com; s=arc-20160816; b=gtPCEgEGw3J2POqkNb6S7KpLv8q7K9gKS86uED/L/WI4vRlcezlUaZ++xJlAjRHai+ q5KeAEGqxPUj/oLijlMm14ZV7oetfhqzPKhdAwMKLLtLvF2kgCS5WkaDrNma9cA1e5y/ E+dH6s60YG0A5HugEb6P9AS6VRRxPXC3qgoe1j6A1m3xuCxR83vellqc7YIYFBoyyd6b d7RXwyXva0MMarDGgRxMCP5N4AIqZS8Mag3K/ljfGRZfFSxAWrZVjcRBua63qaamxpdJ HdpxgEYs63GK5TDvCcr0+568+eTM+OVsvCnAga9M2kmWV22GhXlD/vKBRjzhQg+j6H9y QN3g== 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=gcU9exE6Bvro/lea/dgeXKEnFVXdIrFpf/E5Hgk7fI4=; b=VXPCilV0jNpjfT/5HnATJVd85hV9Sutksbyb9atJ5rpT1KtyGsW8uM7kV9g9H0BMm3 Sp1EJiMvMXGLS/y31DG7z+9EuN0XKKEqGlzk/ApppBFnQsFkZVexa0MSjZxac8R3axpU ujzRCuZbnFGoKnvW8ZcmVQSmTOyu6TPJQFqcgQW76n69qaruJol0G/hg6HcITP27MzVW Kf7lDc8yYBzKzVCEe6DyIphLVh5qQyGlIuY6OdRRFd5uBF/Y+L1tiqqtglk0cAPjwgKG gQGmLKrN64jicQ3153Jy4cfg2CzdeLfxNShh8iQ8TJpZ/nV+x7+GchGCd0LmKLyTKxvn UGsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=OQCC9fos; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a11si1703207edj.143.2019.10.25.06.56.30; Fri, 25 Oct 2019 06:56:53 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=OQCC9fos; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502530AbfJXNXP (ORCPT + 99 others); Thu, 24 Oct 2019 09:23:15 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:46586 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502515AbfJXNXP (ORCPT ); Thu, 24 Oct 2019 09:23:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=gcU9exE6Bvro/lea/dgeXKEnFVXdIrFpf/E5Hgk7fI4=; b=OQCC9foswnxnaiFBJw3Vkn25h EYAPQY1qAspChDW7b9MiGr3xvZzEnkoJFlItmOqqQMuKR/ZYbKaWpl0U9RQ6lloZL7osMS1qn6Ow6 aWk1g63FvYQPN6aNWq8gvaLOVZyaCumFoludpul3tgKhob/nbDJjq4uR8cgUloPmSKzZOdRHtfHyc 1UEDbFuUYEkAqqinWPFaWz9z9C38x6reQS3b0Xysu8mwc3wpIZ2RSFOLNGZBxKZ2r2GPE5LpIDBIU vujiXu4n4Pz9PYh+gTk9i8t8xxMcbqb4UwrxGsXaSU391MPAxVU6XeAr3dY8/2Ul4JmJa15oFEhnX 0/GSrw+7Q==; Received: from willy by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1iNd58-0000Lv-KB; Thu, 24 Oct 2019 13:23:14 +0000 Date: Thu, 24 Oct 2019 06:23:14 -0700 From: Matthew Wilcox To: Christoph Hellwig Cc: Michal Suchanek , linux-scsi@vger.kernel.org, Jonathan Corbet , Jens Axboe , "James E.J. Bottomley" , "Martin K. Petersen" , Alexander Viro , Mauro Carvalho Chehab , Eric Biggers , "J. Bruce Fields" , Benjamin Coddington , Hannes Reinecke , Omar Sandoval , Ming Lei , Damien Le Moal , Bart Van Assche , Tejun Heo , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v2 2/8] cdrom: factor out common open_for_* code Message-ID: <20191024132314.GG2963@bombadil.infradead.org> References: <20191024021958.GA11485@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191024021958.GA11485@infradead.org> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 23, 2019 at 07:19:58PM -0700, Christoph Hellwig wrote: > > static > > -int open_for_data(struct cdrom_device_info *cdi) > > +int open_for_common(struct cdrom_device_info *cdi, tracktype *tracks) > > Please fix the coding style. static never should be on a line of its > own.. It's OK to have the static on a line by itself; it's having 'static int' on a line by itself that Linus gets unhappy about because he can't use grep to see the return type. But there's no need for it to be on a line by itself here, it all fits fine in 80 columns.