NFC: digital: Add newline to pr_* calls
We do not add the newline to the pr_fmt macro, in order to give more flexibility to the caller and to keep the logging style consistent with the rest of the NFC and kernel code. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Este cometimento está contido em:
@@ -259,10 +259,8 @@ static int digital_in_send_sdd_req(struct nfc_digital_dev *ddev,
|
||||
return rc;
|
||||
|
||||
skb = digital_skb_alloc(ddev, 2);
|
||||
if (!skb) {
|
||||
pr_err("alloc_skb failed");
|
||||
if (!skb)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
if (target->nfcid1_len == 0)
|
||||
sel_cmd = DIGITAL_CMD_SEL_REQ_CL1;
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador