Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp1153971lqt; Sat, 20 Apr 2024 03:04:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUO/hx0hJ22tiQk+mZ6dmAGpN6jgfkivN8sTOzl8Y30ci+0d0W1Wak2VjtzbTSrsuP+chBW52OlMcZz2hiWMTzeKNJe6317trL3iJs6+w== X-Google-Smtp-Source: AGHT+IGFGgrEnlc46sqdv/kWvnEHXuuCQbScFZxLnxCbiKwSZPaDLXftwW5roWP3TAPqGAx+O/FR X-Received: by 2002:ad4:4f24:0:b0:69b:2523:fcd3 with SMTP id fc4-20020ad44f24000000b0069b2523fcd3mr4449069qvb.60.1713607465658; Sat, 20 Apr 2024 03:04:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713607465; cv=pass; d=google.com; s=arc-20160816; b=R1XCA1J9mO4UEg0uCe/K/N2rI1Im27RTi7lYF6nm8c0cF4Kmpwzqwv/PIpG1/fO59X i925SdBDK3wjzlzP2ce+0kEz4NEgu6NH1G12h2Q1Xd7DXkuPPd92xoKFyHjnKP9yGSFj +OHrgMORrEVyWL5oSboCEMEp8wgbdV0jr+HljXV31gTS2+cLmVghUwBlBsLUezo/v4d6 Vm6uX2YBco04BUm7+SjKv5vqXVFLBJNX62xtclr/TJuFbITYkLQZzj4Hjr2MayfNirj7 j+Rd2KBkqRAJqm5EZIYxGXJi+MMr0Yt7AaXyYisZ/Zs8lauoQdukILr+Xc8v9o7Grc3J U0wg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=eg61WIKZ1pp7ldPWjDS9EWFLGewYyuDphikUNOYk59A=; fh=bR93Ho0x0ySslZtW1XXNEowYVKy5pQFHum1nwYzx62s=; b=dSmvBxhOEiCnEadfzxlD16mZSMh+H68jy0y7tgxwafRriAfrXDRJR0+rQUmMy8z9eq 1RiRdgVSEfvNtvCIDh+EEQekDDoaHGqutsuioYGKw52svhjQTtZlXVEpvF7HqJ56HA0T Hw4NVdSRfUFkbjkot+92rcXwkcJTIonbBcO2Qu0dN9JZbCNMXoY6rZmN2/tB9LawX7wI ukLxy0XTohnXDLKCCTJFqbHKjufs7vgVMsWHs1hz4FF1IiqkjpTL9iR3Ao8ayWEzkKiy 3Jj2eX03+fc6GqFaupao3RtzzhWUDEsP7pg5w89rCOuOZrGKBdue7rxk5xpdPG9xQzi5 stSQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=i168r3qq; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-152222-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152222-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id r7-20020ad45767000000b0069b50a68648si5948880qvx.423.2024.04.20.03.04.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Apr 2024 03:04:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152222-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=i168r3qq; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-152222-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152222-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 086231C20D36 for ; Sat, 20 Apr 2024 10:04:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BFC5317C66; Sat, 20 Apr 2024 10:04:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="i168r3qq" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C68491118A; Sat, 20 Apr 2024 10:04:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713607455; cv=none; b=uUOjz+YW9jJnHBnpgOgBlN9Y8H/qIs/eu/JkWYaHfRykB1LLF/0jogP0cNXImdoD3rClpQTpiFW4T7ZARbleAIVwPI2Uw4+F+bs/2IW5WfVuof3uPVnmLzLSgAJ7TpUjGfg+k6bi7exWsnVVrSl2ZKcS6ej3fXyL+DDdlS5HI5A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713607455; c=relaxed/simple; bh=gQ3vuVn4istjWpdMlnw4Q4aBTLHGWO/MOkIZnCPASgs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=A6/OCaGmXmRoRUPVmZ0oKKP8y6T+0uK3w0lGsEbtxh03w+ovOQ9dulga0zxSLpDat1LqZZggaz0CKwjIHRPxSO7ibqWnbtqBD8wEMGexPeTyNeTbHh13JQHnwHox/txkfXPi5+qw/OubGAcZ8jOLjaWwxoLHUsUb8w9nTzyKje0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=i168r3qq; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3A29C072AA; Sat, 20 Apr 2024 10:04:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1713607454; bh=gQ3vuVn4istjWpdMlnw4Q4aBTLHGWO/MOkIZnCPASgs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=i168r3qqiWPRHTcg2K8sOxa+4ZgdV6FP4PkwdiFNJF8JFqUDJHOh3qvRIQF5P+Cjk +p13JMih2Bn0zIiiqm4b6QSyB9sgX9ubMLJj+pOR/6nfCNRaaSVBCaGk4G9BYD4mca ZoMTrL4ej3J1Bo1prXXP1paK3+nNFovglUHaUD9Q= Date: Sat, 20 Apr 2024 12:04:06 +0200 From: Greg Kroah-Hartman To: Markus Elfring Cc: Daniel Okazaki , kernel-team@android.com, linux-i2c@vger.kernel.org, kernel-janitors@vger.kernel.org, Arnd Bergmann , Bartosz Golaszewski , LKML Subject: Re: [PATCH v3] eeprom: at24: fix memory corruption race condition Message-ID: <2024042055-bucked-dosage-2a8d@gregkh> References: <20240419191200.219548-1-dtokazaki@google.com> <939095cb-b9c0-4214-9429-7b45f9a31f36@web.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <939095cb-b9c0-4214-9429-7b45f9a31f36@web.de> On Sat, Apr 20, 2024 at 11:11:05AM +0200, Markus Elfring wrote: > > If the eeprom is not accessible, an nvmem device will be registered, the > > read will fail, and the device will be torn down. > … > > Can it be nicer to present the introduction for failure conditions as an enumeration? > > > > Move the failure point before registering the nvmem device. > … > > I would interpret the diff data more in the way that a devm_nvmem_register() call > should be performed a bit later in the implementation of the function “at24_probe”. > How do you think about to mention the affected function also in the summary phrase? > Hi, This is the semi-friendly patch-bot of Greg Kroah-Hartman. Markus, you seem to have sent a nonsensical or otherwise pointless review comment to a patch submission on a Linux kernel developer mailing list. I strongly suggest that you not do this anymore. Please do not bother developers who are actively working to produce patches and features with comments that, in the end, are a waste of time. Patch submitter, please ignore Markus's suggestion; you do not need to follow it at all. The person/bot/AI that sent it is being ignored by almost all Linux kernel maintainers for having a persistent pattern of behavior of producing distracting and pointless commentary, and inability to adapt to feedback. Please feel free to also ignore emails from them. thanks, greg k-h's patch email bot