Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp8041744rwn; Wed, 14 Sep 2022 08:08:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR4OAsFSYuPGM3FDcObvmtf0xPD9V4DlJB6DiIfUhJB5VtdHEcZxMsC5VoLCT+1T08Q1DpsT X-Received: by 2002:a17:907:60ca:b0:77c:d4ac:e8f5 with SMTP id hv10-20020a17090760ca00b0077cd4ace8f5mr11596534ejc.15.1663168114628; Wed, 14 Sep 2022 08:08:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1663168114; cv=pass; d=google.com; s=arc-20160816; b=Ug3e2cWwGVILPEomL+b+w/d4NSbU7S7Iu9pUpwUL7Ohoufq5Fg3tkZJgSKFkJFp9KJ 2m2SjLGazt6X5SVy4jyrabkNgnf/XikFtGcmJP5CVzYfVtt6WsqTI0HNjt1Qua/A6rGh Hvq8Sl+WvnqmThAKsSx2pfDrCakIORDl8y5xhkRYErBmr0pLcHxDYpY7vf8l5rkhwdga 2PypgARfjXdBMj3Nj1F1JMpQ3T1Vbjl6m5tVN7QS8Ks2eQJKdc/jOBWhZQisvOuL57M9 J0qFWi6vZbBBPfEIiCn53NuCdT3lmm1ksx9hL99Xey78yIIP7y+OaHSPUjmBGjP5CPeO zLFg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=EjZP+/dbXctNC1WGBhbTa/cB0cxfHRSxA4TfGqIXrhM=; b=Lt4ZifoOBYoC7G7ga18BT1dAlNpMg2jomoNK/1ogpo6R4KkYyzYuCZWJ8RJ6vfuOGs 3eJYWIFZZS4msUjOpkUupvj38UEdQ/uZmOp2hahqVuU8QQIucwkJacpWyvZCGF6D5bhA xdnJ+HzVSKyvQNp/vdgrpJodx32cfAT4yZaaSgWWhuqvJsXHa2Q9H2xp2qWZtuWNigwH TUnKMCSHuaVAShTPcR09JzohzKL9zE7JR8oLy9Wa84uBoG2IluWwPn7hvEq0f+9l5tOk oyGPgjIKhMix838xxkYiLSBmxPVFHUqlqVKIQjl0SYfN3rNSOO51ZzcaQimDfZHeU81T dXzA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b=s4mSJxib; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=z0OxZe1M; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); 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=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xj13-20020a170906db0d00b0077b6ecac099si10858058ejb.287.2022.09.14.08.08.08; Wed, 14 Sep 2022 08:08:34 -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=@oracle.com header.s=corp-2022-7-12 header.b=s4mSJxib; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=z0OxZe1M; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); 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=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229919AbiINOsD (ORCPT + 99 others); Wed, 14 Sep 2022 10:48:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229909AbiINOr7 (ORCPT ); Wed, 14 Sep 2022 10:47:59 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 043B16B64A for ; Wed, 14 Sep 2022 07:47:57 -0700 (PDT) Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28EDYV6l008391; Wed, 14 Sep 2022 14:47:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=corp-2022-7-12; bh=EjZP+/dbXctNC1WGBhbTa/cB0cxfHRSxA4TfGqIXrhM=; b=s4mSJxibB/lGPsL9uinqsBIPtefTQgCSKlM7Nkci/qRjDcdL/Mv6Kk0IaN7GmDonglv6 DltJo+9rHEVs/I5gUpBzFYn3B8dewGWbiBRsNNJOdKMbfh8cNG9gFB+sCUDpZ+UHKqi+ YP1DIuM54Vr7A0Llxmt5bk/8WosJqm9h8tRK96Fms6RELPddwmacnClDLTVrDzhStsjy 6QbiZiD+kOlmROE6JPybetw4O7wgWSvUpWEg4Sb0HGxb33TvPwBqIU812fj8Gyl553ES UC8fua4CtU++txiajiHMi8Xb5SxEeDdvSNMgCcyyNYMcADZDpzTdJzoLWJOQktF/oYW+ rA== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3jjxycaj4f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 14 Sep 2022 14:47:52 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 28EDZcaH006552; Wed, 14 Sep 2022 14:47:52 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2100.outbound.protection.outlook.com [104.47.58.100]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3jjy2b1qb0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 14 Sep 2022 14:47:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iFGEuHKSezySOd+5/8J8H3RYUq78zPTJfI6bFNtNQfl2LlxYe0nJZ2+yRKz24Vy0JvL5CMyvx4h76OIX0q0m2MOGSpOrZeuz0L4zQbab8npRX+7tx5i10sUL9n3Ia566t6Zu7rTOW3zY1nxA/9bjhip32GerrnPWvkfwf2Tv1u+NJAJs/d9HMLrjzvCHZQNVufhuvIdkcbT82BrS1Bpn4yHqCAoGBFyB00yUwgwhpC0yb5avMfiAj0eQUTsqn2HIkV3wm3ua/x/6diPkbeMfykCVD1xN92nTj45cDv+mbOYgOq1ntAr9U1wws7PVRytFhRktWn6IcyVXOm1fxbS2mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=EjZP+/dbXctNC1WGBhbTa/cB0cxfHRSxA4TfGqIXrhM=; b=hdb4/wdabwCGUB+4ow0/kE6cWx2bhMNJJTgzld6KwmL4/EOokrlDs/l5U9BGn4ZhB/6/PMCUQ04wmrzWJlBLwRbaMjN/VLlSCxRlQTpILNZ0L+L/XhWCQRYt8I+YWc2JgGRgB+mmw2AeLx8z22ujqyXKUV5kdoVSSKknmwpZHZ/5ooyJfxtIbxp+Q0YdnikM6ena+dRvGqzBzNtmNp2QylVlKEs1no0SfhlegEqYRoatX7Bmh/IRYWYX4I5BCNkAEiWzDxisLq7pEOIPuXyHrWs6T/jDHTFt4Eks08qA+/L/MuEJrgUXfIPYG6jWzhjKQRJNpObhmdbNFh/4KT0YDg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EjZP+/dbXctNC1WGBhbTa/cB0cxfHRSxA4TfGqIXrhM=; b=z0OxZe1Mt2sZtWVoPxTAaNqZZgzfw8ucsPKg13OsG4t6sxP3W/XUzOgkhrEIJaRTabRvfnHWWvhxZyBWx9/L5xdihiEv9raW9u1AtFoULwdTsdOv42OAFIB0w2+PLpHbZBw2GJ9UUfsdVkhWWIWafRGeuixZBzUL8ybuSeCySB4= Received: from MWHPR1001MB2365.namprd10.prod.outlook.com (2603:10b6:301:2d::28) by CY8PR10MB6729.namprd10.prod.outlook.com (2603:10b6:930:94::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.14; Wed, 14 Sep 2022 14:47:49 +0000 Received: from MWHPR1001MB2365.namprd10.prod.outlook.com ([fe80::a493:38d9:86ee:73d6]) by MWHPR1001MB2365.namprd10.prod.outlook.com ([fe80::a493:38d9:86ee:73d6%6]) with mapi id 15.20.5612.022; Wed, 14 Sep 2022 14:47:49 +0000 Date: Wed, 14 Sep 2022 17:47:34 +0300 From: Dan Carpenter To: Philipp Hortmann Cc: Forest Bond , Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 04/12] staging: vt6655: Cleanup and rename function MACbSafeSoftwareReset Message-ID: References: <540a684266610f7618b3ef6000d4699d065c8e6f.1662890990.git.philipp.g.hortmann@gmail.com> <9abac5a2-e070-501d-ceba-f227a081bd4b@gmail.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9abac5a2-e070-501d-ceba-f227a081bd4b@gmail.com> X-ClientProxiedBy: MR2P264CA0120.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:33::36) To MWHPR1001MB2365.namprd10.prod.outlook.com (2603:10b6:301:2d::28) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2365:EE_|CY8PR10MB6729:EE_ X-MS-Office365-Filtering-Correlation-Id: d200f108-2c2d-40f0-b9ef-08da96601852 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: u5+VwAHxnE4SQ0XtpWaZ06af5JKpYrJGvu4zq/JhvvMOKK/j+IVdsR+mtPC+d68rGqy0GRhWA0G3Fnwh0GSGsywOAQXuGyXF3nuzNQ14dRLq7GEOSE1fPShEUT1d8/h0NOXdeCxh+ZhkAB4qcCfVeddKFzbbOp7o9lYk49U0uKqP25Jb8P383SI80RC2KDXx6Gs/Yq8iJ5tFXprJabldDR2eUJirb4Pvh3OrCKM2mCNV0v4oPMz5TG7dYerayC5XEWCTAcXn6bmWquJHXqmVTpRBhzYcPZEh4K0JY1Qpj7zdbeQflKa55be5rRldXnaIfDdwSHgxNd7P8adsOIP4zZM16H3YzDUq5g+Ohr3ZO61i+SVCmkijXE/mVX8Cu9a/C+0myOV2Z2GuLB4XXjpgvzu/6IckJGH4Buspooeg4rP+PE5NIGV1uubQWcYyFIDrKT4Gf4W1OUjLIVLmme0/HEj2CXJRn/bHMwGkPmAle5Qid1HaKrJ+czP9Yc9c+8OxtL+/1WJKDrixNytuPh4dGXERdrT6vAh5+cZRbz0fBHY8lIb5TU7uNLgU/r3/78opH9whi0ILKIL2JO2/4DDonfikWT+KFFQD6yBfKLLPodFWEURG8ZiSGp/z75taah5180wGrD5877x3tbYHjA4omfdpP9zI2LvuxiA2ylgXWq6vRI/tfM1m6dENniTVfU/dQC9MTL+eMXdF9nPJpeRWFwlWeuUCHFuCYZV/EOw+tyUHauT94hhAg56WKhhJhrlL X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR1001MB2365.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(6029001)(7916004)(39860400002)(136003)(396003)(376002)(366004)(346002)(451199015)(4326008)(5660300002)(6916009)(66946007)(33716001)(6666004)(66556008)(38100700002)(8936002)(6486002)(8676002)(186003)(4744005)(9686003)(44832011)(41300700001)(66476007)(86362001)(26005)(316002)(478600001)(2906002)(54906003)(53546011)(6506007)(6512007)(145603002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?AcFraK0AtlaHtRx8QtM1fUNJCQkQmO3BEzg5uhN+fr0jlYCdT4vXj8DpqNXw?= =?us-ascii?Q?FYPElrOQmNimRX/PnHs31HngBQgkSms3W5J2NxagrGV+EwHGpGAVPuSr0jCo?= =?us-ascii?Q?t8dg6GBGztCxdYu/v8RxPMGgt0SU9knQvT1i0r/iWmY1YJYklKXRRRmlFp4s?= =?us-ascii?Q?VbiLWwmCjLWpoqMhlyMDVQFpOsbvOOgihdcL9CCm1pRpykAqtgaEJCfnlP4i?= =?us-ascii?Q?v5eaKx2GKnEwGV4S3zzONeNjAU/auWP7NZSBJqXlFGtCiWsaWxkiFuSBOpjy?= =?us-ascii?Q?9lD7ngWYZr8C2Lc9Vvaj66FYKluQKMUC5N7/9LKswATX/he+Bm+IZmlPjFuP?=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WPDCMhXAW2guCWrRX0jSlsuAnNccOE?= =?us-ascii?Q?l+3B4wpCi+Kog6ZlNybF7VAPTdOov1ieQxO67L1HMnjAHraRGJllfc6cDoga?= =?us-ascii?Q?4UWp7XXCbKHJBy9T1Kl031lGunOWD09TV8uPezpTWdya5dM0vv+WYLpenfvd?= =?us-ascii?Q?8SAK5erg94CakqubSlVcuNVmVQqHSG7NKPCV3gws0XZO3FPJTJHLr0OedCiv?= =?us-ascii?Q?Cqzn698E8dcATn45opZJeYEVYRye8qhF9jY9aFfeXEU7cH1kREWSENd5cFMK?= =?us-ascii?Q?oGB7NZnlokwWqqOgrBvGbHgelqp7m7FUbZTcpziZhcC3dbDleTvnbWioX1kb?= =?us-ascii?Q?JbEdtBNyWEgda3iTn6Kbs4XIbUEn0WyQUznSX11l?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: d200f108-2c2d-40f0-b9ef-08da96601852 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2365.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2022 14:47:49.7479 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: lAKOYBNPDwju3ghxMuSBzWbsNFE6GdUY/NgQx4tuGaJApPPmTY1d0lFqsXcg2jj144EPdeKBcgnmXrayv5DgYirXoVS9tn3i2VtS5x8wYcQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB6729 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-14_06,2022-09-14_04,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 malwarescore=0 spamscore=0 bulkscore=0 mlxscore=0 mlxlogscore=528 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2208220000 definitions=main-2209140071 X-Proofpoint-ORIG-GUID: StC_EnpmtRHnsSOrIxWqNPpyZLftz9d3 X-Proofpoint-GUID: StC_EnpmtRHnsSOrIxWqNPpyZLftz9d3 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,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 On Tue, Sep 13, 2022 at 08:26:04PM +0200, Philipp Hortmann wrote: > On 9/13/22 12:12, Dan Carpenter wrote: > > On Sun, Sep 11, 2022 at 12:46:04PM +0200, Philipp Hortmann wrote: > > > Rename function MACbSafeSoftwareReset to vt6655_mac_save_soft_reset and > > > abyTmpRegData to tmp_reg_data to avoid CamelCase which is not accepted by > > > checkpatch.pl. Remove return value bRetVal as it is unused by the calling > > > functions. > > Please don't mix this kind of stuff into a patch like this. > > > > In the past Greg let me know that I used to many patches for a change in the > same lines of code and that it would be easier for him to review when less > patches do the same. > It's some kind of an art to write patches that are easy to review... regards, dan carpenter