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

Skip to content
Commit f479ab87 authored by James Bottomley's avatar James Bottomley Committed by James Bottomley
Browse files

[SCSI] fix up non-modular SCSI



The recent change to the way scsi_device_get()/put() work broke the
non modular build (we do a module_refcount on a NULL).  Fix this by
checking for non-null before checking module_refcount().

Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 884d25cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment