lkml.org 
[lkml]   [2014]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] arch: tile: kernel: signal.c: Use explicitly type case "unsigned long *" for register copy
On Sat, Nov 01, 2014 at 08:49:45PM +0800, Chen Gang wrote:
> setup_sigcontext() wants to copy all kernel related registers to user
> space. So let it copy explicitly instead of copying by exceeding member
> array border. So let code more clearer and avoid warning.

Er... Perhaps it would be better to avoid that shite completely and just
use __copy_to_user() instead of bothering with loops?


\
 
 \ /
  Last update: 2014-11-01 21:41    [W:0.412 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site