Skip to content

Commit eb1bfcf

Browse files
committed
Merge branch 'for-5.3-core' into for-next
2 parents 33b7fbd + f36e664 commit eb1bfcf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

kernel/livepatch/transition.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,11 @@ static int klp_check_stack(struct task_struct *task, char *err_buf)
281281
*/
282282
static bool klp_try_switch_task(struct task_struct *task)
283283
{
284+
static char err_buf[STACK_ERR_BUF_SIZE];
284285
struct rq *rq;
285286
struct rq_flags flags;
286287
int ret;
287288
bool success = false;
288-
char err_buf[STACK_ERR_BUF_SIZE];
289289

290290
err_buf[0] = '\0';
291291

@@ -328,7 +328,6 @@ static bool klp_try_switch_task(struct task_struct *task)
328328
pr_debug("%s", err_buf);
329329

330330
return success;
331-
332331
}
333332

334333
/*

0 commit comments

Comments
 (0)