Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp324553pxk; Thu, 24 Sep 2020 06:38:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2RfE3gO1TCJwcUDN9WvA0iD5atqXghWscu5CfPOgKA/xkt46o9yS2LI0mECQYdbBd9q+Q X-Received: by 2002:a17:906:a211:: with SMTP id r17mr1147647ejy.444.1600954702685; Thu, 24 Sep 2020 06:38:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600954702; cv=none; d=google.com; s=arc-20160816; b=G2TnIkQbgnXWDLpmm5MU688GBmjkif3Ce+tRKiTrOKKUT01PVXjdZPL4FW78YC56Mt 0g3ZA5hlc7jy7ZlaZWBhFIkyDj2h47DEADCjKwWGYNE07QuMd28Zrr4hQRTQqgKnp0mk bogEbRnTMLHqNrl8nFPhiv9R636NzGd4uz9ukpDr0rvfRkHYbhnX5PeUN5xMAvc1XcFe 4BZNU2Gc0y3XUYRL8hUmS6LgY+x+Hk1qEUAW8c2l9UJwXUjcBJhfUd8/OxVsLnd3P277 RV2YvbXwDWUAzAksg+vU60rwhujs81wIaWaxBDvkUDdi+Xm8cCSJx539Y6CkJwmJ1jaK u6hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ooaRReL2c6jKQ+vGGFRTPGKn0/Fj0W20wCnHuBSeuZo=; b=pyae5KbUgqhe7cAnu7fBOPvEoxF+d0TbT/xihgm8SaONW05AoTLBesqeDhXxHSQyX4 /ppq9VYwEknpLGWx1mJsAIVmfREo5EneU6BvDdRbgI5J7+uc0lqRtJav8z6JerWWeSXZ qKfd4v096gPvLtQU8P/JVNYh3GsvwPBfE9Qia1nHq64DVdsxedzRK+HTq8gpsw4oaVHa 4Aq6oSG3q0FsbSV17DSNt6AH+kd6B4Tz65ASHat5AgGFhE5IhYGqXa3wEK6qWxfE+nfc SwokfG7XW0S4P5FFmVaknXlRPXrL5blL0S2T8ry1eCiIGCvIUQWHpthDlBed7RyTZS6m XA+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=TaG2yVd4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oz18si1935636ejb.598.2020.09.24.06.37.58; Thu, 24 Sep 2020 06:38:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=TaG2yVd4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727921AbgIXNgg (ORCPT + 99 others); Thu, 24 Sep 2020 09:36:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727846AbgIXNgg (ORCPT ); Thu, 24 Sep 2020 09:36:36 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 017CFC0613D3 for ; Thu, 24 Sep 2020 06:36:36 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id z23so4455908ejr.13 for ; Thu, 24 Sep 2020 06:36:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ooaRReL2c6jKQ+vGGFRTPGKn0/Fj0W20wCnHuBSeuZo=; b=TaG2yVd4h5AqdMpjmVPoldgfNLdtU4GgM8Vyz8+aPaL7nTNdBAHR74lX98EucvUEh/ fCL/N83YHlg5gLabqs8HOqhJFH3A4W2sw9273PqFeL05AwbEv/w4nGB6A+90BTn+CL+M +u/L9M1ZxJSvgM3zQPqtM3oMpW/xVmUkzouEv01+OyCP/cpaVGfXeCsEQSrR6/AobHiB vg1Gxmh2wbAFyfnn9LC/wS44NXXW4UfHNywywrb9OWtQZyJ7NPv5qE4d0CN6jlser+y/ Dz86FEsUtmcsCv4/MJVA0GJnt1yn8RosKz7XPQq3N6apWq+5KECE+J+5MEBYHQn0Gh9p MkBA== 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=ooaRReL2c6jKQ+vGGFRTPGKn0/Fj0W20wCnHuBSeuZo=; b=Brc9sl2k8P7a5Bxc4k3XaGa/0jjBKfwabAJgsPvQje95qhypeF4nvXDr0yIbWoc917 JNeKCjIhBHG2spOJeJ6rUZ7wCxKB3ZM3Gp6KC/QYKLBbs7YJvvLmCdoFTZcyKTiF3sIw GJUTglrQcfLFACB/H+/BjZseqixJhh5ttxRo56MuI9SJZf5vnMhBzElfIzdrMUxBHfsV p5wssPIZqsIco4LBoIwTfxUt3yXHdZwBx4gQkQJT9eg76v6F0SdGaIyPMGoNnA0sUmDy +0Khk8aFI8W2B0pUzzpLR8RaGBxuhZ7LtRkPEr8ZJGsE2zgTcJUtVsN9gtOgUgSuJKHI YeBw== X-Gm-Message-State: AOAM5330unwmBJ2JTOq6u4Wn3Fezdi8joMG0BobSuHOESDo7LjJkHR3v 3DOLeeMsE2MFbmtXGRySn5Ra+QJ4VpLy7HCvuJx4OA== X-Received: by 2002:a17:906:f11:: with SMTP id z17mr1153495eji.88.1600954594733; Thu, 24 Sep 2020 06:36:34 -0700 (PDT) MIME-Version: 1.0 References: <20200905133549.24606-1-warthog618@gmail.com> <20200905133549.24606-8-warthog618@gmail.com> <20200920111204.GB793608@sol> In-Reply-To: <20200920111204.GB793608@sol> From: Bartosz Golaszewski Date: Thu, 24 Sep 2020 15:36:24 +0200 Message-ID: Subject: Re: [PATCH v7 07/20] gpiolib: cdev: support GPIO_V2_GET_LINE_IOCTL and GPIO_V2_LINE_GET_VALUES_IOCTL To: Andy Shevchenko Cc: Linux Kernel Mailing List , "open list:GPIO SUBSYSTEM" , Linus Walleij , Kent Gibson Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 20, 2020 at 1:12 PM Kent Gibson wrote: > > > > > Can we use static_assert() at the top of the file? Presumably after > > inclusion block. > > > > Good idea - will do. Thanks Andy for bringing this to my attention, the amount of kernel interfaces I still don't know after all these years still amazes me. Bartosz