From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 618E8C47420 for ; Wed, 30 Sep 2020 18:50:24 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CD23820BED for ; Wed, 30 Sep 2020 18:50:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=vt-edu.20150623.gappssmtp.com header.i=@vt-edu.20150623.gappssmtp.com header.b="QkjUh4+s" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CD23820BED Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94) (envelope-from ) id 1kNhAn-00033B-9T; Wed, 30 Sep 2020 14:49:53 -0400 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1kNhAh-000333-9i for kernelnewbies@kernelnewbies.org; Wed, 30 Sep 2020 14:49:47 -0400 Received: by mail-qk1-x744.google.com with SMTP id w16so2540376qkj.7 for ; Wed, 30 Sep 2020 11:49:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vt-edu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:in-reply-to:references:mime-version :content-transfer-encoding:date:message-id; bh=IvMuSUue2g0ojhKGRvr6dipXUUYLD0RQdJC+LdNOk20=; b=QkjUh4+sl5heczgjz2oDf6anaZp8edSNVqJcej5hbN/mgzOcio4qeQC3FPsaT2UDoN u3IQlyfkamYPEK5fBpmF2oOos4eVYozE6nViZZrlQP7QE5cAkQhQHPQoYJHk7o7A3G9L sGsiHdBQnl/et+jLEUdbcfVc8PAZo0BEguFPSra9Xm3AJiyVWlsXzCtj6OI3EhIW8bQA XdZnPTVkQ5tS/C+xLgxKk69p6H7a08U8inqw6cTyBzOPVaUlUcCY7wsTNMUr06X0Yofs gHOFodUnBkcY4nptHfEyRkWk+kj41rInPwyZqcuMbOu/ZbuTHmcPEsfjqHJf70mfAvip I33w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:content-transfer-encoding:date:message-id; bh=IvMuSUue2g0ojhKGRvr6dipXUUYLD0RQdJC+LdNOk20=; b=iycTvwLBqgOgU7pydDp1RQyATxP03EfRh+177AzSIQ3cynPMgrdjsRe/8UKWUw+W6/ eKLLv7Yaldb2B4MB0uDDe0gGnI823K0dTp9TLKUKZrsGVKaPZdQ8LHuXQNuz8qebJVg0 IiFzonCByf7E45bTv9EpAJY9Kf//vS1+r4HAKmoA7UcaEUph9DODtyJAfYpLOJP/TuQ6 CjiwmPibC021qzy6rm5NoT36zHLTo9SSkNZ2PA7HgtYz2Sqy3m6ZBeBBT+/JPHi2dvxq oJDlGlqdJl6uq2LCKHw4ng5QR2UAU7873NP0LoybOt/0kxQFaORx0OkqGjEultCio5HZ HvPQ== X-Gm-Message-State: AOAM531Ro2PEnY67VNx/iartVy1TSSNeIeruQ8xomg/FtkZVPDVxgNeM fBWH/GB3vu5QMidDcPUfl5qCcg== X-Google-Smtp-Source: ABdhPJwhxyAm75EVusYoy39lnTArshjQA72t4Y3mkVeE3RySJz9qxNf6hFCSnf85cCho/vMf8VQNxw== X-Received: by 2002:a05:620a:4107:: with SMTP id j7mr3750668qko.469.1601491724058; Wed, 30 Sep 2020 11:48:44 -0700 (PDT) Received: from turing-police ([2601:5c0:c000:a8c1::359]) by smtp.gmail.com with ESMTPSA id h65sm3323808qtd.58.2020.09.30.11.48.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2020 11:48:42 -0700 (PDT) From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: Fabien R Subject: Re: timer API change from kernel 4.9 to 5.0 In-Reply-To: References: Mime-Version: 1.0 Date: Wed, 30 Sep 2020 14:48:41 -0400 Message-ID: <76270.1601491721@turing-police> Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============4329427380049806567==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============4329427380049806567== Content-Type: multipart/signed; boundary="==_Exmh_1601491721_12263P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1601491721_12263P Content-Type: text/plain; charset=us-ascii On Wed, 30 Sep 2020 18:34:07 +0200, Fabien R said: > Hello, > In timer.h of 4.9, struct timer_list contains a field data which is unsigned long. > In timer.c, call_timer_fn calls the triggered function with data as parameter. > As of 5.0, the field data disappears from struct timer_list and call_timer_fn > is used with a struct timer_list * as parameter. > Is there some info about this change somewhere ? [/usr/src/linux-next] git log v4.9..v5.0 -- kernel/time/timer.c and reading through finds this: commit 354b46b1a0adda1dd5b7f0bc2a5604cca091be5f Author: Kees Cook Date: Sun Oct 22 19:15:40 2017 -0700 timer: Switch callback prototype to take struct timer_list * argument Since all callbacks have been converted, we can switch the core prototype to "struct timer_list *" now too. (and several other commits from Kees following that) --==_Exmh_1601491721_12263P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBX3TTCQdmEQWDXROgAQIEWg/9GoWL7y9KwFH8jeiYHKKJlS7gYO8HGXil GQHQV3/ixKRr7kFfmsjRw5zkaPKzpqvMdZPHLa7DSndX+IrwtbHYR1Z9VghVweg2 Vt/eRR/CDvQFgKDDToEaCtlrktqz/S8p6tFwvl2lUu48iWIayQkoiPsPJ14kl0Hk TScUFDFK8z159FBdQOnbvWv3MjJKS7ahkPo+jUW+5Hhy6RV5dbQ/zqLHQ4SJvCQI OlFb+Lz8/uSdPPpHFuXqE2W63wbqsgzdLcvwwUkYxXFwNz3/iM/qeljXyV2aZQuJ 52xdaNXszcRGxrcWIlEl0OkRFPpTXmP2BMZ/vE1iSfYHafyAdkjLknzSgLPOhpzC grmHYnXl2fvCdvssLbNMlviAPkZlwWVe063mVIAQHFLsm985SkeXt6kZL2KV+58F MZJxRBYVomN4tfdnWEqCG3Mk7OsYg3XEmX6Q6Ghs0cbsWykRVpuKEiRNQF31lohP vHqn5+4trqfFyuTPDvSDBoY7dP2zLOGxHvquwIJb+up37CtNOBsum/IwtQ6NOo7x tUKVpZkOocGf3Z7gI1frOgNsaRAjEQ8x2zJGoKPat9qpnx3HoQiNFX3yjz/g3ryR aRFDj97VA+peT8QG8WS8YPBZUL8/kh5wRMTUXetQObAJ1Hsp0sWISeKyTz0P47NH lMA+7bv3tsE= =Esju -----END PGP SIGNATURE----- --==_Exmh_1601491721_12263P-- --===============4329427380049806567== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============4329427380049806567==--