Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D9E3C433DF for ; Thu, 27 Aug 2020 09:27:18 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 205192075B for ; Thu, 27 Aug 2020 09:27:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Yd/j8+XT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 205192075B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94) (envelope-from ) id 1kBEBO-0004AR-F8; Thu, 27 Aug 2020 05:26:58 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1kBEBN-0004AL-12 for kernelnewbies@kernelnewbies.org; Thu, 27 Aug 2020 05:26:57 -0400 Received: by mail-wr1-x443.google.com with SMTP id l7so836431wrx.8 for ; Thu, 27 Aug 2020 02:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=KDII7iJrkMZBF9LJlTr6CUDLuqiMAYwxsY1o5HW7LkI=; b=Yd/j8+XT3294BUajPjZGMCIFBVpTRqygj2jnPdz4Ie2WgRTOvlwB0Gxj22qCJwykWF +yS+l2Mfj8aUAzD928t7gWhTQK4e3ilBjQeuY6dguBRxyE1pvGiD8FzPwNW1Cjc9JfUD 6uGDGSmdmK12sMhcq7uJVOwS4aoFE7oVHZ6fgXPeyclSe2HqyiVopdlnps9xo6X10+uw SBtGWnX3F5QqYrI7KCDjaupDY8eD0XxhZfLjGg0Pvl7Q1ybj96PkeTUZQbEOeyseYjzR Wr/TH6XahurnHpD/gSUvbXVRzPGzopAY04FX7bHsN29oFOtE0PKrELb4aGaRKMM+jHp5 SkGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=KDII7iJrkMZBF9LJlTr6CUDLuqiMAYwxsY1o5HW7LkI=; b=acD0fnr4+eLch1ZPL5RCISOpCZw+CR3Z4+/258tIqs7l5q7ODQl7LrlMTfEl292qHF yE+pRgqADp/udnKNSrToKANvEaPnrncgPLHA06Fpki220W8ge3s7y/IY0VUKI0wiav2x rM3m3f1eiyQlPhW8P50g4wYrseVnMFeYf7cax7qrGh45RzxixRhnzHNNRux4MXyvu2jD 4jwUTzq20VRQG+rw7zTIKAQfj+i1u8XH5IwDPzL7N9DXlynCoGoE0v5dT5SH4vSZkIQp y4vQCXKd+1CVTu+qX8R//UGcWcCrXci8pde6+tMyARnJGnZFaOpbz5wa+1V5MuLk7lNw 7/6A== X-Gm-Message-State: AOAM532wgl0fKjGeisIA5FYJ1HnyyKXR+sOgWPV0PcJzQTisCI4FajP2 baj6NLO5T9Wl8Bz4SHsH9ik= X-Google-Smtp-Source: ABdhPJyeznnOlAf0YnsUlpEY/AZbibbGCQK0NcurGOoXM0l7pV0l5tMwGkqWqqfuMRzcW/dSdJwx+Q== X-Received: by 2002:a5d:4a48:: with SMTP id v8mr1320288wrs.304.1598520414731; Thu, 27 Aug 2020 02:26:54 -0700 (PDT) Received: from felia ([2001:16b8:2d0c:fc00:340b:71b8:4541:aa75]) by smtp.gmail.com with ESMTPSA id y16sm4533638wrr.83.2020.08.27.02.26.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Aug 2020 02:26:54 -0700 (PDT) From: Lukas Bulwahn X-Google-Original-From: Lukas Bulwahn Date: Thu, 27 Aug 2020 11:26:47 +0200 (CEST) X-X-Sender: lukas@felia To: Thomas Schmitt Subject: Re: Please give advise about my first patch attempt In-Reply-To: <8489736254099146458@scdbackup.webframe.org> Message-ID: References: <8489736254099146458@scdbackup.webframe.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org Hi Thomas, On Thu, 27 Aug 2020, Thomas Schmitt wrote: > Hi, > > i am preparing my first patch. > May i ask for review and advise how to make it acceptable ? > > The patch shall fix an old regression of cdrom and sr drivers. > Although drivers/cdrom has no mailing list entry in MAINTAINERS, i assume > that such patches should go to linux-scsi@vger.kernel.org which is listed > for drivers/scsi/sr*. Right ? > > So the change affects two different subsystems which have the same maintainer > and have a very close relation. Do i need to split it into two, nevertheless ? > I do not think there is a need to split it. Just take all maintainers as recipients. ./scripts/get_maintainer.pl include/linux/cdrom.h Jens Axboe (maintainer:UNIFORM CDROM DRIVER) linux-kernel@vger.kernel.org (open list) ./scripts/get_maintainer.pl drivers/scsi/sr.c Jens Axboe (maintainer:SCSI CDROM DRIVER) "James E.J. Bottomley" (maintainer:SCSI SUBSYSTEM) "Martin K. Petersen" (maintainer:SCSI SUBSYSTEM) linux-scsi@vger.kernel.org (open list:SCSI CDROM DRIVER) linux-kernel@vger.kernel.org (open list) ./scripts/get_maintainer.pl drivers/cdrom/cdrom.c Jens Axboe (maintainer:UNIFORM CDROM DRIVER) linux-kernel@vger.kernel.org (open list) I assume Jens Axboe is going to pick it and forward that to Linus. > The change is relative to git tag v5.8 of > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > It is not locally committed yet, so i cannot run git format-patch for now. > I plan to do if i get some approval here. > It is probably best to base it on v5.9-rc2 (or -rc3 next week) and check if it cleanly applies on the latest linux-next. More on that is in the kernel documentation, see how to contribute. > I tested with three different optical drives at SATA and USB by > dd if=/dev/sr0 bs=2048 count=1 of=/dev/null > Unchanged yields ENOMEDIUM or EIO. Changed yields success. > > Please also tell me if my mailer (used with this mail) would cause problems. > I suggest to use an own branch on git, then git format-patch -1, git send-email ... , which usually does what you want without any bigger issues. I cannot comment on the technical stuff, but that what the mailing list is good for; so, if you got the tools for submitting a patch set up, just go for the mailing lists. Not that too many people care for CDROM drivers nowadays, but you will probably get some feedback and maybe you are the next maintainer for CDROM drivers when you continue to test CDROM :) Lukas _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies