Re: [PATCH] DRM: exynos: return NULL if exynos_pages_to_sg fails

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

 



Hi Olof,

I will then rework this patch commit message and send it. I will copy Samsung-soc list (dri-devel is already in copy)

Regards,
Subash

On 06/22/2012 05:47 PM, Olof Johansson wrote:
Hi,

On Fri, Jun 22, 2012 at 5:41 PM, Subash Patel <subashrp@xxxxxxxxx
<mailto:subashrp@xxxxxxxxx>> wrote:

    From: Subash Patel <subash.rp@xxxxxxxxxxx
    <mailto:subash.rp@xxxxxxxxxxx>>

    exynos_pages_to_sg() internally calls sg_kmalloc() which can return
    no pages when the system is under high memory crunch. One such instance
    is chromeos-install in the chromeos. This patch adds check for the
    return
    value of the function in subject to return NULL on failure.

    BUG=chrome-os-partner:9481
    TEST=built, ran on snow and tried chromeos-install without a crash

    Change-Id: I0abda74beaedae002a17de9962d7a462a2a7c2fb
    Signed-off-by: Subash Patel <subash.rp@xxxxxxxxxxx
    <mailto:subash.rp@xxxxxxxxxxx>>


No BUG/TEST/Change-Id on a public patch, please. Also, I didn't see this
posted on neither samsung-soc, nor the dri-devel list?


-Olof

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux