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 254EAC61DA4 for ; Sat, 11 Feb 2023 06:25:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229566AbjBKGZv (ORCPT ); Sat, 11 Feb 2023 01:25:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229563AbjBKGZr (ORCPT ); Sat, 11 Feb 2023 01:25:47 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1B2473582; Fri, 10 Feb 2023 22:25:42 -0800 (PST) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31B6NCi1019906; Sat, 11 Feb 2023 06:25:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=Y0jE660Am99SVgRB8t9rWtNSlDh4pgj0ryPn4R8VU/g=; b=PWMx5nb9SSOJ87aAQ1Pg7RFNfHYDZiUsiA4T0T73rFvI3XeXjWkn6p+B0C7/Doepcd/E /k93bRz2IYaUBlrTfClQYtCYAuL/7B6y1aZvCO7gob8HvdSOGR9po8ONK9DuaIjNwxOe DI6kwH5NmeiaLSalPzgp4451pv3Tycf/Xi2xOgd+y1MFu+PR+WaWPHb3lTJeWccYCBSe vhkjivNMGfEZeHPepkNJEw2KYjlnS1haDV0zbtADWglTfTdl8J4jKtxTpBYZsefxzKKn em8qHCowoSU8iG4Q3dzjZGJQYVPIASQx8KTJ/nzkBJPp6BX6A1tVairZUnr/fENQZVkG Kg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3np2bt8anf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 11 Feb 2023 06:25:34 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 31B6PXSI032423 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 11 Feb 2023 06:25:33 GMT Received: from [10.216.25.124] (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Fri, 10 Feb 2023 22:25:29 -0800 Message-ID: <7fd475ad-bcf3-e5d8-a846-944ece2d1277@quicinc.com> Date: Sat, 11 Feb 2023 11:55:25 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH] usb: gadget: u_serial: Add null pointer check in gserial_resume Content-Language: en-US To: Alan Stern CC: Greg Kroah-Hartman , Christophe JAILLET , Xiu Jianfeng , Pratham Pratap , Jack Pham , , References: <5ad875be-079c-7f91-ede9-68f954cc7f34@quicinc.com> <71f624df-5302-8276-2a2a-96223d4ba3c7@quicinc.com> <53d48954-3f7e-fd02-5e8e-2912c16565b3@quicinc.com> From: Prashanth K In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: FNsZLuV3IAcV0XD6GuP8HxNw85-xglld X-Proofpoint-ORIG-GUID: FNsZLuV3IAcV0XD6GuP8HxNw85-xglld X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-11_02,2023-02-09_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 bulkscore=0 spamscore=0 mlxlogscore=317 adultscore=0 phishscore=0 malwarescore=0 impostorscore=0 clxscore=1015 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302110057 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10-02-23 09:17 pm, Alan Stern wrote: > > I agree, that should work fine. > > Alan Stern Thanks Alan for the help! will create v2 patch.