Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9dda727d authored by Torsten Duwe's avatar Torsten Duwe Committed by Theodore Ts'o
Browse files

hw_random: fix sparse warning (NULL vs 0 for pointer)



Signed-off-by: default avatarTorsten Duwe <duwe@suse.de>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent ee3e00e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -344,7 +344,7 @@ static int hwrng_fillfn(void *unused)
		add_hwgenerator_randomness((void *)rng_fillbuf, rc,
					   (rc*current_quality)>>10);
	}
	hwrng_fill = 0;
	hwrng_fill = NULL;
	return 0;
}