Re: [PATCH v2 1/3] Input: db9 - store object at correct index

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 06, 2015 at 11:08:59AM +0530, Sudip Mukherjee wrote:
> On Mon, Oct 05, 2015 at 05:32:05PM -0700, Dmitry Torokhov wrote:
> > On Sat, Oct 03, 2015 at 02:54:56PM +0530, Sudip Mukherjee wrote:
> > > The variable i is used to check the port to attach to and we are
> > > supposed to save the reference of struct db9 in the location given by
> > > db9_base[i]. But after finding out the index, i is getting modified again
> > > so we saved in a wrong index.
> > > While at it mark db9_base[i] as NULL after it is freed.
> > > 
> > > Fixes: 2260c419b52b ("Input: db9 - use parallel port device model")
> > > Signed-off-by: Sudip Mukherjee <sudip@xxxxxxxxxxxxxxx>
> > 
> > Applied the lot, thank you.
> 
> Thanks. And the change for serio/parkbd was pending. You said it was
> clashing with other changs.  Do i need to rebase and send you?

No, I applied it now.

Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux