Message ID | ce25e742-be89-b445-9322-ef6c514dba4f@sandisk.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Mike Snitzer |
Headers | show
Return-Path: <dm-devel-bounces@redhat.com> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 83E5B60238 for <patchwork-dm-devel@patchwork.kernel.org>; Fri, 18 Nov 2016 22:29:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 733CC29381 for <patchwork-dm-devel@patchwork.kernel.org>; Fri, 18 Nov 2016 22:29:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6832D293C4; Fri, 18 Nov 2016 22:29:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx6-phx2.redhat.com (mx6-phx2.redhat.com [209.132.183.39]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CAF7329381 for <patchwork-dm-devel@patchwork.kernel.org>; Fri, 18 Nov 2016 22:29:21 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx6-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uAIMS9Ea042315; Fri, 18 Nov 2016 17:28:09 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id uAIMS74c028240 for <dm-devel@listman.util.phx.redhat.com>; Fri, 18 Nov 2016 17:28:07 -0500 Received: from mx1.redhat.com (ext-mx02.extmail.prod.ext.phx2.redhat.com [10.5.110.26]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uAIMS7tY019897 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 18 Nov 2016 17:28:07 -0500 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0087.outbound.protection.outlook.com [104.47.34.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 69960A7547; Fri, 18 Nov 2016 22:28:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=aBtyBzJszoHf63XtttAune+P6lFK88HM2ikOe1eG/AA=; b=DTCF1fYOP1jAC0byJHGCHQ33r0y9NXSPBhDnCQqyqlg6sTboqS0l32cNgnagQ3y8mWYYOOeW2ccZoA0k7aGapYcYSBj6ODnPAHq//hyFympod7yaJsrYAfrAnVjfEa+w3QArOAGy1t2Qkzo1ir9oEPUmnHr7syMbKpnBh5Ezze8= Received: from BLUPR0201CA0010.namprd02.prod.outlook.com (10.163.116.20) by BN6PR02MB2817.namprd02.prod.outlook.com (10.175.96.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10; Fri, 18 Nov 2016 22:28:01 +0000 Received: from BY2FFO11FD040.protection.gbl (2a01:111:f400:7c0c::145) by BLUPR0201CA0010.outlook.office365.com (2a01:111:e400:52e7::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.734.8 via Frontend Transport; Fri, 18 Nov 2016 22:28:01 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by BY2FFO11FD040.mail.protection.outlook.com (10.1.14.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.734.4 via Frontend Transport; Fri, 18 Nov 2016 22:28:01 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:2891; Count:19 Received: from MILHUBIP04.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id F2.68.02899.46E7F285; Fri, 18 Nov 2016 14:19:16 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Fri, 18 Nov 2016 14:28:00 -0800 X-AuditID: 0ac94369-607ff70000000b53-2c-582f7e64b564 Received: from exp-402881.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 0A.21.02804.0708F285; Fri, 18 Nov 2016 14:28:00 -0800 (PST) To: Mike Snitzer <snitzer@redhat.com> References: <32edbd52-5b1a-b093-0195-2ec6fa73cd6f@sandisk.com> From: Bart Van Assche <bart.vanassche@sandisk.com> Message-ID: <ce25e742-be89-b445-9322-ef6c514dba4f@sandisk.com> Date: Fri, 18 Nov 2016 14:28:00 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <32edbd52-5b1a-b093-0195-2ec6fa73cd6f@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLLMWRmVeSWpSXmKPExsXCddJ5kW5KnX6EQe8aOYu972azWuxZNInJ om3jV0YHZo/3+66yeWw+XR3AFMVlk5Kak1mWWqRvl8CV8brrOlPBbfaKVd8vsTQw7mTrYuTk kBAwkdh/5w1zFyMXh5DAUiaJni//WCCcHYwS8z4/YIaperv4IVRiMaPEpCt7mUASwgKeEjd3 HQKyOThEBFQlbk1zAQkLCdhJvFp1A6yEWSBU4vrHn+wgNpuAkcS39zNZQGxeoJq951tZQWwW oNYnq8+CxUUFIiQ2fZ0DVSMocXLmEzCbU8BeonfnVTaQVcwCmhLrd+lDjJeX2P52DtgDEgKT WCUm3njICHGDusTJJfOZJjAKz0IyahZC+ywk7QsYmVcxiuVm5hTnpqcWGJrqFSfmpWQWZ+sl 5+duYoQEeuYOxrtPvA8xCnAwKvHwSojqRwixJpYVV+YeYpTgYFYS4V1dCxTiTUmsrEotyo8v Ks1JLT7EKM3BoiTO63bvS5iQQHpiSWp2ampBahFMlomDU6qBsfmT+In9B38K7GixvfU6J7vl x74vv5wVzh14qvYwqbD7zqP94tls3QI3m3KPzrCJTGXqu8Oyb/Idp0mBRzUNIhO+Xf7v6CLx ZduPKxuCeH2/LJV7vOFG1iZfw0O7dq/qbb2ztMPg68XNRRNFFcSCZvoV2vDOU0kLlOuWnqUT 2XOr7cH/9xOy7imxFGckGmoxFxUnAgAo5YLHcAIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrCJMWRmVeSWpSXmKPExsXCtZGTTbegQT/CYOlhWYu972azWuxZNInJ om3jV0YHZo/3+66yeWw+XR3AFMVlk5Kak1mWWqRvl8CV8brrOlPBbfaKVd8vsTQw7mTrYuTk kBAwkXi7+CFLFyMXh5DAQkaJxtb7YAlhAU+Jm7sOMXUxcnCICKhK3JrmAhIWErCTeLXqBhOI zSwQKvFj9mxmEJtNwEji2/uZLCA2L1DN3vOtrCA2C1Drk9VnweKiAhESm77OgaoRlDg58wmY zSlgL9G78yobxEx1iT/zLjFD2PIS29/OYZ7AyDcLScssJGWzkJQtYGRexSiWm5lTnJueWWBo qFecmJeSWZytl5yfu4kREm6ROxifTjQ/xMjEwSnVwKi+o75fPVb8Tb+UkPjliys1g99uEhdI vXO+JGufbMq+7zfOG5fKN3/clvd+RlrG8x1PC7L19iufOnmroEToyqodB2f+eeiSYXQgcsVq dQOL/R9z90VYPUp5uuvkNK6y5xNnHPi0iZPHr5v7r3H1Lb51RyskWr1W3vlw/NmKHVPM2jxt /0xhkX2lxFKckWioxVxUnAgAEx/USucBAAA= X-IncomingHeaderCount: 19 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(626004)(77096005)(7846002)(5660300001)(86362001)(92566002)(4326007)(305945005)(65826007)(31696002)(2906002)(230700001)(106466001)(64126003)(31686004)(36756003)(53416004)(50466002)(33646002)(2270400002)(8936002)(356003)(23676002)(4001350100001)(97736004)(110136003)(6916009)(2950100002)(87936001)(69596002)(47776003)(68736007)(65806001)(65956001)(83506001)(8676002)(38730400001)(54356999)(76176999)(50986999)(81166006)(189998001)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR02MB2817; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD040; 1:3JM+vThuQwKzDM8BZd8Pz/3ObbJFLGkT/c1DSsdR3xZ1FnXqCCA97j6Gtdyn4vnFQWT5Iv2hMfbmNraOs1lqQINM0+XqauVwq17uwe4uVWC1Rth0+NuLRJjUVOQvokFwnHMvaHfIpQhSoVciHv8nQteuIKsgbo2EgOR2i5zSJw7qyBsn3FAcfC3tukS4jTtOXgBn6z3O2WdrMe4Gcog8eGi/+Zf+8gLhVPuyHoEVLRrevOZgG/PlI+GE65tAM8iO0UpMV4WAG1FsE7IcAFE+Agp5ZdQ8WTXJp463zWcr4indGmgMMg6U24tlHGVPa5cWuW1iq5wvaqOLarurOe1EtCQIxeB/vGWcNdiurDPLLjPGDXFAnSF9kAnet9RpPrc/9IYN3UEULJGzzkSXkRd8aK8FNgW/GD9f7LT2Nxj/KX3rMDJVY4YG2hYG3AmMMlGDkzQh8t/7LLrS0p9XsXv/CLvywVOnVYxVm5q6HaI/Trox4q3uw108W2rifFNqZ/li X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2817; 2:4WyhWt+M9KadStnDI74AFk560b5/Y4fkSIvek934MP56wd+Md8+MONUcK4xjyVD14aGMYrylFPvMV62cA/SKeNh5S0bqTRu6Do8fdsLoajM/k91fZ5HR75xgCVO2C4/hAbgEpodmELjXIBpvTOUWecad1Sk7RrPtHo6X1bxajmM=; 3:HAK2nlyq7KiseicWXTUM41G8MQlmtm+aRnLDlRQ7NsgWk4ohM4CZqrArDlCmvondZpW3dK2GlzOIoTbNEtIUnISf8LFS7WJC2lpAVo761Lh2LZMk31wklYcighmJnxURcKGpi82TURnnk+EtJ+8N/bAa4Ksflr1M3wZX0FDOBcT7d94SmxmK5sKYQzmqoTUtcINqEbQx/Ne2XCi61cDFv99iUurBkGL5phBoL2RPmV9W7Q+qzdetl/XXh+S3+8I/VFry9wYJlMkLSdbq32x21BsrsrcZFVG+cMlUL70B1bQ= X-MS-Office365-Filtering-Correlation-Id: dac6a811-0ed6-4241-42b2-08d4100227fa X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BN6PR02MB2817; X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2817; 25:RE28RcQPXhv8fd1FBGJJj5iJSpKM3b+wp0xqCBE0h1LZaHLaSbLhD51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8ECwo4Z3DZgKhs8wW8H7Z7AINugfqJY/frY7W/quVbt0zQRuQKG+Q==; 20:nOt3ggpjOKo/VhnL9881LchRIOHCIJM3rCPPb08TcBcVqXc0ownuDSc2P9MWyQrozr6TY5v8sjvQKw6V99dhTyvgwzhkuC6AIWUmMdSmjqeiRD+vhpM1Z6BUPZzX4Bttwtp5lEL6c/FYVTBXd4iHNp8YHRqShPvkysFec53lSnLyJ1vH6Ipe+KnWEaiFcyLP4DaGjNljRB+Uw6QQd8zey8hO/9dc+HmCep4P0wg4GfjPxliTyfOefLKQxKFjuBCtoiMwyfHXnlCdtFXft1L9KbD8tYfSnCDmdfxfUSS6kr3fW83EFPgz8bGbV1bRGBFOozwmo7Uzz8T5Pyj+L86CPosZHZc4Q3Qv+lewvGHx6i8B8JjACyrckaPxZj8HFcl6gDwkWFuN6xoHbjpTGOAlecN4ljKJacbK8pow41fYDPiA5tZuiHfAJT4JfGBN2EOvMfJlTI2epQxiOCOrHy1vK3xrKjB1uiCwBAL+BXgsEnWJMVGWqmiiMBp0nftvQMTF X-Microsoft-Antispam-PRVS: <BN6PR02MB2817017D20EE688F02F76A3E81B00@BN6PR02MB2817.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6060326)(6040281)(601004)(2401047)(5005006)(8121501046)(13018025)(13016025)(10201501046)(3002001)(6055026)(6061324)(6041223); SRVR:BN6PR02MB2817; BCL:0; PCL:0; RULEID:; SRVR:BN6PR02MB2817; X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2817; 4:7LweO+movCyNTRo7Hg5pvk+wQIxv/I0Qq9ONv0w0arg9YcQIAyLi3Al2BGYOS5HCcUwKFuT/Mb+br95R6mgpGXZIIQ5u20+4lxZRu6QH/nMBuQcaJ3GkPJKBSdDEehoBYOsWon9KwzVb15jN8zZ+FsU/EDA/xsTgH0jdXGHlGj98iLZ3/3Ls2qa8R4M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pd09yNFlNcm5kWk1QKzZDUHhL?= =?utf-8?B?MDJWdld0QmJsUWJKYy9TRHd1WllwazdidHk1dmczYzQ2ajFrTG9CeGIrTERI?= =?utf-8?B?dHJxUFN3RUhueDNiUE1KVU5ZcWthSmRvcmJqZm5VVjIyVkhSWmZUQlU2ZjJ1?= =?utf-8?Q?kIu9fZcjzrvP+ViEBV4EQ7WENDfiWtxtT1qH7huOiycs=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2817; 6:5Rmaln3siJYGgvZ0uo1kWZijZw6SdIcHAwTk2t/06IfaTpO6hFHWG8FsqVaLUv2V5hDSS2XZGqaSqQR8qxuc7LpFzSE1YdU13Hs1Rv72jNZPSglOCdQ4TL8lp428lLOqCBT8BZGMCYjR9oM7XVESYE+9cFir80EUcioOguKKBntnZ4HkdzZ6JyCr6+bg09Utfo3zrcZSWmbhpcqJSyd5n9vwSsJIzwe2/rsv9HJ3SkjkjCGIiQ2/qqMl6nv2+gAcrRu74rgI1wbazHFYtvuSUp7k/gOn/K1l8XuIbA6pFrkV3B1vV03VjVjq+ALNVNTL+wpdT+lDriXI3TE2A8gkUeaG2F9JmZX6PTomo8iOZozd/BM2PYKxsvfu+yRyW8oI; 5:Icajsv7edefOxiXws6hL2PaQaX1EKXYFr8gGK2M+jKlyInYkWvK4wlp+Pm4v7G5v75Mm1OFRxzCUTjKt0l+5esbq8YFDonQTYniulSgRMDjTuiTpM92zP+CvIs76M8f/p3X/BxOcBp58cs8nr7gDXqgVfR4xu7REzFmIK3MyJjw=; 24:+94iLy0nwSiy8B+C+ufDEr4MnVP9LM7G/Gvh1Bu7JDKjOQB1attC+eiNOThmE0795Hw3IVJRjGuTt4WIks+P8W3unByhbLjwrzIsU4CKhJY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2817; 7:E7TVW5J3QKmTeG+yCyZoQsY+w743/DoXGKIXTJyof0gwHs722Ch+y2xkp6WMFIjzRv459uSbseSPmqU0QBJVdLSOxh1RpXZCKnJaoSFuvHLXwEISR9sSKFd5K7FB+sVeChgYkc9F12LO/ueFPbqqC009gXdtsW7mjpX3eTxufzIDWw2pEWOdIY92HtpOKYZPiRE9MYO2Ad0YEoSoFzwmW/F8oB3X70+NOxOcqpE1rdMuEJNguLSFuNZVubAzIXaOMqRzWga1VMPmwCibpit3p1oZidHCyL+m02YS8cNeGBTT8l9mv0d5O61deFCvWJR1SXOKcj+yGGsB92bj/dXgViI0hIM2uIkoOFoxgKtj/3o=; 20:sgfltdfFezb7QHhg7Qx+viWNr27UO26NHr+11ucyM9fRmRz0WeFShb7sRKU1opXC/fHSGBnFUMDNe9omUhkj/Oq4XspZAwVY3vG1HKcz8xIv25LW2t1GxbhIZdNoCUkwNeIGhiD8ypHVraQjzhNQxw7U3q0YiGgYrfKCqf/kOxpHLSrygm8pMhybpbrR3JwqBpJ8f7v4e5l/Q5+/O0fylPEQl+TiSfDUqk5fp+jvnlvZSy8RBYE0HFqIuDTFaRpr X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2016 22:28:01.2306 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR02MB2817 X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 198 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Fri, 18 Nov 2016 22:28:05 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Fri, 18 Nov 2016 22:28:05 +0000 (UTC) for IP:'104.47.34.87' DOMAIN:'mail-by2nam01on0087.outbound.protection.outlook.com' HELO:'NAM01-BY2-obe.outbound.protection.outlook.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-Spam-Score: 0.668 (BAYES_50, DCC_REPUT_13_19, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS) 104.47.34.87 mail-by2nam01on0087.outbound.protection.outlook.com 104.47.34.87 mail-by2nam01on0087.outbound.protection.outlook.com <Bart.VanAssche@sandisk.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.26 X-loop: dm-devel@redhat.com Cc: device-mapper development <dm-devel@redhat.com> Subject: [dm-devel] [PATCH 06/14] dm-ioctl: Use offsetof() instead of open-coding it X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development <dm-devel.redhat.com> List-Unsubscribe: <https://www.redhat.com/mailman/options/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=unsubscribe> List-Archive: <https://www.redhat.com/archives/dm-devel> List-Post: <mailto:dm-devel@redhat.com> List-Help: <mailto:dm-devel-request@redhat.com?subject=help> List-Subscribe: <https://www.redhat.com/mailman/listinfo/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c index 966eb4b..c72a770 100644 --- a/drivers/md/dm-ioctl.c +++ b/drivers/md/dm-ioctl.c @@ -1697,7 +1697,7 @@ static int copy_params(struct dm_ioctl __user *user, struct dm_ioctl *param_kern { struct dm_ioctl *dmi; int secure_data; - const size_t minimum_data_size = sizeof(*param_kernel) - sizeof(param_kernel->data); + const size_t minimum_data_size = offsetof(struct dm_ioctl, data); if (copy_from_user(param_kernel, user, minimum_data_size)) return -EFAULT;
Subtracting sizes is a fragile approach because the result is only correct if the compiler has not added any padding at the end of the structure. Hence use offsetof() instead of size subtraction. An additional advantage of offsetof() is that it makes the intent more clear. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> --- drivers/md/dm-ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)