Messages in this thread | | | Date | Wed, 21 Feb 2007 10:45:35 +1300 | From | "Ian McDonald" <> | Subject | Re: [PATCH] pci: allow multiple calls to pcim_pin_device() |
| |
On 2/20/07, Tejun Heo <htejun@gmail.com> wrote: > Sanity check in pcim_pin_device() was too restrictive in that it > didn't allow multiple calls to the function, which is against the > devres philosohpy of fire-and-forget. Track pinned status separately > and allow pinning multiple times. > > Signed-off-by: Tejun Heo <htejun@gmail.com> > --- > It was an actual bug in pcim_pin_device() implementation. Thanks for > spotting this. :-) > > Ian McDonald, please verify your warning goes away with this patch.
Yes it does. Thanks for sorting. > > Greg, please forward this patch upstream once Ian acks it. > Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz> -- Web: http://wand.net.nz/~iam4 Blog: http://iansblog.jandi.co.nz WAND Network Research Group - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |