[Linux][ARM] char buf[32]; vs char buf[32]={0};

Guillermo Austin Kim|2017년 7월 16일
Posts

[Linux][ARM] char buf[32]; vs char buf[32]={0};

Guillermo Austin Kim|2017년 7월 16일

Quite interesting patch was released under the following url.https://source.codeaurora.org/quic/la/kernel/msm-3.18/commit/?h=rel/msm-3.18&id=a0039b1e721b7b3ee1cbe7f7f9d44d451ac74543 The detailed patch is to initialize the stack array with a different way as below.usb : dwc3: Initialize kernel stack variables properlyIf kernel stack variables are not initialized properly,there is a chance of