From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 References: <4bb66b16dc261acf9d40517c8b7961a52212086b.1626418779.git.viresh.kumar@linaro.org> In-Reply-To: From: Viresh Kumar Date: Fri, 16 Jul 2021 21:13:51 +0530 Message-ID: Subject: Re: [PATCH V5 1/2] virtio-gpio: Add the device specification Content-Type: text/plain; charset="UTF-8" To: Geert Uytterhoeven Cc: Jason Wang , "Michael S. Tsirkin" , Cornelia Huck , Linus Walleij , Bartosz Golaszewski , Vincent Guittot , Arnd Bergmann , Jean-Philippe Brucker , Bill Mills , =?UTF-8?B?QWxleCBCZW5uw6ll?= , "Enrico Weigelt, metux IT consult" , virtio-dev@lists.oasis-open.org List-ID: On Fri, 16 Jul 2021 at 14:43, Geert Uytterhoeven wrote: > Is this the standard (virtio) way to define fields like this? > Personally, I would write "__gpio_names[]", to make it more obvious > if some code tries to access the field directly. > Of course the real implementation should provide a macro/function to > access the names in a safe way. Looks like this field is going away and we need a separate request for this. Thanks for taking time to look at this. -- viresh