Re: [PATCH] policy.c: Fix for compiler error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/11/18 9:04 AM, Mariusz Tkaczyk wrote:
> After cd72f9d(policy: support devices with multiple paths.) compilation
> on old compilers fails because "‘p’ may be used uninitialized
> in this function".
> 
> Initialize it with NULL to prevent this.
> 
> Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@xxxxxxxxx>

Curious, what qualifies as an old compiler here? I don't see harm in the
patch though.

Applied!

Thanks,
Jes





[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux