On Monday 16 October 2017 13:23:04 [email protected] wrote:
> > -----Original Message-----
> > From: Pali Rohár [mailto:[email protected]]
> > Sent: Monday, October 16, 2017 2:33 AM
> > To: Limonciello, Mario <[email protected]>
> > Cc: [email protected]; Andy Shevchenko <[email protected]>;
> > LKML <[email protected]>; [email protected]; 
> > Andy
> > Lutomirski <[email protected]>; [email protected]; [email protected];
> > [email protected]; [email protected]; Greg KH <[email protected]>; Alan Cox
> > <[email protected]>
> > Subject: Re: [PATCH v8 00/15] Introduce support for Dell SMBIOS over WMI
> > 
> > Hi! Just a small idea, what about including example userspace
> > application which would use this new API? I think such application can
> > be useful for documentation purpose to see how this new API should be
> > used. And in review process other people can point if there would be
> > some problems with usage.
> > 
> > I do not know if it is requirement or not for introducing new kernel
> > API, but still example code is very useful for developers when they
> > would start to use this new API and correctly.
> > 
> > --
> > Pali Rohár
> > [email protected]
> 
> Pali,
> 
> I've produced a small sample application available here:
> https://github.com/superm1/smbios-wmi-poc

Simple one-file example application. Great!

Darren, Greg, Mario, I think it would be better to have this example
application in tools/ or in Documentation/... What do you think?

Looking for examples on random github repos is harder and less official
as part of linux source tree.

-- 
Pali Rohár
[email protected]

Reply via email to