Reg: Staging Driver: lustre/lustre/lov

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

 



Hi,

I was going through lov_pack.c and in the function lov_unpackmd before
checking for lmm we are using the lmm_pattern value and doing
allocation. In case lmm is null use of pattern =
le32_to_cpu(lmm->lmm_pattern); will throw a null pointer exception.

I was thinking of moving the null check above but i that case what
will be the allocation pattern?

Regards,
Monam Agarwal
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux