diff options
| author | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
| commit | c74a7469f97c0f40b46e82ee979f9fb1bb6e847c (patch) | |
| tree | f2690a1a916b73ef94657fbf0e0141ae57701825 /fs/jfs/jfs_dmap.c | |
| parent | 6f15a7de86c8cf2dc09fc9e6d07047efa40ef809 (diff) | |
| parent | 500775074f88d9cf5416bed2ca19592812d62c41 (diff) | |
Merge drm/drm-next into drm-intel-next-queued
We need a backmerge to get DP_DPCD_REV_14 before we push other
i915 changes to dinq that could break compilation.
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'fs/jfs/jfs_dmap.c')
| -rw-r--r-- | fs/jfs/jfs_dmap.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/fs/jfs/jfs_dmap.c b/fs/jfs/jfs_dmap.c index 2d514c7affc2..49263e220dbc 100644 --- a/fs/jfs/jfs_dmap.c +++ b/fs/jfs/jfs_dmap.c @@ -1641,7 +1641,7 @@ s64 dbDiscardAG(struct inode *ip, int agno, s64 minlen)  	max_ranges = nblocks;  	do_div(max_ranges, minlen);  	range_cnt = min_t(u64, max_ranges + 1, 32 * 1024); -	totrim = kmalloc(sizeof(struct range2trim) * range_cnt, GFP_NOFS); +	totrim = kmalloc_array(range_cnt, sizeof(struct range2trim), GFP_NOFS);  	if (totrim == NULL) {  		jfs_error(bmp->db_ipbmap->i_sb, "no memory for trim array\n");  		IWRITE_UNLOCK(ipbmap); |