Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp8718736rwd; Tue, 20 Jun 2023 20:19:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ54wu9hTejWoROdE10KmHR/RiQ2EWGf9W01XxlG+F+MSnatb3Jarj4+GZ+TL+xGcHsr61b4 X-Received: by 2002:a05:622a:145:b0:3ff:2726:5a91 with SMTP id v5-20020a05622a014500b003ff27265a91mr6847619qtw.15.1687317557112; Tue, 20 Jun 2023 20:19:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687317557; cv=none; d=google.com; s=arc-20160816; b=YuYNrDC6ZECPjaNrw8t9grMosRN/vUfIdTPlTtAYf9iSs+X0CubDoc6akQYsDeTzBe 4wJlXV8r5A/ANdS11ykNNIKW98wYcDT7CcRbOJYrvR1J7FLG+ZcyElIVb9BDNL1jzFHJ nOe2ojfOhdjM0SyJJrfVtiKX6oDLpJBO9dTsOTG7hV6xCINp0omH5vq65FYFFpIN4Lnc yGZXx661b9OxvG0ZVm3Uq5hVHoZVH1BRAehx9i9pMRivYbnlGDg8XC5QERRfVH90R/zV cW4hCg7ucAr5qLs+e13xmdHgo6rtfohcgtSOmclM/ZcsWTZ/77W9P4WfIZosRs3pXbhn sUog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=yk+CCzKPoEK1DNGd+x8aPT6YCsf+viHVDJzfkXgbxwM=; b=LFTNc2gL5/cMH8Y/m7K0inUQGFmczLVK+/AiDhFeeufE1BxRNiKTd1kDCNUeQArLOS psls38wmjxK4wHS5sXAxcGvg/pXC28tyqxA1hj/AYPg5B5tQC0gnpXe0s6xaJ2+otvRt m+m84y2VHsmXMsa+942T1gkBDhWtaIFM2stiddT2shvVtx9aBfCJmwg6H8yubvcXP7wQ pgVviEa7zEFq/kblw6i2ZWyJjfHyuJ/8z2FBN7J3xWTkJ/PX5gYuMDsDJI6pFhPuBV6h lnSpT9qe9p64FrBtgh7oEeVcmBAH7HZLLUmtDYn6nG4K6gEsK6cvaZF6PFQ9v/g+7gY+ +CDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=VRgq37DN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x1-20020a170902ec8100b001b50ddfb1bbsi423446plg.368.2023.06.20.20.19.01; Tue, 20 Jun 2023 20:19:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=VRgq37DN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230007AbjFUDAy (ORCPT + 99 others); Tue, 20 Jun 2023 23:00:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjFUDAv (ORCPT ); Tue, 20 Jun 2023 23:00:51 -0400 Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF860E7E; Tue, 20 Jun 2023 20:00:50 -0700 (PDT) Received: by mail-io1-xd32.google.com with SMTP id ca18e2360f4ac-77e2c42de06so176194439f.1; Tue, 20 Jun 2023 20:00:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687316450; x=1689908450; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=yk+CCzKPoEK1DNGd+x8aPT6YCsf+viHVDJzfkXgbxwM=; b=VRgq37DNHaxMgTnBuph6L5V1HPRkptAq8ksZwGPsvwidL2Xvf6TPy/M9KpkfUx0ZsC iSVwUvnf9FMnQU44mimALZbKUh/FkA6Jsdla2+Q6qxYjhqSsWceFrngsZzqVr6UieB1R GxJOORpgtrvXvXhpPNn89+bku4KgEnmGzzBqERZLxnRTMEut3yw6nmxCzXvuFU1dvm+R Bh+OVpfnwT09V5A72HMZ1lTeh2fXxlelsKk9YzP+yZ8qiYcHpOhZvr4Bgd3N/EA9zikm Q2E71GNrAlIaD4WhIBvhbSB19T9dVLcwbOjIucMNtjJmOnPB9IqubxVhMD5m3gNiAOlM s75Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687316450; x=1689908450; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yk+CCzKPoEK1DNGd+x8aPT6YCsf+viHVDJzfkXgbxwM=; b=CofBt2hm425r1r3Y4T7INGtdtXnIvfp+2BKSZ9SqRLp991W7CEOK9GzurCoRaEUV/5 38B3aXH+495Ceqmi8h1a6C1BpsXr6ndTPnq71OHYps+i7kYNBKB9cWnJrBP7PO+u7e1U NACcsoadmk9UQsjnv3LdahcadRSHOWZDbZ7y/qLaO9FZdZBWuKNERTTbbbRt6y681I4l NFPixB3wpQ9CA/Kw36L0oZJzzlLFIDrmpbdYp42B1UJDB6FiWb7fhh6/3W4A61J7fYea oIBHXxRLNOZRVfYw2UN/3RGCSrHOK49kAH4DW9tbvZ1QF8cSqvihl9rPmwte1mKqEET4 0DRg== X-Gm-Message-State: AC+VfDyeaHNfU2wr0wGbIlO+TU+9PMDeApbDaDJQgukLp+qeOaXsAsvn IRmORK/u/Kff4tZGwtI1XpukeoKnVoPfeQ== X-Received: by 2002:a5e:8909:0:b0:777:b6cd:5a93 with SMTP id k9-20020a5e8909000000b00777b6cd5a93mr12837261ioj.2.1687316450166; Tue, 20 Jun 2023 20:00:50 -0700 (PDT) Received: from azeems-kspp.c.googlers.com.com (54.70.188.35.bc.googleusercontent.com. [35.188.70.54]) by smtp.gmail.com with ESMTPSA id x6-20020a029706000000b0042682dd951dsm1035008jai.87.2023.06.20.20.00.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 20:00:49 -0700 (PDT) From: Azeem Shaikh To: "James E.J. Bottomley" , "Martin K. Petersen" , Bodo Stroesser Cc: linux-hardening@vger.kernel.org, Azeem Shaikh , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] scsi: Replace strlcpy with strscpy Date: Wed, 21 Jun 2023 03:00:31 +0000 Message-ID: <20230621030033.3800351-1-azeemshaikh38@gmail.com> X-Mailer: git-send-email 2.41.0.162.gfafddb0af9-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series replaces strlcpy in the scsi subsystem wherever trivial replacement is possible, i.e return value from strlcpy is unused. The patches themselves are independent of each other and are included as a series for ease of review. Azeem Shaikh (2): scsi: Replace strlcpy with strscpy scsi: target: tcmu: Replace strlcpy with strscpy drivers/scsi/ncr53c8xx.c | 2 +- drivers/target/target_core_user.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.41.0.162.gfafddb0af9-goog