From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8113BC10F13 for ; Mon, 8 Apr 2019 21:55:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 58C5320880 for ; Mon, 8 Apr 2019 21:55:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726068AbfDHVzT (ORCPT ); Mon, 8 Apr 2019 17:55:19 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:57118 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726050AbfDHVzT (ORCPT ); Mon, 8 Apr 2019 17:55:19 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 02D5380569; Mon, 8 Apr 2019 23:55:07 +0200 (CEST) Date: Mon, 8 Apr 2019 23:55:15 +0200 From: Pavel Machek To: William Breathitt Gray Cc: gregkh@linuxfoundation.org, jic23@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, fabrice.gasnier@st.com, benjamin.gaignard@st.com, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, akpm@linux-foundation.org, david@lechnology.com, robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, leoyang.li@nxp.com, daniel.lezcano@linaro.org, tglx@linutronix.de, thierry.reding@gmail.com, esben@haabendal.dk, linux-pwm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, patrick.havelange@essensium.com, Jonathan Cameron Subject: Re: [PATCH v10 01/18] counter: Introduce the Generic Counter interface Message-ID: <20190408215515.GA27592@amd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > +const char *const counter_count_direction_str[2] =3D { > + [COUNTER_COUNT_DIRECTION_FORWARD] =3D "forward", > + [COUNTER_COUNT_DIRECTION_BACKWARD] =3D "backward" > +}; > +EXPORT_SYMBOL_GPL(counter_count_direction_str); > + > +const char *const counter_count_mode_str[4] =3D { > + [COUNTER_COUNT_MODE_NORMAL] =3D "normal", > + [COUNTER_COUNT_MODE_RANGE_LIMIT] =3D "range limit", > + [COUNTER_COUNT_MODE_NON_RECYCLE] =3D "non-recycle", > + [COUNTER_COUNT_MODE_MODULO_N] =3D "modulo-n" > +}; > +EXPORT_SYMBOL_GPL(counter_count_mode_str); Dunno. Exporting const tables saying "forward" and "backward". Can we =2E.. somehow make it work without need to export this? --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlyrw0MACgkQMOfwapXb+vI0fQCeOVJVU9FSIbeRA4WSFP7n6OI7 dq8AnR+Ykf6BWrqHixl+oRJ+LYhLlFau =/6R+ -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40D0AC10F13 for ; Mon, 8 Apr 2019 22:03:01 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6C1B120880 for ; Mon, 8 Apr 2019 22:03:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6C1B120880 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ucw.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 44dPYY2rXPzDqKN for ; Tue, 9 Apr 2019 08:02:57 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=none (mailfrom) smtp.mailfrom=ucw.cz (client-ip=195.113.26.193; helo=atrey.karlin.mff.cuni.cz; envelope-from=pavel@ucw.cz; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ucw.cz X-Greylist: delayed 355 seconds by postgrey-1.36 at bilbo; Tue, 09 Apr 2019 08:01:23 AEST Received: from atrey.karlin.mff.cuni.cz (atrey.karlin.mff.cuni.cz [195.113.26.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 44dPWl118xzDqHZ for ; Tue, 9 Apr 2019 08:01:22 +1000 (AEST) Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 02D5380569; Mon, 8 Apr 2019 23:55:07 +0200 (CEST) Date: Mon, 8 Apr 2019 23:55:15 +0200 From: Pavel Machek To: William Breathitt Gray Subject: Re: [PATCH v10 01/18] counter: Introduce the Generic Counter interface Message-ID: <20190408215515.GA27592@amd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, benjamin.gaignard@st.com, linux-pwm@vger.kernel.org, linux-iio@vger.kernel.org, patrick.havelange@essensium.com, thierry.reding@gmail.com, pmeerw@pmeerw.net, lars@metafoo.de, daniel.lezcano@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, david@lechnology.com, linuxppc-dev@lists.ozlabs.org, robh+dt@kernel.org, Jonathan Cameron , tglx@linutronix.de, fabrice.gasnier@st.com, esben@haabendal.dk, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, leoyang.li@nxp.com, knaack.h@gmx.de, akpm@linux-foundation.org, shawnguo@kernel.org, jic23@kernel.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > +const char *const counter_count_direction_str[2] =3D { > + [COUNTER_COUNT_DIRECTION_FORWARD] =3D "forward", > + [COUNTER_COUNT_DIRECTION_BACKWARD] =3D "backward" > +}; > +EXPORT_SYMBOL_GPL(counter_count_direction_str); > + > +const char *const counter_count_mode_str[4] =3D { > + [COUNTER_COUNT_MODE_NORMAL] =3D "normal", > + [COUNTER_COUNT_MODE_RANGE_LIMIT] =3D "range limit", > + [COUNTER_COUNT_MODE_NON_RECYCLE] =3D "non-recycle", > + [COUNTER_COUNT_MODE_MODULO_N] =3D "modulo-n" > +}; > +EXPORT_SYMBOL_GPL(counter_count_mode_str); Dunno. Exporting const tables saying "forward" and "backward". Can we =2E.. somehow make it work without need to export this? --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlyrw0MACgkQMOfwapXb+vI0fQCeOVJVU9FSIbeRA4WSFP7n6OI7 dq8AnR+Ykf6BWrqHixl+oRJ+LYhLlFau =/6R+ -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DFDDFC10F13 for ; Mon, 8 Apr 2019 21:55:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AB28320880 for ; Mon, 8 Apr 2019 21:55:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KuJT4Oqe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AB28320880 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ucw.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mtgAr5JezfQhc72D0OeJMhP1BW6nMViwqOF+1lTcIVQ=; b=KuJT4Oqe0dYHWw5EbOlJYeup9 Fr+mbrcd1xPUUN3rmSC32TAnB0gxP/vEDOd4+GlaM8WRbSY4GQY9rXvPMmCAOxTugfz14BZwO18GP hyZXsEVZLu0NBQPSMxSGL7pzrEv2A+XazJkSMzRoSIGDH2Bjb8A07REh9MZaj6LxnMGlnDzS0+Pax GRu4PqZG8ljRBQPu1NUWIUxdJ4b3hKzl3J2g5qxmjMgxDQlh8w4JGPUSC3PnGdEzq7NEcgcPRKpdl VEm4akeEb2GhXlWaWORU3gUyuErDG49klOEHyh/apK0Vxe8XJx2fqdu9w1e9w22LChKT+u7BD9TKm RZ/RKxKSA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDcEj-0003od-1j; Mon, 08 Apr 2019 21:55:29 +0000 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDcEf-0003nl-EU for linux-arm-kernel@lists.infradead.org; Mon, 08 Apr 2019 21:55:27 +0000 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 02D5380569; Mon, 8 Apr 2019 23:55:07 +0200 (CEST) Date: Mon, 8 Apr 2019 23:55:15 +0200 From: Pavel Machek To: William Breathitt Gray Subject: Re: [PATCH v10 01/18] counter: Introduce the Generic Counter interface Message-ID: <20190408215515.GA27592@amd> References: MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190408_145525_639920_B00E5590 X-CRM114-Status: UNSURE ( 9.43 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, benjamin.gaignard@st.com, linux-pwm@vger.kernel.org, linux-iio@vger.kernel.org, patrick.havelange@essensium.com, thierry.reding@gmail.com, pmeerw@pmeerw.net, lars@metafoo.de, daniel.lezcano@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, david@lechnology.com, linuxppc-dev@lists.ozlabs.org, robh+dt@kernel.org, Jonathan Cameron , tglx@linutronix.de, fabrice.gasnier@st.com, esben@haabendal.dk, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, leoyang.li@nxp.com, knaack.h@gmx.de, akpm@linux-foundation.org, shawnguo@kernel.org, jic23@kernel.org Content-Type: multipart/mixed; boundary="===============5786189661219645325==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5786189661219645325== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > +const char *const counter_count_direction_str[2] =3D { > + [COUNTER_COUNT_DIRECTION_FORWARD] =3D "forward", > + [COUNTER_COUNT_DIRECTION_BACKWARD] =3D "backward" > +}; > +EXPORT_SYMBOL_GPL(counter_count_direction_str); > + > +const char *const counter_count_mode_str[4] =3D { > + [COUNTER_COUNT_MODE_NORMAL] =3D "normal", > + [COUNTER_COUNT_MODE_RANGE_LIMIT] =3D "range limit", > + [COUNTER_COUNT_MODE_NON_RECYCLE] =3D "non-recycle", > + [COUNTER_COUNT_MODE_MODULO_N] =3D "modulo-n" > +}; > +EXPORT_SYMBOL_GPL(counter_count_mode_str); Dunno. Exporting const tables saying "forward" and "backward". Can we =2E.. somehow make it work without need to export this? --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlyrw0MACgkQMOfwapXb+vI0fQCeOVJVU9FSIbeRA4WSFP7n6OI7 dq8AnR+Ykf6BWrqHixl+oRJ+LYhLlFau =/6R+ -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE-- --===============5786189661219645325== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============5786189661219645325==--