On Tue, Mar 15, 2022 at 01:14:33PM +0100, Bartosz Golaszewski wrote: > On Tue, Mar 15, 2022 at 6:33 AM Kent Gibson <warthog618@xxxxxxxxx> wrote: > > > > The infobuf variable in gpiod_line_info_from_kernel() refers to the > > uAPI version of the info, and the "buf" suffix doesn't really > > emphasise that, so rename it to uinfo. > > > > Signed-off-by: Kent Gibson <warthog618@xxxxxxxxx> > > --- > > I don't entirely disagree with infobuf not being the best name but > uinfo is even less so. The 'u' prefix doesn't mean anything on its > own. If anything I would think it has something to do with udev, > udisks, upower etc. Or "mili" like useconds. How about info_kernel? > kernel_info? uapi_info? > uapi_info works for me. Cheers, Kent.