Re: [PATCH v3 6/6] staging: kpc2000: use IDA to assign card numbers.

2019-05-17 Thread Jeremy Sowden
On 2019-05-17, at 13:50:13 +0200, Greg KH wrote: > On Fri, May 17, 2019 at 12:03:15PM +0100, Jeremy Sowden wrote: > > Previously the next card number was assigned from a static int local > > variable, which was read and later incremented. This was not > > thread- safe, so now we use an IDA

Re: [PATCH v3 6/6] staging: kpc2000: use IDA to assign card numbers.

2019-05-17 Thread Greg KH
On Fri, May 17, 2019 at 12:03:15PM +0100, Jeremy Sowden wrote: > Previously the next card number was assigned from a static int local > variable, which was read and later incremented. This was not thread- > safe, so now we use an IDA instead. An ida is not thread safe either. But, you are onlyu

[PATCH v3 6/6] staging: kpc2000: use IDA to assign card numbers.

2019-05-17 Thread Jeremy Sowden
Previously the next card number was assigned from a static int local variable, which was read and later incremented. This was not thread- safe, so now we use an IDA instead. Updated TODO. Signed-off-by: Jeremy Sowden --- drivers/staging/kpc2000/TODO | 1 -