|
@@ -186,7 +186,6 @@ static struct ktermios stli_deftermios = {
|
|
* re-used for each stats call.
|
|
* re-used for each stats call.
|
|
*/
|
|
*/
|
|
static comstats_t stli_comstats;
|
|
static comstats_t stli_comstats;
|
|
-static combrd_t stli_brdstats;
|
|
|
|
static struct asystats stli_cdkstats;
|
|
static struct asystats stli_cdkstats;
|
|
|
|
|
|
/*****************************************************************************/
|
|
/*****************************************************************************/
|
|
@@ -4005,6 +4004,7 @@ static int stli_getbrdstats(combrd_t __user *bp)
|
|
{
|
|
{
|
|
struct stlibrd *brdp;
|
|
struct stlibrd *brdp;
|
|
unsigned int i;
|
|
unsigned int i;
|
|
|
|
+ combrd_t stli_brdstats;
|
|
|
|
|
|
if (copy_from_user(&stli_brdstats, bp, sizeof(combrd_t)))
|
|
if (copy_from_user(&stli_brdstats, bp, sizeof(combrd_t)))
|
|
return -EFAULT;
|
|
return -EFAULT;
|