From: valdis.kletnieks@vt.edu (valdis.kletnieks at vt.edu) Date: Wed, 30 May 2018 11:03:39 -0400 Subject: develoment workflow: how to avoid duplicate work ? In-Reply-To: <20180530025657.GB1919@hle-laptop.local> References: <20180529030706.GD1845@hle-laptop.local> <80132.1527564735@turing-police.cc.vt.edu> <20180530025657.GB1919@hle-laptop.local> Message-ID: <22501.1527692619@turing-police.cc.vt.edu> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Tue, 29 May 2018 22:56:57 -0400, Hugo Lefeuvre said: > For example the TODO entry at line 876: If pi433_release() is > called while pi433_ioctl() is executing between lines 879 and > 880, we might perform a NULL pointer dereference, right ? Yes, no, maybe. That's what kernel locks are for. Is that data protected against concurrent access by a lock of some sort? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 486 bytes Desc: not available URL: