soc: fsl: qe: drop pointless check in qe_sdma_init()
[linux-2.6-microblaze.git] / net / compat.c
index 0f7ded2..47d99c7 100644 (file)
@@ -232,7 +232,7 @@ int put_cmsg_compat(struct msghdr *kmsg, int level, int type, int len, void *dat
                    (type == SO_TIMESTAMPNS_OLD || type == SO_TIMESTAMPING_OLD)) {
                        int count = type == SO_TIMESTAMPNS_OLD ? 1 : 3;
                        int i;
-                       struct timespec *ts = (struct timespec *)data;
+                       struct __kernel_old_timespec *ts = data;
                        for (i = 0; i < count; i++) {
                                cts[i].tv_sec = ts[i].tv_sec;
                                cts[i].tv_nsec = ts[i].tv_nsec;