Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2892361rdb; Mon, 4 Dec 2023 10:13:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJl+dCG+GzILb7LdbgwdPOhcszBVtc8ETqe/URi3GyHng/p2lFMxpbiM0DrS15AzOoUidx X-Received: by 2002:a05:6a20:3d81:b0:18b:c927:d33a with SMTP id s1-20020a056a203d8100b0018bc927d33amr2248188pzi.46.1701713631300; Mon, 04 Dec 2023 10:13:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701713631; cv=none; d=google.com; s=arc-20160816; b=JfV3iWwhntjfOcLmcdPdxHSDrKdchRTqCzG0KmecEZbWFaplN+05BKT0n6hwax9CwY 1Es8tIwvVNA0geuumgFmDMaT7hgH+ZZAShq4l+tOfG8eXz5WoMafxZssG1YSSn+nAijl p0S7S04HVFn5fyo5K17qvmvTgdWMpAlmI72laWSPUPYL6VcJiY0tkCy972sxwQxXFeLO qLuPhlHmhaxjaLxK2QJc7LYzWfigT7foDg41ztC+x9leji1LVq1gO60ZR7Tr57hjm7qa TpOB6vPj40vD9W2KIkLNFvZvyPfdo8lPGkMKxMT3SnpcFcyVZ0tRd+ILGSe+0xz1bUqd 2fFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=cv5W8UxLCR/5ceJa4BXZdc/7xUY5p3Shixmo6OvaNl8=; fh=ip/ReUgbAdiCih6pv53ThEVT4fVgWS0/mHlkk4qe+G4=; b=nFzZRHiKfiWqXembUykO4LbEcni14rNhG2vCnsdg2al06trMovMh3SvS6tliVi3bZs glqP1eqhOPUQRi981TXDYXOyrPDpMdTQf/W8RtjS+3z+1tx39L7Ys2CJesPBFfCzNCoQ /AQZr2B5HUe7rUMKonZhjBW7DHHiy3fEzuOzAswpeOEsrYIBdCtSu+vPGIulex4IN0sN Q3OVPG7LIP7Ww2tn39fRI/rNaempQvnfI9zMOWOz7Zeu02lvaB9DDYIoLDZxvADtzr4C YcigdWvQclilZf/IUZvQBsDRoHOLIVX3s8TYQooClUG/vUAVZFk7SAxxaVqLhkcLKVOj 2VPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="dv/oxZfY"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id bh3-20020a056a02020300b005bd42f6085fsi8451165pgb.344.2023.12.04.10.13.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 10:13:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="dv/oxZfY"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 069E580A6BD3; Mon, 4 Dec 2023 10:13:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231403AbjLDSNd (ORCPT + 99 others); Mon, 4 Dec 2023 13:13:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbjLDSNd (ORCPT ); Mon, 4 Dec 2023 13:13:33 -0500 Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2DC5FF; Mon, 4 Dec 2023 10:13:39 -0800 (PST) Received: by mail-qk1-x732.google.com with SMTP id af79cd13be357-77f0ecdaa50so64240885a.3; Mon, 04 Dec 2023 10:13:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701713619; x=1702318419; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=cv5W8UxLCR/5ceJa4BXZdc/7xUY5p3Shixmo6OvaNl8=; b=dv/oxZfYlx4nuvpHT/5eW4EEnM39xupw+h9W+mKjMbeuYujEKDcibzt876zmAUkpwR ++saqFFDQbJSe0dVBzhI7ApLPqdKnYjHNF80IroFFSToRiYsXgCvbOH+1B9QIbn+t4kE 3sCKul2QSF3A5pjoPHVKXhFjAWhGwaj9UBJbaO+V9bGriC30sHXh4PkpjvInuUP4VdrZ u1lzVt1KHNP+wXFXlamHT6dPPn56ENNfgbxdcH7eEvUxa4QM4BJTryXKvuY2KOwGQ4ob PWdelQgld1a8f8jlxzUAxrMCp3Z2l/lNh0MACOmEVoZu+MvZvxGg9KWkRxaiYYWY6MF2 emjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701713619; x=1702318419; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cv5W8UxLCR/5ceJa4BXZdc/7xUY5p3Shixmo6OvaNl8=; b=Vt46soV7AiO8EFr5YheCXM4MI1sJtSBK30vGwPItqVR7C6oURC1wGrNWL9K40mRAOh ALNv+LibA8VVkhEjCJ8cfYsF0wa3H57XCpXon5dbRoxUU8KSyhg6QrA3FhSJlaThvbtC EneVhuSJ6p/2wzEwCxqv2RhAO6ZKpGe/p8EFfWvYHLVLfbauGu5UUrxMc/gT+6duXyKy XI4l5c/ig2sS68UWQBF3H+pLC2njirK50ku7lQcY0RT+VucGA9caP0JIT38qH7mITumP 4mkmkykdJvulilTMD0UpfmhzP3wQhvYVE/7RHRgaISytScpMQD9/xnxoz1wS+4HGeWmR Pz8g== X-Gm-Message-State: AOJu0YxfrorewW+WXm3cT8nCwRQLAPjv6uvsUh0zHJUpeloPBQi0ermE j7wUBOuYLD82+wNIFBeyow2PXtAN5jGdqgkGbXM= X-Received: by 2002:ad4:4384:0:b0:67a:d891:fd75 with SMTP id s4-20020ad44384000000b0067ad891fd75mr567320qvr.129.1701713618841; Mon, 04 Dec 2023 10:13:38 -0800 (PST) MIME-Version: 1.0 References: <20231204180603.470421-1-gnstark@salutedevices.com> <20231204180603.470421-3-gnstark@salutedevices.com> In-Reply-To: <20231204180603.470421-3-gnstark@salutedevices.com> From: Andy Shevchenko Date: Mon, 4 Dec 2023 20:13:03 +0200 Message-ID: Subject: Re: [PATCH v2 02/10] leds: aw2013: unlock mutex before destroying it To: George Stark Cc: pavel@ucw.cz, lee@kernel.org, vadimp@nvidia.com, mpe@ellerman.id.au, npiggin@gmail.com, christophe.leroy@csgroup.eu, hdegoede@redhat.com, mazziesaccount@gmail.com, jic23@kernel.org, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kernel@salutedevices.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 04 Dec 2023 10:13:49 -0800 (PST) On Mon, Dec 4, 2023 at 8:07=E2=80=AFPM George Stark wrote: > > In the probe() callback in case of error mutex is destroyed being locked > which is not allowed so unlock the mute before destroying. Sounds to me like this is a real fix, hence the Fixes tag and being first in the series. You free to add Reviewed-by: Andy Shevchenko --=20 With Best Regards, Andy Shevchenko