summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2025-06-25 14:52:24 +0300
committerJakub Kicinski <kuba@kernel.org>2025-06-27 03:54:03 +0300
commit7ca2ac4953fd191929c5467a2176fcf9e280542f (patch)
treeb7c4fd5f553c2957c01ce5845fd1700322f74354 /rust/helpers/build_bug.c
parentb7863babce0a7aacb252e50d75b192476aa81ea1 (diff)
downloadlinux-7ca2ac4953fd191929c5467a2176fcf9e280542f.tar.xz
ptp: Split out PTP_CLOCK_GETCAPS ioctl code
ptp_ioctl() is an inpenetrable letter soup with a gazillion of case (scope) specific variables defined at the top of the function and pointless breaks and gotos. Start cleaning it up by splitting out the PTP_CLOCK_GETCAPS ioctl code into a helper function. Use a argument pointer with a single sparse compliant type cast instead of proliferating the type cast all over the place. No functional change intended. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev> Link: https://patch.msgid.link/20250625115132.733409073@linutronix.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions