Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1956920pxm; Thu, 24 Feb 2022 12:56:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJyfay6F1jrS4x1aJS7ZzQYvy6GroBJcnqkd4rpgiOY30CXQqx2jNVua5TSKGlvZR5UppU/Z X-Received: by 2002:a17:902:ecc3:b0:150:a12:bc60 with SMTP id a3-20020a170902ecc300b001500a12bc60mr4542746plh.154.1645736179587; Thu, 24 Feb 2022 12:56:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1645736179; cv=pass; d=google.com; s=arc-20160816; b=N576OM09XpJ8wlMbwzo/k+K8Lijz2p8rHHwssdWf0KpVJOuI3E1U6Po4LYVTgoRQZB s/LFnL3EyWPZfESbesPGt5UycanMxYfPssPAo1eHE9CnX24yo8NXQqxgmId7hCfY4Vqv dQvKgzmCOM3kB+OzqZKkUMajdudA1tNuVAHz7pix2PgFpKFhqhOofcbl9dqC2PDePlrR ga0syDTk/gaFR/KXOKNkOe4cicuLqnYSEmyBexPrlcq2qG99s5D5e5uf4RgtZNpJzyEL 4vR0u5b41ZsVhMaDDn8rbjDuNMFBXcZJFPsart2wBNymnvSe5n1wXIpXxZQ2xvY4qSzU naVQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=WKNYjXRmKqtiCh4kegfkCxYI1NKJ7n8ZCDGIG5LCchI=; b=TPoWYsdj6M7ZdnH2F/RQn4VbyOpOZTkw7QqnaQOBzl3OTBeV8CiGjCkm1pUkQWubZn WRUUrpiqGZ+p2M1C8EJabDI7jYOpDXsL6X7MUINyQ28h33feZYcabTQ1+j+W0UAsCgGv DNu7T/5/5HzJ9otwH0MK6G7RfZAZnhqcaFhlw5ZpLsSbRynH+01ZasdRgbSt6WCLYkZV 1b5cWskaksHOn44Oae1WGgwgjXZT613+HKr5AqLGrNLjtLZiTm1mKm8Hmo+v6VEAXE7z C38+8BQI/GWpmOLJFs6AwHLySAzHNdWDuUvrWf9CUMySU8LLDwcZHivCeuTeaXcHNV/9 vimQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=p5lLmM2x; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s13-20020a056a00194d00b004f3b3487110si234303pfk.142.2022.02.24.12.56.03; Thu, 24 Feb 2022 12:56:19 -0800 (PST) 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=@amd.com header.s=selector1 header.b=p5lLmM2x; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234000AbiBXTok (ORCPT + 99 others); Thu, 24 Feb 2022 14:44:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233992AbiBXTog (ORCPT ); Thu, 24 Feb 2022 14:44:36 -0500 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2057.outbound.protection.outlook.com [40.107.93.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5BB81C6EF7 for ; Thu, 24 Feb 2022 11:44:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UaWBJZ+Ao39MyuN88VDsrpuB0DKlutnH2r+NefU2/SkXNbXamZCoM6X9hN7OFmOpufgXFiSXqWDVCJm6NhvX9ACEdwOHnBZGymitKCWsiIPZ42XeADURg5MiOHqmMH84LLwKJIhFDQd0Zw6PxCED9786VqjMD9cGX8g2GquAF2BBSAW9eLNfyDkgnjZBbmiZ3VhEJwjQqHjS8PyneWvp8j5I1rTy8EM22DBqwlaJFXgW8cf+ihu86vzdjtXQzpo3OFOobqCWRtxYza437pe1g5p4n1xKgoXCW9c5bJXW6Mgwzmf2Q5SbhqZTmuludvmhYFqCLWhKNT5K55x9llonYw== 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=WKNYjXRmKqtiCh4kegfkCxYI1NKJ7n8ZCDGIG5LCchI=; b=YRrT+IyVGccEsbVHgoSHFalQKzoL322B69krMgeYVJGCjnYjm1QZnPtNpp5IQvmjr/ko/CC5JXDmLh7bsQCF/6QJuar+8odazBt8PVdHONu9Q6YuxIgSmIguIdMPr/j0rdT+fDkEL4ZDz2CRrKdlW50JFRW3ksbE5RhQmryUyHn9FAGNogu46DHrKwf11kvPxNyUNRqrpAaPO8dN4H80LxfLCOCF9z2soX90hWEXec7vVCdCXCqdqfobgDvrWc3SlqXY6LYoDxkhl0Ut215Mp2AW46cWkKCEw7A1dMkCqTK7i+2YdUMpN1KAapXHJs52268pxtRL3SiDw5vbpyKwxQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WKNYjXRmKqtiCh4kegfkCxYI1NKJ7n8ZCDGIG5LCchI=; b=p5lLmM2xhbTH2SdPGm8izczZgfv2RlJhGBIw0NA/jCrVhC73eLeORiyjGwU+6laqpXl+Zsm3XOBxMb70fWPYqjHYq+GfN7AIRyUqoQX9Z87aN65aXsXK4J92VyfWJzcU1krvmEMNWEZRZ52knfjfxwsRJIKMV0b+CC8X+QPj4fY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CO6PR12MB5427.namprd12.prod.outlook.com (2603:10b6:5:358::13) by MN2PR12MB3069.namprd12.prod.outlook.com (2603:10b6:208:c4::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.24; Thu, 24 Feb 2022 19:44:03 +0000 Received: from CO6PR12MB5427.namprd12.prod.outlook.com ([fe80::192:5346:4ece:7ca3]) by CO6PR12MB5427.namprd12.prod.outlook.com ([fe80::192:5346:4ece:7ca3%6]) with mapi id 15.20.5017.022; Thu, 24 Feb 2022 19:44:02 +0000 Message-ID: Date: Thu, 24 Feb 2022 14:43:58 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH 0/4] Address a few compilation warnings Content-Language: en-US To: Magali Lemes , airlied@linux.ie, alexander.deucher@amd.com, christian.koenig@amd.com, daniel@ffwll.ch, Rodrigo.Siqueira@amd.com, sunpeng.li@amd.com, Xinhui.Pan@amd.com Cc: siqueirajordao@riseup.net, mwen@igalia.com, maira.canal@usp.br, isabbasso@riseup.net, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20220224191551.69103-1-magalilemes00@gmail.com> From: Harry Wentland In-Reply-To: <20220224191551.69103-1-magalilemes00@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: YT3PR01CA0110.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:85::22) To CO6PR12MB5427.namprd12.prod.outlook.com (2603:10b6:5:358::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 23a35f37-9b26-40ae-7f82-08d9f7ce0238 X-MS-TrafficTypeDiagnostic: MN2PR12MB3069:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mSVQ7cCL5VccmzI62kZmoWs35mOyelUdrV8Lj7gRpJVc+6SDCNzw7s/cxW6uHkrjFYaLDVr1zUP5FkUZ9UKXeGZjak83qhdi9miA8h8y1h88l+bbddRqKa1ap9NiyYwTWh+JedzUEbqw81EZbz6EMNYLHbCbuHb+qOrm8nWJ0ExuIzaL1leeh98Bu2iXjWF+nNg3+67KW9Vj+CEwweD4QcnmAcCOVyQJkWx8Z9p5P5Vfs+lIkrW9b8Y2GdL20tksvze1/XtQEljoRBvORFYpb0WTwymsbQqqLk2jpwFi5GYwlmQzQHXLx22sOqfUCeJH8xk3MTO91R22xHTtusvm2ySzi10dsP2S8kZ72QMAWQY+VTjaMEeW3yds9LT5/BBtazvWZDUEXF4LeaDVe5rjq4jSEV+dt6teATEEpNoXCsIprUe8FXjMJiGsV71OP5FYVX6Ahs6q2j9Ab0oireIGMAGV2x4ekWdhpsLqZbMgVK0mF+PgtK6IaS2oITUbAYN4N3SZ71z50Q1CDiamS9vvdcnjmP6MK39WIb8ogBuW+qImcsS8wU1jWVRqA9AhuMM4xccPdE+9NXGhFN/shNgZ3fAKbXTgnECq/r+QablQY847wkDJ0a/4RIYSTA3zofA7/N21Zi7V73NAHUY6g13mmz0mnOpaGpWFOUN1wvhljmsAFD/EE2ovK+dbJ73x8QbKSBl9cf/Jpu5y+N7ot36dtDUQxb0HY51rhYyIB8JIzH7CkoX9UbnnB3Unp9grvdqr X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO6PR12MB5427.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(53546011)(31696002)(6636002)(38100700002)(8936002)(186003)(6486002)(26005)(4326008)(8676002)(4744005)(44832011)(6512007)(66946007)(66556008)(66476007)(508600001)(316002)(5660300002)(2906002)(7416002)(2616005)(83380400001)(36756003)(86362001)(31686004)(6666004)(6506007)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Y3BXcWtuZUFxV25MYWMydzNrMFJSSXgyK2JuN3Y0NzNxZ1YxOGlrYm1IdFhP?= =?utf-8?B?SkFuclNhMVFqWWhWSXZaS0Y3eVV0amRCUEFWOGlDbDRic0dIQjdTTG9mYzly?= =?utf-8?B?aHJWQ29NVHo0cTdDMXlHZlhyTGd1TURyaHRDZ2s4ZmxBSzMzOHBGNmdNS2pv?= =?utf-8?B?N1VJQVF3TzZsY2hwcitjV25DdUdhb1p1Nmk2Slp6Mm5vTFZTRWhNcTNiUmlo?= =?utf-8?B?LzFXYnQxZGNkTjFFRmpvR0tQai9GY1dZTDJ0akRNSGQzUkxucEtRODB6UTJ4?= =?utf-8?B?Q0htemdxL1BMVnhTSjFETVZRbk5zakpxL0VBN3VYdHl4Snp6NU1mWFZSNnpI?= =?utf-8?B?QnFPd2FUeXJLQTAvNTUwWklTY1c0cXVhY3plYVpBc1J0Y1crSjZFSzdWclpT?= =?utf-8?B?YUNqRFVQcDRFUGgySHV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S-Exchange-CrossTenant-Network-Message-Id: 23a35f37-9b26-40ae-7f82-08d9f7ce0238 X-MS-Exchange-CrossTenant-AuthSource: CO6PR12MB5427.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2022 19:44:02.5184 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 94rsWOjVfH9PmtOF3BCUa3vvEmB5pMJ0dbvpg+dLO1Zaj1mP7AHWPp+Ythi2MMbVB+q2i74MmHTWiKhjjBrHdA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3069 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 Series is Reviewed-by: Harry Wentland Harry On 2022-02-24 14:15, Magali Lemes wrote: > This patchset addresses a few warnings reported by the Kernel Test Robot and > sparse. > > Magali Lemes (4): > drm/amd/display: Adjust functions documentation > drm/amd/display: Add conditional around function > drm/amd/display: Use NULL instead of 0 > drm/amd/display: Turn functions into static > > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 4 +++- > .../gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c | 2 +- > drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_smu.c | 4 ++-- > drivers/gpu/drm/amd/display/dc/core/dc.c | 6 +++--- > drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 2 +- > drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 4 ++-- > drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c | 4 +--- > .../gpu/drm/amd/display/dc/irq/dcn315/irq_service_dcn315.c | 2 +- > 8 files changed, 14 insertions(+), 14 deletions(-) >