Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3569394pxb; Mon, 16 Nov 2020 19:36:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzOI3KiStetfBlLcFsdVm5bfsu89LZli2L7R/I0VRqy9tnKNJ3S6bRqCbhxzzP0D4nx32s8 X-Received: by 2002:a17:906:15cc:: with SMTP id l12mr16684446ejd.363.1605584176669; Mon, 16 Nov 2020 19:36:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605584176; cv=none; d=google.com; s=arc-20160816; b=mtYNj2s5Uz+qg+kNfLTriitmQSA/MHCnGlgBDValRXgB47BUAsrP/5PZPohPUTBUog HG4r+mQSbY+lzixvQp/+f9MUU5TT9Klwk8etjETcHNrsmzDj086+rYPP95EFmweRa6Xs SimsUvjJ/4QSdFuznaDpvyDGcco2wrmtkD1EN6Zps9drA/1EeQo92zH6xR8DpP6vFye3 srwKZC7urm8vt1J9lAQ9bb8PRCOKew+YWc/ldrq7pEV7svNi15Csma7B01Le01Yc55Rm mau84GhQJy1LlYmX39r6nKlyEUvgzLlR10oQR3rtsrvE3khiipSJQr1R2k6WVKlFrFiJ kaTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:date:references :message-id:organization:from:subject:cc:to:dkim-signature; bh=H82J0ueyDaWBzhvDdYKhMwH3WryqxDEz4KhE3KN/5mw=; b=pKy1Nge0RzSZcr3BKomIJZY8aWgaZPGryqxUEDds6pw3Bl/xIl2/9vimsgrmPGOF1r lnFuAuOhGRlCLAKOCSwNkrg+cI+Y3VLdJtmE9HheE53MfoxauhsrWyGvJ5FmM0vqtaJa UrDmgbA8wEutSdefmw6Y28wpeJVaPzXEFt2b54X1O2YqUml45UVpkeX8hOUBnZnYVRx3 G8YXsY4X/G5kqdqJykDD6HX8GwCRqIDG6aNvd2Zq0JhW+dBNUcOo1r0DVQ3oYF7u6jDL hg8dzrtK5vCpnQnzTaGVSBzweaDHKojiOUCodPawxCrq/QDVyeCGUo3HUDCFcsw4/3gc qNpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=rHI+0fKL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m25si13083306edp.176.2020.11.16.19.35.54; Mon, 16 Nov 2020 19:36:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=rHI+0fKL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726342AbgKQDeU (ORCPT + 99 others); Mon, 16 Nov 2020 22:34:20 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:48674 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbgKQDeU (ORCPT ); Mon, 16 Nov 2020 22:34:20 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0AH3OCiV069379; Tue, 17 Nov 2020 03:34:13 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : message-id : references : date : in-reply-to : mime-version : content-type; s=corp-2020-01-29; bh=H82J0ueyDaWBzhvDdYKhMwH3WryqxDEz4KhE3KN/5mw=; b=rHI+0fKLGfatv6Ba153OAbpu1pxCT736YSVRuG2I+bb1OQzMS6G2TslH011RS6Qi1KxG 9PemXUjeHtlb8B8A7sNQI/KlDDYXnXZjD9mP+vMemLWE/a9rVIMZsucx3xk6WzVI97F/ mZoIYXNBfEKRHtBEargWk5GU4bOkRHEfF8WxeQ/E90gYypS17j9AU5kKmEEg4IAUP6wx BrbeLj4+kFEqm3S4V0LX9W5Blsv1ahyhQgSIsiSfvPQgQH3jpdENQmYLDxB1MNOweY0o /wjUIJ/OA8MZEXY16bavcGJmt+PfCCgXn52gwudCBuN5xHddS4f3N30OIXxH6QMFfVdD Vw== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2130.oracle.com with ESMTP id 34t4rarghq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 17 Nov 2020 03:34:13 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0AH3PQEw087421; Tue, 17 Nov 2020 03:34:12 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 34ts0qahvm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 17 Nov 2020 03:34:12 +0000 Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 0AH3YBS8014723; Tue, 17 Nov 2020 03:34:11 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 16 Nov 2020 19:34:10 -0800 To: Nick Desaulniers Cc: "James E . J . Bottomley" , "Martin K . Petersen" , Nathan Chancellor , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com Subject: Re: [PATCH] scsi: core: fix -Wformat From: "Martin K. Petersen" Organization: Oracle Corporation Message-ID: References: <20201107081132.2629071-1-ndesaulniers@google.com> Date: Mon, 16 Nov 2020 22:34:08 -0500 In-Reply-To: <20201107081132.2629071-1-ndesaulniers@google.com> (Nick Desaulniers's message of "Sat, 7 Nov 2020 00:11:32 -0800") MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9807 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 adultscore=0 bulkscore=0 suspectscore=1 spamscore=0 malwarescore=0 phishscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011170026 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9807 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 clxscore=1015 malwarescore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 mlxlogscore=999 adultscore=0 phishscore=0 suspectscore=1 spamscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011170026 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nick, > Clang is more aggressive about -Wformat warnings when the format flag > specifies a type smaller than the parameter. Turns out, struct > Scsi_Host's member can_queue is actually an int. Fixes: Applied to 5.11/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering