From: Szymon Janc <szymon@janc.net.pl>
To: kernel-janitors@vger.kernel.org
Subject: Re: [PATCH v2 00/17] Some work on quickstart driver in staging
Date: Fri, 10 Feb 2012 19:21:16 +0000 [thread overview]
Message-ID: <201202102021.17053.szymon@janc.net.pl> (raw)
In-Reply-To: <1326320574-11220-1-git-send-email-szymon@janc.net.pl>
On Thursday 09 February 2012 21:23:02 Greg KH wrote:
> > Those 2 (minor) are still not applied
> >
> > Staging: quickstart: Use scnprintf in quickstart_pressed_button_show
> > Staging: quickstart: Bump driver version to 1.04
>
> I thought you told me not to apply them?
>
> Anyway, care to resend them so I know exactly what to apply?
I've accidentally mixed V1 and V2 patches in V2 series and was referring to
those V1 sent with V2, but I'll resent them for clarity.
>
> > > Also, you just created the following build warning, please send me a
> > > patch fixing it up:
> > >
> > > drivers/staging/quickstart/quickstart.c: In function
> > > ‘quickstart_acpi_ghid’: drivers/staging/quickstart/quickstart.c:212:5:
> > > warning: format ‘%u’ expects argument of type ‘unsigned int’, but
> > > argument 3 has type ‘acpi_size’ [-Wformat]
> >
> > acpi_size is u32 or u64 depending on arch, is it ok to just cast it to
> > unsigned int for printing?
>
> There should be some native type for this, size_t? Or if it's not
> really important, just cast it.
This is how is it defined in <acpi/actypes.h>. I'll just cast it to unsigned
long for pritning.
One more thing:
there is no TODO for quickstart in staging so I fixed what I
felt should be fixed (I'm quite a newbie). If you have some comments on what
still needs to be done to get this driver from staging I'm all ears.
--
Szymon K. Janc
szymon@janc.net.pl
prev parent reply other threads:[~2012-02-10 19:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-11 22:22 [PATCH v2 00/17] Some work on quickstart driver in staging Szymon Janc
2012-01-11 22:27 ` Szymon Janc
2012-02-06 18:21 ` Szymon Janc
2012-02-06 21:32 ` Greg Kroah-Hartman
2012-02-09 1:17 ` Greg KH
2012-02-09 20:14 ` Szymon Janc
2012-02-09 20:23 ` Greg KH
2012-02-10 6:59 ` Dan Carpenter
2012-02-10 19:21 ` Szymon Janc [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201202102021.17053.szymon@janc.net.pl \
--to=szymon@janc.net.pl \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox