Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp973629ybb; Sat, 28 Mar 2020 15:00:57 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt7JCKVRXqAckSFsMbqnSSXJSDOEMLSu6bIf1S864e/IdaVYDp8wDwN2H1i31KnFnYfWCNh X-Received: by 2002:a9d:5191:: with SMTP id y17mr4131128otg.267.1585432856805; Sat, 28 Mar 2020 15:00:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585432856; cv=none; d=google.com; s=arc-20160816; b=gzq2yoitPwFSOBgWLYq2dRoUk121/x9N7P7P9FDJOUQ7nw+26zNnTIueWbY88kX99Q LZ8qOiIk5hp+LY6tTCn2iVudYaTOjspfWNS8WeW1vAUsmmuIkxzZqepciJJxdCLRUvyj iZyW3cVbETPbm/q3EAP9spPTDmbY+KZLC9JOz5lQBh21z6lNJCnuacmIpzRkZ0loszdk 7+qWBhAbVKR6rdkH+P2+pVBRzJjpUCdEIRVe1e2qR7236ziLt/8MjKYWz9mOjr9xfdqG 9k/O72jis3ioM7ch9qtUQjT1VBA47HZmNxRwToUzUTlmGoEqfPyyTZaS+gBgFy8oiJlg 7WmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=nPXNxsOZ3C7pRcm5mKIgZGPNm3UgML/++VJMRLMb3AI=; b=z5ecHxYOtqdNPh97m4fjo5ULykqZvC2e239giFxyulfD/+fTMMYGeStVL+2VRgWNzS Q0gCVCHXwUW9ipNdLS5XOhP1EXIiTBuGiJGps1+Iq7D9lh3HM8LKmnRau9H5BzYbaMz2 76Aqyb7CFCTXzT2NVkwedt0yIzm+jYdxlHzVrypls/R/k0hQlZpaviEH7rmWYCgjR/bH 2UtlOfgSUvtzC1KGTKR466VWT227Lp3zyBDOU/t//uYwEtd7Eh6pX0jGVcnsjJEA+266 GEa7lY5n74OVjkHQxoE1XVn4P5MI/52/1bEp0j/Mh8ohSXf0N8TNuqcEkPxlUcx4h8o/ iX4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=qTskBs0Y; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 96si4364581oty.198.2020.03.28.15.00.43; Sat, 28 Mar 2020 15:00:56 -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=@google.com header.s=20161025 header.b=qTskBs0Y; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727763AbgC1Vqq (ORCPT + 99 others); Sat, 28 Mar 2020 17:46:46 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:39162 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726604AbgC1Vqq (ORCPT ); Sat, 28 Mar 2020 17:46:46 -0400 Received: by mail-ot1-f67.google.com with SMTP id x11so13871624otp.6 for ; Sat, 28 Mar 2020 14:46:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nPXNxsOZ3C7pRcm5mKIgZGPNm3UgML/++VJMRLMb3AI=; b=qTskBs0YmHh+tZEs84jHvRBn/43ZsP4wf1/5WCdmRZJ0AsdWtvM4X04ADXXYAcSi8J iLeuHFAS97j2PhIz3A+o9X0tQ/qo19nMFjGDx6kweTbNWQ50pCz+FFZgDHYxQEo+Bf8I KKUuqmBa53G1zkdO2LnPVx68/t2Gv3WUSP5Bks4cKmZuNLvUKbX4MoFxbGSp4N1a6BzK etcXqxEdv4quoP2Hoh5SAao+bAcBWdrE3l+d7oJgXG6uYq5vqlxRy3VS6HN7x0VDW6fR E1+45JyNk1fHKvAP1+4FzhLZHmRRJ3WLvm2JmPvMcfbDLCdja5/kOaJcDfF4c8pPwly9 xgcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nPXNxsOZ3C7pRcm5mKIgZGPNm3UgML/++VJMRLMb3AI=; b=g7w/JA66qWhOaC9P88jIIgE6QOjyT4t5wumRQvOR1i2N0MC2IOqYexNBQdknhHFpba Odbt2DBQeDcmq8TjCzS9nSmyhRl+GRWgKMBIN9xGDAJp+raFcDAm5TIg2ln98Nzg5IYz nGhoIZduelZsujNTNthxDnJvDhXE24IAHRt4L+GqL5EIrs9HZMxuA7WVKYJWlRGNeels G4IeA+m0NOg0BR9baooEvl0u4N7uW/W5G5xjQD7iIl2z05NWZK2pxV2YI/varIr7oZLr tUpho/accs4X9LfFI+PFgL7eyOoW2oUh4ccnYHcFYgu5HKXxqGeXsh9tNx0XlQM21fLC LJ8g== X-Gm-Message-State: ANhLgQ2uuLTPBuSo5HBvOFaCOSonCEH3gWs7iVeoEgi1wgSLTQ363F6y vfjBIf1zV5R490sqn9DuTU7Ra1OEx+kle6GszH+MCg== X-Received: by 2002:a9d:42f:: with SMTP id 44mr3947412otc.236.1585432003872; Sat, 28 Mar 2020 14:46:43 -0700 (PDT) MIME-Version: 1.0 References: <20200327170132.17275-1-grant.likely@arm.com> <2885b440-77a5-f2be-7524-d5fba2b0c08a@arm.com> <20200328110351.4e50491e@lwn.net> In-Reply-To: <20200328110351.4e50491e@lwn.net> From: Saravana Kannan Date: Sat, 28 Mar 2020 14:46:07 -0700 Message-ID: Subject: Re: [PATCH] Add documentation on meaning of -EPROBE_DEFER To: Jonathan Corbet Cc: Grant Likely , Linux Doc Mailing List , LKML , nd@arm.com, Greg Kroah-Hartman , Andy Shevchenko Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 28, 2020 at 10:03 AM Jonathan Corbet wrote: > > On Fri, 27 Mar 2020 16:55:34 -0700 > Saravana Kannan wrote: > > > > > The infinite loop is a current implementation behavior. Not an > > > > intentional choice. So, maybe we can say the behavior is undefined > > > > instead? > > > > > > If you feel strongly about it, but I don't have any problem with > > > documenting it as the current implementation behaviour, and then > > > changing the text if that ever changes. > > > > Assuming Greg is okay with this doc update, I'm kinda leaning towards > > "undefined" because if documented as "infinite loop" people might be > > hesitant towards removing that behavior. But I'll let Greg make the > > final call. Not going to NACK for this point. > > FWIW, kernel developers have to cope with enough trouble from "undefined > behavior" already; I don't think we should really be adding that to our > own docs. We can certainly document the infinite loop behavior as being > not guaranteed as part of the API if we're worried that somebody might > start to rely on it...:) Ok, all of you have convinced me of the error of my ways. :) Thanks, Saravana