summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1685.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-04-21 11:24:41 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2017-04-25 09:40:42 -0700
commit9d17e14cc052ecebb572d4546c7deeddc0c6e040 (patch)
treed3c8db45e3944d965564257a8b437314b6dc14a1 /drivers/rtc/rtc-ds1685.c
parente2a641922a3592b5ea226624d5abeb13eb49622c (diff)
downloadlinux-9d17e14cc052ecebb572d4546c7deeddc0c6e040.tar.gz
linux-9d17e14cc052ecebb572d4546c7deeddc0c6e040.tar.bz2
linux-9d17e14cc052ecebb572d4546c7deeddc0c6e040.zip
xfs: fix __user annotations for xfs_ioc_getfsmap
By passing the whole fsmap_head structure and an index we can get the user point annotations right for the embedded variable sized array in struct fsmap_head. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> [darrick: change idx to unsigned int] Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'drivers/rtc/rtc-ds1685.c')
0 files changed, 0 insertions, 0 deletions