Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2876977ybl; Mon, 19 Aug 2019 08:44:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqyi2nKO5omFNJk9YIA6o1f5EhcMoufFCAoW0XOpZFBILu5ArL5JjvXA/D34806cTPOXXD25 X-Received: by 2002:aa7:9609:: with SMTP id q9mr23869391pfg.232.1566229478462; Mon, 19 Aug 2019 08:44:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566229478; cv=none; d=google.com; s=arc-20160816; b=fyl1iKZvkeb9aPEsGQeXhK5m1ZzeBJz9ZBGaRhGMSLXRpGg/siZptrIk8TzdrhFbhx zFiNei2Kk8Y5YLV6w2tTG1JTJlqBVz4iLz9glbVUHAL9ljF3AAXl/1iIm2mYJ1KKMwbv kuUeCqfjjziGbm8sC568e6fLqmStm9afQhXI/5x1YIpZFo3pUozMAX/8kn2BHWCatQSK PvShnsqKW4TrMRi90NQxmPmVH8vL36B4YppBOGQpkI/56HE4ZNC1LrVWGazvUk3lRN0k Cu8i5I91hOIkPOLD4WZQ8/yt3M1qhY/5YGP8PljuroTaiMIasjuzY38NvImeQYfpnqYV n7Vw== 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=eV94SApWZTFweA/qwK/ErWJOHYhfzE92sQRqbCwLV9E=; b=qSs2xHzPpmawogrp0ijj9XiBDotxnXKtlLG9g8U6BCajmZT2IRZuqPNFYudhdOwD7u c+FAwdG2EYGh+wF1SEdbgljWnk2XI4xwAH+h9c+EbL5X57/O48oJqqgKU1bAggzGeIdE ONJicSePzsoxtzHwi5JwDLCTgZOR4fwJkfCceJlb0dIwEreoSYxVhsxP5iiKEYYKeIni V21poREyugqsdAXrdZ/na0nu1oByk07dBce53LIr+9JSO6qkicPSqXOCfAw71uvfGg3m Xl1sItgeqU7zJBJGnudQd+3P35UEJ2SVyvJkYNagOpnZqsajnHUpdbqQUlis2I9tq3WH Llbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=E1hwBmAG; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u6si10546363pfm.135.2019.08.19.08.44.22; Mon, 19 Aug 2019 08:44:38 -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=@gmail.com header.s=20161025 header.b=E1hwBmAG; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727781AbfHSPnZ (ORCPT + 99 others); Mon, 19 Aug 2019 11:43:25 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:40996 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727019AbfHSPnZ (ORCPT ); Mon, 19 Aug 2019 11:43:25 -0400 Received: by mail-pf1-f193.google.com with SMTP id 196so1380150pfz.8; Mon, 19 Aug 2019 08:43:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=eV94SApWZTFweA/qwK/ErWJOHYhfzE92sQRqbCwLV9E=; b=E1hwBmAG+r761tHLSNhL8Yf8dofQ0qJwDAvMSAT3O4bJhJgUS+9Dqn1VsF4fUqPzu7 vLqskfrtlEs7mNSflqoWWDDDTiamf3Z2Cp7Z9GYAEDIrvKz4s+x1SP1savoDBQ54uKKw H+qXTN28duDQPFXM9kG/HAS/rC9yR5yaN/9pYCkF2RZ4gabyXtS9zuiiO0RP/rxfmznu OPU/fuk6hK9yIppCZJ2TafIgCxWLPH5kbv438t8sS8SP3sTmYYZLaEaENKcg7GtSphF3 LxFOiFcdjZsbCF2rpV//VdsKM9+b0QjCvjnK0MiOBkFTkEeeSdNZoeEN/xWJdiDdAQCZ XKBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=eV94SApWZTFweA/qwK/ErWJOHYhfzE92sQRqbCwLV9E=; b=aYObmW3O5LAEOm4iT22PGPWOQ3B8FJh1MY6II7fYFqogaRj+Zl01GHqt7JiBBaSzIw 9wBBEKn+RlwV87cBEqEhBi7n7Eu5xxsRdCr7OxSFdrTMW/sKP6nlbW8CGj/YIryqDquV 41w0lSs+PoC3jd42PH0Q7lo16htXaiUgskLl9dbDyYIM2tt6x+UCJdLlbQuwyLu8gQOx SwipLW94kCAxljd8LiMMN3WrGDhg4h/gJOAqPkjfH3ahhTo7gCVyM2Qc/D0M3Panh17U O1I5UXmQzjZ/LvKogXgKZQ0edOfyl5m+tNh29XMIcJo6ZQ6YcZk+REOL0EVy+p6km7dt gJ7A== X-Gm-Message-State: APjAAAW7fFNLsbErEpd4vGx71zI3C0ct74xmvn0oF8dIze75zTI7ku4E CNiz02lL6xws3xNwE91VQEk= X-Received: by 2002:a63:5811:: with SMTP id m17mr20522184pgb.237.1566229403179; Mon, 19 Aug 2019 08:43:23 -0700 (PDT) Received: from localhost (c-73-222-71-142.hsd1.ca.comcast.net. [73.222.71.142]) by smtp.gmail.com with ESMTPSA id s14sm15785318pfe.16.2019.08.19.08.43.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2019 08:43:22 -0700 (PDT) Date: Mon, 19 Aug 2019 08:43:20 -0700 From: Richard Cochran To: Joe Perches Cc: Felipe Balbi , Christopher S Hall , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] PTP: introduce new versions of IOCTLs Message-ID: <20190819154320.GB2883@localhost> References: <20190814074712.10684-1-felipe.balbi@linux.intel.com> <20190817155927.GA1540@localhost> <20190818201150.GA1316@localhost> <83075553a61ede1de9cbf77b90a5acdeab5aacbf.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83075553a61ede1de9cbf77b90a5acdeab5aacbf.camel@perches.com> 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 Sun, Aug 18, 2019 at 03:07:18PM -0700, Joe Perches wrote: > Also the original patch deletes 2 case entries for > PTP_PIN_GETFUNC and PTP_PIN_SETFUNC and converts them to > PTP_PIN_GETFUNC2 and PTP_PIN_SETFUNC2 but still uses tests > for the deleted case label entries making part of the case > code block unreachable. > > That's at least a defect: > > - case PTP_PIN_GETFUNC: > + case PTP_PIN_GETFUNC2: > > and > > - case PTP_PIN_SETFUNC: > + case PTP_PIN_SETFUNC2: Good catch. Felipe, please fix that! (Regarding Joe's memset suggestion, I'll leave that to your discretion.) Thanks, Richard