summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorAishwarya Pant <aishpant@gmail.com>2017-03-01 21:24:01 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-06 15:57:17 +0300
commit36b4894e4a03293f20a7e34e20336f2f05b546d1 (patch)
tree20c9dceb7223a14d2e98a9c9332c9dfbe299aa40 /include/linux/timerqueue.h
parent16255382204b92fd7b657e01469442e4be8d0082 (diff)
downloadlinux-36b4894e4a03293f20a7e34e20336f2f05b546d1.tar.xz
staging: bcm2835-camera: prefer allocating memory using sizeof(*ptr) instead of sizeof(struct type name)
Using sizeof(*ptr) instead of sizeof(struct type name) is more robust to errors. Signed-off-by: Aishwarya Pant <aishpant@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions