]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
scsi: libfcoe: Include <linux/prandom.h> instead of <linux/random.h>
authorUros Bizjak <ubizjak@gmail.com>
Mon, 30 Sep 2024 12:33:19 +0000 (14:33 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 3 Oct 2024 16:20:03 +0000 (18:20 +0200)
Substitute the inclusion of <linux/random.h> header with
<linux/prandom.h> to allow the removal of legacy inclusion
of <linux/prandom.h> from <linux/random.h>.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Cc: Hannes Reinecke <hare@suse.de>
Cc: James E.J. Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
include/scsi/libfcoe.h

index 3c5899290aed8bfdff988f9443e6b890027a38c6..6616348e59b97ae2f0de60cc0ba72a22bb380641 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/skbuff.h>
 #include <linux/workqueue.h>
 #include <linux/local_lock.h>
-#include <linux/random.h>
+#include <linux/prandom.h>
 #include <scsi/fc/fc_fcoe.h>
 #include <scsi/libfc.h>
 #include <scsi/fcoe_sysfs.h>