We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7315e45 commit bc581dbCopy full SHA for bc581db
arch/powerpc/kernel/signal.h
@@ -166,9 +166,9 @@ copy_ckfpr_from_user(struct task_struct *task, void __user *from)
166
}
167
#endif /* CONFIG_PPC_TRANSACTIONAL_MEM */
168
#else
169
-#define unsafe_copy_fpr_to_user(to, task, label) do { } while (0)
+#define unsafe_copy_fpr_to_user(to, task, label) do { if (0) goto label;} while (0)
170
171
-#define unsafe_copy_fpr_from_user(task, from, label) do { } while (0)
+#define unsafe_copy_fpr_from_user(task, from, label) do { if (0) goto label;} while (0)
172
173
static inline unsigned long
174
copy_fpr_to_user(void __user *to, struct task_struct *task)
0 commit comments