Re: [PATCH] virtio-mmio: Fix irq parsing in command line parameter

From: Pawel Moll
Date: Mon Nov 05 2012 - 09:12:54 EST


On Mon, 2012-11-05 at 13:44 +0000, Lee Jones wrote:
> On Mon, 05 Nov 2012, Pawel Moll wrote:
>
> > On 64-bit machines resource_size_t is a 64-bit value, while
> > sscanf() format for this argument was defined as "%u". Fixed
> > by using an intermediate local value of a known length.
> >
> > Also added cleaned up the resource creation and adde extra
> > comments to make the parameters parsing easier to follow.
> >
> > Reported-by: Lee Jones <lee.jones@xxxxxxxxxx>
> > Signed-off-by: Pawel Moll <pawel.moll@xxxxxxx>
> > ---
> > drivers/virtio/virtio_mmio.c | 26 ++++++++++++++++++--------
> > 1 file changed, 18 insertions(+), 8 deletions(-)
>
> Resorted to poaching now have we Pawel? ;)

Sure thing - the poached eggs are my firm favourite :-P ;-)

But seriously speaking - it's an old patch (all the comments and
resources creation, the IRQ stuff is a new thing :-), but never had
enough motivation to push it out...

Cheers!

PaweÅ



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/