From patchwork Mon Nov 6 19:37:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve French X-Patchwork-Id: 13447338 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31B02C4332F for ; Mon, 6 Nov 2023 19:39:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232818AbjKFTjN (ORCPT ); Mon, 6 Nov 2023 14:39:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232931AbjKFTjA (ORCPT ); Mon, 6 Nov 2023 14:39:00 -0500 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6D8D30D7 for ; Mon, 6 Nov 2023 11:37:34 -0800 (PST) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-507bd64814fso6573961e87.1 for ; Mon, 06 Nov 2023 11:37:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699299452; x=1699904252; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=5ALoxbMVm3+5AgYaHkckLLZwvjeKchBftBYzbJ/bn/M=; b=dqJkG4YwJgBmhozuCeBkPCLDThP+CvzRGJPUATzprJHsgW4ZqFqhBUIeSjfNMsO34L Uy8SC0PKqowFKGt7dMIFtywoxhHoCiEJDSDktRgp/b5V0LsQa2WaVvxKht110EQymj3X wIO5TRwS33nyp+JhV5yKmjtZjxgA6RoX1H8Jb2FMsqiRYy+qmh4pqkTa3697+X0ga36Y uzTTx1slBaSyN97iTB/yVsOtfXcaCsUJBERpUsShlBepH/EOqRUo3+9hQW63r3Jzb3x5 jHvMrDpuvskNzwEXH5jVDu/jOkhleptPPlgBVB+lvJiVBccI+0yjdGwE46ZWr+K4VA6C nI8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699299452; x=1699904252; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5ALoxbMVm3+5AgYaHkckLLZwvjeKchBftBYzbJ/bn/M=; b=JiRIONSPiOcEC0mQINXXdzrMrdH+Wv0no7hsxOzPY3X7XkXB62VFRTWEx7gEPlk/Ho OA4lwA9OBVw5a+jjYtBE2RG/+4l+dF+NHShhm2hfvxHzDqiQsyGty1UnHluVCbNTk6Vf 1RWmkN7yIBg70T18XdwWq0Wx5kNOYGqu2nDdH5Zp/P9mH+3F5BaoDxqI08eyTdWHTfqZ 8lfXuh1Wls2mp4LIA94TQY+Xg/Xkuz+ONrmnwK7AT1XPMXBrm3Uhqp75tl5z0ae2ivb7 IQLENVGZbNvCGVCdl0GNNEFj/WoENfM84f80MWVfAWw0ZiL0d9+x8bwnNYmUBLjtrEp0 td4Q== X-Gm-Message-State: AOJu0YxhI/zDxZu+IpAHb8T5s/b/uWLt3v5khRVnuqpOARt/8qeD+T2f VC6xvXkiCW0EpAk5OvlIRFOnU/hYVscuevK/LLklhw1B2TP4qw== X-Google-Smtp-Source: AGHT+IFgexWQeANMuBA/LxQ2MTL1h9jY23B1QYNU4ZTPh7kkpfeamCXjZ5lolYs7T7U+zW1HfkFRlnpy3+MNaD75v14= X-Received: by 2002:ac2:4c82:0:b0:507:9a33:f105 with SMTP id d2-20020ac24c82000000b005079a33f105mr19796237lfl.69.1699299452048; Mon, 06 Nov 2023 11:37:32 -0800 (PST) MIME-Version: 1.0 From: Steve French Date: Mon, 6 Nov 2023 13:37:20 -0600 Message-ID: Subject: Minor smbdirect cleanup To: CIFS Cc: Long Li Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org See attached (minor rdma/smbdirect cleanup) spotted when ran checkpatch against cifs_debug.c From 0562dfc99a91d5faff58c512b76a8f3bb33a615a Mon Sep 17 00:00:00 2001 From: Steve French Date: Mon, 6 Nov 2023 13:31:45 -0600 Subject: [PATCH] smb3: minor RDMA cleanup Some minor smbdirect debug cleanup spotted by checkpatch Cc: Long Li Signed-off-by: Steve French --- fs/smb/client/cifs_debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/smb/client/cifs_debug.c b/fs/smb/client/cifs_debug.c index 132ba277438f..5596c9f30ccb 100644 --- a/fs/smb/client/cifs_debug.c +++ b/fs/smb/client/cifs_debug.c @@ -767,14 +767,14 @@ static ssize_t name##_write(struct file *file, const char __user *buffer, \ size_t count, loff_t *ppos) \ { \ int rc; \ - rc = kstrtoint_from_user(buffer, count, 10, & name); \ + rc = kstrtoint_from_user(buffer, count, 10, &name); \ if (rc) \ return rc; \ return count; \ } \ static int name##_proc_show(struct seq_file *m, void *v) \ { \ - seq_printf(m, "%d\n", name ); \ + seq_printf(m, "%d\n", name); \ return 0; \ } \ static int name##_open(struct inode *inode, struct file *file) \ -- 2.39.2