Re: [PATCH v4 1/5] thermal: Add generic cpufreq cooling implementation

2012-06-25 Thread Rob Lee
Hey Amit, I was just re-organizing the imx thermal driver that uses this cpu cooling interface and noticed a couple of small issues here. If these suggestions are agreed upon and if it's too late for these issues be changed with this patchset, I can submit them separately unless you'd prefer to.

[PATCH 2/2] DRM: Exynos: check for null in return value of dma_buf_map_attachment()

2012-06-25 Thread Subash Patel
From: Subash Patel dma_buf_map_attachment() can return NULL and valid sg as return value. Hence the check for the returned scatter-gather must be using the inline function IS_ERR_OR_NULL() in place of IS_ERR() Change-Id: I33218480e220f6a26a1e726b336bf533a95363de Signed-off-by: Subash Patel CC:

[PATCH 1/2] DRM: Exynos: return NULL if exynos_pages_to_sg fails

2012-06-25 Thread Subash Patel
From: Subash Patel 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. Cha

[PATCH 0/2] Add return value checks in the drm-dmabuf

2012-06-25 Thread Subash Patel
From: Subash Patel This patch series is split and re-send of my original patch, after request from Inki Dae. Below two patches add the required error checks in drm dmabuf when the system fails to allocate pages for the scatter-gather. This is very rare situation, and occurs when the system is un

[PATCH 2/2] DRM: Exynos: check for null in return value of dma_buf_map_attachment()

2012-06-25 Thread Subash Patel
From: Subash Patel dma_buf_map_attachment() can return NULL and valid sg as return value. Hence the check for the returned scatter-gather must be using the inline function IS_ERR_OR_NULL() in place of IS_ERR() Change-Id: I33218480e220f6a26a1e726b336bf533a95363de Signed-off-by: Subash Patel CC:

[PATCH 1/2] DRM: Exynos: return NULL if exynos_pages_to_sg fails

2012-06-25 Thread Subash Patel
From: Subash Patel 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. Cha

Re: ARM: s3c2410: remove dead mach-s3c2410 directory

2012-06-25 Thread Heiko Stübner
Am Montag 25 Juni 2012, 12:11:52 schrieb Paul Bolle: > Commit 85fd6d63bf2927b9da7ab1b0d46723bfdb13808c ("ARM: S3C2410: move > mach-s3c2410/* into mach-s3c24xx/") orphaned > arch/arm/mach-s3c2410/Kconfig: currently no other Kconfig file sources > that file. This means that the Kconfig symbols S3C241

Re: [Linaro-mm-sig] [PATCH] DRM: exynos: return NULL if exynos_pages_to_sg fails

2012-06-25 Thread InKi Dae
Hi Subash, Could you re-post this patch seperately? your patch includes another one. Thanks, Inki Dae 2012/6/23 Subash Patel : > From: Subash Patel > > exynos_pages_to_sg() internally calls sg_kmalloc() which can return > no pages when the system is under high memory crunch. One such instance >

ARM: s3c2410: remove dead mach-s3c2410 directory

2012-06-25 Thread Paul Bolle
Commit 85fd6d63bf2927b9da7ab1b0d46723bfdb13808c ("ARM: S3C2410: move mach-s3c2410/* into mach-s3c24xx/") orphaned arch/arm/mach-s3c2410/Kconfig: currently no other Kconfig file sources that file. This means that the Kconfig symbols S3C2410_CPUFREQ and S3C2410_PLLTABLE will never be set, which in tu