Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp6014575ybe; Tue, 10 Sep 2019 12:10:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqxDtVylJYRNyKM+KgcO4Dd/3rMDrh85iQdixUpms4rKgA18hLqijQZYwSbeoG1njCkJ+YI1 X-Received: by 2002:a17:906:b2d3:: with SMTP id cf19mr7306326ejb.75.1568142622561; Tue, 10 Sep 2019 12:10:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568142622; cv=none; d=google.com; s=arc-20160816; b=j9MfsEeC+HSvCKFAh4Sg3I4lLj5Tg39YsUtb6RUu0lsxyrEiyxgH1qmq/yG0YEb8f7 YWN1OKMPh/Osvu1Y8Tn9OR/0Y1WdBMSEqZRQukQXpeSi9gh+aTQ9HMAE3SyjVtbA7Fp0 zVA0KBxXCOkYSw6SLgmb1iutNDmjV/NJWnVmHtWfLAfTdBxVUwiDTSlQ4YHNB+6DJxuu uhmWa5wDa4bJ2wuYiHKhQb1nEL3gL+4wNtfa13r+oMji8/J//17mFnQqkTMr1gfpq63v WT6VPREM2kCNPkCRxP4HYaDtBBbUxn2/lXxMwmSTO4yT4Ia1oURHj1sRTIHRnOlOM4or mdlw== 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=T0c9t1ysaQZfOfoAJ9kXidNtKg/M5DR/wmAFIZcRfSE=; b=UiLtG1/SJTnvnsjJu97oixTTdGS1d61JSNMv6DIiQ+BovvX9kgLcsGCYBOOhsHRztU FDceszJUpPzdnWoc8+wwkNj60tu9aHl19OYwwMPNMLOlReMlVZ9VQAhBfAVLDipakvu9 pGyRbSS75e3v+pnQr0E3tLIJ6lctJArthOinc4oQMwY6bwSL3yWUuU9pyW0ewSUEQ8AQ h3JdfN7a9gNofIF/VV6ZuOIN5irWcDm7QfvYwbB4IaQ6zJFrWasbVfixaKzb594AMazJ GmV1vywEWwTw+C1+Ga7H7LDwm789c2/53aMOEpecVqD5I5/fp5rEvvx1Dd7I+CXP2JV1 RHKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gUggaBf9; 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 n21si5829580eja.345.2019.09.10.12.09.58; Tue, 10 Sep 2019 12:10:22 -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=gUggaBf9; 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 S2394023AbfIJPsB (ORCPT + 99 others); Tue, 10 Sep 2019 11:48:01 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:43270 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726664AbfIJPsA (ORCPT ); Tue, 10 Sep 2019 11:48:00 -0400 Received: by mail-pg1-f196.google.com with SMTP id u72so9942796pgb.10; Tue, 10 Sep 2019 08:48:00 -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=T0c9t1ysaQZfOfoAJ9kXidNtKg/M5DR/wmAFIZcRfSE=; b=gUggaBf9CrnACdRNJU4fi0N3ksiSeh0S+fddegeSVQPNvQ9LbK/mvPp6FNtQ8B/0YA f5obiejwArr7YxXhWgdxajXCPOyE+RLk8h1c7WEVokp1c8hP5vpNka9gJNpOAX6AO0Bw 7NtkyDlfQOZBVevO4zmN//Xym/m4Z2C/aDu95QHA5ryBxEuqsfftFluUvWVB4aoYQqi8 oTLkpxUigHGVMal5HBAOM21bEVPIp20FOybtg9cX0gvtQlL94Wlv2lnkwVlTVOv/sDc3 TuRgxwB+8/zGDF8UhV1yBY1UxnIwHzlSxzGdWDYCnVQYIRYmMpwgEAtKaumQnlBmuFjV xoog== 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=T0c9t1ysaQZfOfoAJ9kXidNtKg/M5DR/wmAFIZcRfSE=; b=Fd+uDqj/SPeYZeo8cPrZ3I4f8jgha7CNzj16wyTWPDi+0um9iBSUpOfAFF7X/NUg2u 44jX+nrFQY8pHwZ/lryvyOi1bcRHZdEnYqdqpK79kkdhm55hR+/J5MZIzech/6Sgcx4p zQD3ja+TPkAWHRzkT9zxjGpsBevNc9eQiuiLge9Rl6npEcuA8XL2GZCa2MVBL/mfNp9j AwzdWBlTTE9tJHZMwkbt9rgi8HA3hKCZ4CmWFtIexH25kCuhsohf+8HgcguAUk3w97wA WLA8UDLNFt3ZiyTyOIWAbYgzmOrTLJ4dTRAuaMyQ5D3d3lccWwIjz9kNOQdwO1uOPMkr BsYw== X-Gm-Message-State: APjAAAWLoa7X+LrY74sRKRNV3w9HnqHBhxLrraPw4MSOm/4tdfTzbQyy RzswyZfoUke91qpvboeFFoY= X-Received: by 2002:aa7:8edd:: with SMTP id b29mr36483870pfr.138.1568130479923; Tue, 10 Sep 2019 08:47:59 -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 w13sm19882621pfi.30.2019.09.10.08.47.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2019 08:47:59 -0700 (PDT) Date: Tue, 10 Sep 2019 08:47:57 -0700 From: Richard Cochran To: Felipe Balbi Cc: Christopher S Hall , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/2] PTP: add support for one-shot output Message-ID: <20190910154757.GC4016@localhost> References: <20190909075940.12843-1-felipe.balbi@linux.intel.com> <20190909075940.12843-2-felipe.balbi@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190909075940.12843-2-felipe.balbi@linux.intel.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 Mon, Sep 09, 2019 at 10:59:40AM +0300, Felipe Balbi wrote: > /* > * Bits of the ptp_perout_request.flags field: > */ > -#define PTP_PEROUT_VALID_FLAGS (~0) > - > +#define PTP_PEROUT_ONE_SHOT (1<<0) > +#define PTP_PEROUT_VALID_FLAGS (~PTP_PEROUT_ONE_SHOT) Here also, the bitwise not is backwards. ^ Thanks, Richard